The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Complete Wordpress/Vbulletin Bridge - Share Users And Postings Details »» | |||||||||||||||||||||||||||
Complete Wordpress/Vbulletin Bridge - Share Users And Postings
Developer Last Online: Oct 2022
DOES NOT WORK FOR Vbulletin 4.x This version probably no longer works for Wordpress 3.x. I have started developing this product over and have released the NEW version here: http://www.lampwrights.com/showthread.php?t=41 This mod bridges your Vbulletin users over to Wordpress. You can also use Vbulletin as your comment engine instead of the spammy one built into Wordpress. You can display the comments inline in your post. You need not use the comment feature, if your only interested in sharing users. You can map your Vbulletin Usergroups to Wordpress Usergroups and those users will then be recognized as registered Wordpress users. For example, user "Joe" registers at your forum and logs in. Joe then clicks on your Wordpress page. Joe is instantly added to the Wordpress user base with the permissions you set for his usergroup. In otherwords, if a user comes over belonging to the "Registered User" group, you can select that he is placed in the Wordpress "Subscriber" usergroup. If you change a users group from vbulletin, it will automatically change in Wordpress. Requirements:
01/03/2007 - Fixed the unlock_tables() issue on some setups. 01/03/2007 - Fixed a bug in the script that if you used a MySQL database prefix, integration would not work. Please see this post for more information! Special thanks to axisoverdrive for giving me access to his server and letting me troubleshoot the issue! 01/05/2007 - Fixed issue where if a user saved (not published) and published later, the post would not be added to the forum. 01/05/2007 - When a post is edited, it will also be edited in the forum. 01/08/2007 - Modified slightly so when posts are edited, so are the titles (if edited). 02/07/2007 - Major modifications to new version (now 2.05). The list follows:
Special Thanks: axisoverdrive - Debugging Help, Kyraal - Paypal Donation, Kalina - Paypal Donation, Wildcard27 - Paypal Donation, Shri - Paypal Donation, pspcrazy - Paypal Donation, Tomahoochi - Paypal Donation. If you use this plug-in, and find it useful, please support us by nominating us for Mod Of The Month (MOTM) in the top right corner of this thread, or feel free to donate. Show Your Support
|
Comments |
#1052
|
|||
|
|||
i agree we should be patient, this mod is a great one! ... one question though ... if i upgraded to 3.7 would that break this mod substantially? Anyone knows?
|
#1053
|
|||
|
|||
redraider: you could always do a FULL backup including your files and databases and THEN install 3.7. If anything breaks, take vbulletin down and revert to your backup.
I'm guessing that it WILL break stuff because 3.7 has so many more social features that relate directly to the users. And... this information is obviously being stored in the USER table which this mod correlates with the WP table. Just my guess... |
#1054
|
|||
|
|||
Quote:
|
#1055
|
|||
|
|||
Hi Jafo,
Could you help us solve this problem. The problem started after we upgraded to WP2.5 and latest vbridge.: On further investigation I see this, the permalink system on my blog is like this: /%year%/%postname%/ %year% gets converted to 2008.... somehow the plugin is not converting the %postname% variable to the correct postname when the thread is posted to the forums. The "Read More" Link has this URL 2008/%postname% instead of 2008/name-of-the-post ... in other words %postname% doesnt get changed to the correct URL |
#1056
|
|||
|
|||
I've tried everything, and I'm missing something simple I'm sure. I've reinstalled vbulletin (3.6.9) and wordpress (2.5) countless times and still can't get to the admin panel in wordpress after I turn on the integration.
What am I missing? At first I had the same admin user in WP and VB, so I just tried a fresh install of both with separate admin usernames. That didn't work. I've tried creating a new admin user for wordpress before I turn on the integration, that doesn't work. I'm mapping administrative users in vb to administrative users in wp, but that doesn't work. I tried not mapping administrative users, that doesn't work. Essentially no matter what I do, I end up with the "do not have sufficient permissions to access this page" error when I try to login to the wp dashboard What's the proper way to integrate wp and vb and still preserve login functionality for wp admin? Please someone help me, I'm desperate and have been beating myself up with this for hours!!! FYI, I've searched the forum and found references to this issue with the WP/VB bridge, but nothing actually gives me a solution. Please help! Thanks, Dustin |
#1057
|
|||
|
|||
So, I'm still totally confused, and wondering if my version of wordpress (just downloaded yesterday) isn't supported yet by this mod? I decided to trace through the mysql changes vbbridge is making to see what was going on, and found that my administrator users were getting the wrong meta_value in the wp_usermeta table (I'm using wp_ as my wordpress table prefix).
As a workaround, I hacked vbbridge.php in the plugins directory, editting line 492 of the most recent version of vbbridge. I commented out line 492, and replaced it with this: $usermeta_value = preg_replace('/a:1:\{s:23:"administrator\|user role";i:1;\}/', 'a:1:{s:13:"administrator";b:1;}', serialize(array(strtolower(get_option('vbb_vbugrou p_' . $vbulletin->userinfo[usergroupid])) => 1))); $sql = "UPDATE " . $GLOBALS['table_prefix'] . "usermeta set meta_value = '". $usermeta_value ."' where user_id = '". $results->ID ."' and meta_key = 'wp_capabilities'"; In short, the problem I had was that vbbridge wanted to assign this value to the wp_capabilities column in my wp_usermeta table: a:1:{s:23:"administrator|user role";i:1;} However, wordpress had been assigning the following value to wp_capabilities in the wp_usermeta table: a:1:{s:13:"administrator";b:1;} I'm not sure I understand that whole string. Originally I just tried changing "administrator|user role" to "administrator" but apparently I have to change the s:23 to s:13 too for it to work. Right now things appear to be working for me (knock on wood), but I'd like to know if this is normal for me to have to make these changes, and if anyone else has experienced this. I'm guessing if this is an adequate solution, I'll probably need to do the same thing with other user roles as well. Thanks, Dustin |
#1058
|
|||
|
|||
I'm having the same issue as dustin999. None of the wp_capabilites are being transferred correctly for ANY tpye of user. I'm running WP 2.5.1 now, but it was doing the same thing in 2.5.
|
#1059
|
|||
|
|||
Yeah, I'm confused. In the mod information/requirements, it says it requires wordpress 2.5 or greater to work. But from everything I've seen, it's not compatible with wp 2.5 at all, at least not without the edits I mentioned above. Strange...
|
#1060
|
|||
|
|||
Thanks for the pm dustin, I did what you did as well but a little differently i did it when i last posted so i forgot what i did Basically it was the same thing as you did, without any commenting needed
|
#1061
|
|||
|
|||
I added this to my wordpress vb install and now I cannot log into my wordpress anymore, I just get a message of: You do not have sufficient permissions to access this page.
I tried deleting the plugin and it's still saying it. I think my whole website is borked now.... not a happy camper |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|