內容簡介
WP2SMFBridge 是一個將 WordPress 與 Simple Machine Forum (v2 tested) 建立單向橋樑的簡單外掛程式。這意味著,此外掛程式將使用 SMF 論壇的資料庫,並在每次使用者於 WP 執行登入或登出動作時,將資訊同步到 WP 資料庫中。若要使此功能正常運作,必須僅透過 WP 進行註冊/登入/登出。此外,WP 與 SMF 必須安裝在同一個網域下,且不應透過子網域進行存取(雖然這仍可行)。例如,若您的網站包含 WordPress 新聞網站和 SMF 論壇,並且您的新聞網站為 mydomain.com,那麼您的論壇應該設置在 mydomain.com/forum 下。
此外掛程式將會執行以下任務:
當 WP 使用者登入時,該使用者也會同時在 SMF 中登入。
當 WP 使用者登出時,該使用者也會同時在 SMF 中登出。
當 WP 使用者進行建立/註冊/更改密碼時,這些動作都將同步到 SMF 中!
使用 SMF 建立的使用者,在停用 WP 外掛程式後,仍可以使用。
若要進行完整整合,請與 SMF2WPBridge 外掛程式搭配使用。
https://github.com/xchwarze/SMF2WPBridge
http://custom.simplemachines.org/mods/index.php?mod=4030
注意事項
每當使用者在 SMF 論壇中登入時,相同的使用者名稱(如果不存在將會被建立)也會在 WordPress 中被登入。因為 SMF 位於較高等級,所以 WordPress 中的使用者角色將更改為相同於 SMF 的角色。
例如,在 WordPress 中您有一位名為「admin」的管理員,啟用 WP2SMFBridge 後,名為「admin」的 SMF 使用者也可以登入並擁有該管理員的權限,因此請務必小心!
外掛標籤
開發者團隊
原文外掛簡介
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!
