這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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