Customizing SMF > Modifications and Packages
Wordpress 3.0+ User Integration
SlammedDime:
Link to Mod
This is an integration for Wordpress 3.0+ and SMF 2.0 RC5+.
Some basic features:
[*]All user registrations and logins/logouts must go through SMF
[*]Wordpress and SMF can reside in different databases with different database users if you wish
[*]If a user doesn't exist in one of the systems when logging in, they will be created automatically
[*]When a user registers in SMF, they will be registered into WP as well
[*]When a user updates their profile in SMF, it will update in Wordpress (future feature: create a separate profile screen in SMF admin panel that maps to profile in Wordpress)
[*]Map Wordpress Roles to SMF Membergroups and vice versa. If their membergroup changes in SMF, it will change in Wordpress. If a user doesn't exist in SMF, but does in Wordpress, they will get a SMF membergroup that you have associated with their Wordpress Role (and vice versa for users in SMF but not WP).
[*]The only thing you need to enter in the admin panel after installing is the path to your wp-config.php file. The mod even tries to auto-locate this file for you on your file system.
PHP 5.2+ and a MySQL database is required for this mod to work. It will throw an error on installation if you are not on PHP 5.
Please see http://code.mattzuba.com/blogbridger for known issues/bugs/features, as well as more documentation and the most up to date code (for those daring enough to download and compile their own packages from the latest development code). Only releases here on Simple Machines are supported, however I will gladly accept bug reports for non released, "trunk" code.
Do NOT use the bug tracker for support. If you don't know how to properly file a bug, don't use it. I will close out 'bugs' reported that are support questions or that are not posted with reproducible steps, server information (Web server and version, PHP version, Mysql Version, SMF and Wordpress versions, etc).
Eudemon:
hey 1st page reply for a soon be popular mod ;D
so this check and updates both smf and wp db tables right
does it work for separate domains?
does it modifies wp files as well?
i guess it won't work if the sites are in different servers
(unless use remote db, but wutever this has nothing to do with me right now XD)
what about more than one wp and/or smf
i have smf and wp this mod should be useful, thx
will give this a try in the near future
SlammedDime:
--- Quote from: Eudemon on May 19, 2011, 07:35:58 PM ---hey 1st page reply for a soon be popular mod ;D
so this check and updates both smf and wp db tables right
does it work for separate domains?
i guess it won't work for sites in difference servers
what about more than one wp and/or smf
i have smf and wp this mod should be useful, thx
--- End quote ---
Yes, it will update either database if the user doesn't exist in it. No it will not work on different domains because of the rules of cookies. It also won't work on different servers as this mod needs access to the wp-config.php file. It also won't work on more than one wp/smf combo, as the database info is contained in the wp-config.php file for one wp install only.
SlammedDime:
--- Quote from: live627 on May 19, 2011, 07:21:15 PM ---
--- Quote ---PHP 5.2... required
--- End quote ---
You don't
--- End quote ---
eh?
Eudemon:
didn't know u were online, was editing my post
thx for the quick respond tho
--- Quote ---When a user updates their profile in SMF, it will update in Wordpress
--- End quote ---
does this include post counts, avatar etc? (i'm sure password, e-mail stuff are included right)
--- Quote ---It also won't work on more than one wp/smf combo, as the database info is contained in the wp-config.php file for one wp install only.
--- End quote ---
i think it should work if those wp or smf share some tables
for example i have 2 smf sites that are in the same database with separate tables
but they share the same member, membergroup etc tables
can u gimme a list of tables this mod will modify just to make sure it won't have conflict
Navigation
[0] Message Index
[#] Next page
Go to full version