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

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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP2SMFBridge”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • First public version

1.1

  • Bug fixes

2.0

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