2013-10-27, 04:24 PM
Hi everybody,
I delveloped this WORDPRESS plugin to login into wordpress using mybb's userbase.
In my test server everything works correctly, but I haven't tested it with different configurations.
The plugin have only been tested with wordpress 3.6.1 and Mybb 1.6.11.
To install the plugin unzip the attached file to your wp-content\plugins folder and activate it in wordpress plugin panel. Than you can configure it from Settings -> MyBB-WP User Integration
PLEASE TEST IT IN A TEST ENVIRONMENT BEFORE USING IN YOUR SITE, I TAKE NO RESPONSABILITY FOR ANY DAMAGE TO YOUR FORUM OR BLOG.
Let me know if it works in your setup.
Alder
I delveloped this WORDPRESS plugin to login into wordpress using mybb's userbase.
In my test server everything works correctly, but I haven't tested it with different configurations.
The plugin have only been tested with wordpress 3.6.1 and Mybb 1.6.11.
For this plugin to work, following assumptions are done:
- Wordpress registration is disabled
- MyBB registration is enabled
- MyBB cookies settings value are:
$settings['cookiedomain'] = "";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "forum_";
- You want that every user in Mybb become a subscriber (you can change his role from wp admin panel) --> change it from admin panel
- You WILL NEVER create an user from wp (there is no error checking for this)
- Wordpress and mybb use the same database
--------------------------------------------------
W A R N I N G
--------------------------------------------------
MASTER USER BASE IS MYBB USERBASE
WHEN YOU LOGIN IN WP USING YOU MYBB COOKIE (i.e. whithout using wp-login.php) A DUMMY PASSWORD IS SET IN YOUR WORDPRESS USER.
THIS IS NOT A PROBLEM UNTIL THE PLUGIN IS INSTALLED, BECAUSE THE PLUGIN USES MYBB USERBASE.
IF YOU UNINSTALL THE PLUGIN THE USER CREATED USING COOKIES WILL NOT BE ABLE TO LOGIN TO WORDPRESS UNTIL THEY RESET THEIR PASSWORD.
ANYWAY THE FIRST TIME AN USER LOGIN USING wp-login.php HIS PASSWORD WILL BE UPDATED WITH A VALID ONE.
--------------------------------
To install the plugin unzip the attached file to your wp-content\plugins folder and activate it in wordpress plugin panel. Than you can configure it from Settings -> MyBB-WP User Integration
PLEASE TEST IT IN A TEST ENVIRONMENT BEFORE USING IN YOUR SITE, I TAKE NO RESPONSABILITY FOR ANY DAMAGE TO YOUR FORUM OR BLOG.
Let me know if it works in your setup.
Alder