Title: WP2SMFBridge
Author: x0DSR
Published: <strong>2015 年 1 月 10 日</strong>
Last modified: 2017 年 1 月 31 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/wp2smfbridge.svg)

# WP2SMFBridge

 作者：[x0DSR](https://profiles.wordpress.org/x0dsr/)

[下载](https://downloads.wordpress.org/plugin/wp2smfbridge.zip)

 * [详情](https://cn.wordpress.org/plugins/wp2smfbridge/#description)
 * [评价](https://cn.wordpress.org/plugins/wp2smfbridge/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp2smfbridge/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp2smfbridge/#developers)

 [支持](https://wordpress.org/support/plugin/wp2smfbridge/)

## 描述

WP2SMFBridge is a simple one way bridge from WordPress to Simple Machine Forum (
v2 tested). This means, this one uses databases of SMF Forum and sync to WP database
every time a user performs login or logout action in WP. To get this working only
use WP to register/login/logout. Also, WP and SMF must be installed in same domain,
and should not be being accessed through a subdomain, though it still work. For 
example, if your website contains of WordPress for news and SMF for forum, if your
news is mydomain.com, then your forums should be somewhere like mydomain.com/forum.

This plugin will do these following tasks:

 * If a user log in WP, then that user will be logged in SMF.
 * If a user logout in WP, then that user will be logout in SMF.
 * If a user created/register/change password in WP, those actions happen on SMF!
 * Users that are created in SMF can be used once disabled WP plugin.
 * For a full way integration use with SMF2WPBridge plugin.
    https://github.com/
   xchwarze/SMF2WPBridge http://custom.simplemachines.org/mods/index.php?mod=4030

### Notes

Every time a user logged in SMF forum, same username (will be created if not exist)
will be logged in WordPress. Because SMF is placed in higher order, so user in WordPress
will be changed to SMF with same role.

For example, you have an administrator named “admin” in wordpress, after WP2SMFBridge
fully activated, the SMF user named “admin” can login as that administrator. So 
be careful!

## 安装

You must have SMF installed as a directory within your domain. Your forum and WordPress
installations should not be on different domains or subdomains! Your blog on mydomain.
com and forum on forum.mydomain.com will not work!

For example, if you access your blog from mydomain.com, your wordpress installation
is at mydomain.com/wordpress, then it is possible that you can access your forum
at mydomain.com/forum.

 1. Upload `WP2SMFBridge` to the `/wp-content/plugins/` directory
 2. Uncheck “Enable local storage of cookies” and “Use subdomain independent cookie”
    in SMF. You can turn it off from Admin -> Configuration -> Server Settings -> Cookies
    and Sessions
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Edit plugin with edit link. Enter path to your forum, then Save it. If it is accessible,
    then at this point, WP2SMFBridge is fully activated.

## 常见问题

  How do I active WP2SMFBridge?

Read Installations.

  How do I know path to forum

For example, if you access your blog from mydomain.com, your wordpress installation
is at mydomain.com/wordpress, your forum at mydomain.com/forum. Then URI will be:../
forum

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP2SMFBridge」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ x0DSR ](https://profiles.wordpress.org/x0dsr/)

[帮助将「WP2SMFBridge」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp2smfbridge)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp2smfbridge/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/wp2smfbridge/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp2smfbridge/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp2smfbridge/)。

## 更新日志

#### 1.0

 * First public version

#### 1.1

 * Bug fixes

#### 2.0

 * Rebuilt all code
 * Use wpdb for all querys
 * Add private fixes

## 额外信息

 *  版本 **2.0.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.5 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp2smfbridge/)
 * 标签
 * [bridge](https://cn.wordpress.org/plugins/tags/bridge/)[forums](https://cn.wordpress.org/plugins/tags/forums/)
   [SMF](https://cn.wordpress.org/plugins/tags/smf/)[users](https://cn.wordpress.org/plugins/tags/users/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp2smfbridge/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp2smfbridge/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp2smfbridge/reviews/)

## 贡献者

 *   [ x0DSR ](https://profiles.wordpress.org/x0dsr/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp2smfbridge/)