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 |
#482
|
|||
|
|||
I figured out a way to fix it. I do a string replace for the original src= and replace it with my root relative image src.
I replaced your line Code:
echo $vbridge[vb_parser]->do_parse($reply->pagetext, false, true); Code:
echo str_replace("src=\"", "src=\"/forum/", $vbridge[vb_parser]->do_parse($reply->pagetext, false, true)); |
#483
|
||||
|
||||
Quote:
All instances of this: chdir($_SERVER['DOCUMENT_ROOT'] . get_option('vbb_VBRPATH')); were changed to this: chdir('/home/monksdin/public_html/entertainmentforum'); and $vwd = getcwd(); was changed to $vwd = getcwd('/home/monksdin/public_html/entertainmentforum'); With that being said, in the Write Post Screen, I get the above errors. I can make a post, and that post gets to the forum... but then when I view my blog, I get this too: Warning: Wrong parameter count for getcwd() in /home/monksdin/public_html/entertainmentblog/wp-content/plugins/vbbridge.php on line 43 Unable to add cookies, header already sent. File: /home/monksdin/public_html/entertainmentblog/wp-content/plugins/vbbridge.php Line: 43 My forum is http://www.monksdiner.com/entertainmentforum and my blog is http://www.monksdiner.com/entertainmentblog Any help would be appreciated. Thank you. |
#484
|
|||
|
|||
Sorry, must have been blurry-eyed and caffeinated when I said:
Code:
$vwd = getcwd('/some/path/to/vb'); Code:
$vwd = '/home/monksdin/public_html/entertainmentforum'; |
#485
|
||||
|
||||
Trying it now. Thanks. Will let you now how it works.
|
#486
|
||||
|
||||
Ok, well here is my problem now. I'm not sure that fixed it, but I think it did.
However, I have a usergroup called blog staff. I am in that usergroup. That usergroup, I gave Author access too, and now I can't get back into the wp-admin. I deleted vbbridge.php from the plugin directory, and that fixes is... so here is what I need to know... If I upload vbbridge again, and reactivate it, I automatically become a Author, therefore not being able to change the associations... How can I get around this? Did it alter the database? I did notice all my setting for vbbridge are still correct when I re-activate it, so it must have stored that info somewhere. Thanks |
#487
|
||||
|
||||
Figured it out. Thanks.
|
#488
|
||||
|
||||
Ok, I got everything working great. Now, the only problem I am having is the mapping of usergroups, and how this handles members that have a primamry usergroup, and a secondary.
I have Admins, Mods, and registered members... I also have a usergroup called blog staff. Blog Staff is a secondary usergroup to those Admins, Mods, and Registered Members. I have blog staff mapped to be Authors of posts, however they cannot access Write Features. Any idea how to handle this? I don't want some of the blog staff to have full access, just be able to post, and I also don't want to upgrade registered members to mod or admin status either. Thanks. |
#489
|
|||
|
|||
Mapping only works with PRIMARY usergroups, not secondary..
|
#490
|
||||
|
||||
Heya Jafo!
Awesome mod man, great job! I have everything working but I do have a small formatting problem. In the image I posted below you'll see that the text of the comments are very small. I'm sure it's a CSS thing but I can't seem to locate where the comments class is located. The image is probably blurry but you can see that the text is extremely little. * Also, Do you know how to get other parts of WP to recognize the new commenting system? Like the stats widget and latest comments etc. I also have a request. * Would it be possible for a future version to have the ability to post in vB and have the article posted to WP as well? The editing functions in vB are so much better than WP is. Thanks for your help and a great mod! |
#491
|
||||
|
||||
wow going through the thread and looking for my problem can find anything...
Ok my problem is when i activate the Integrate On i don't see whats posted in wordpress but whe i deactivate i can see the posting...any way of fixing that or do i need that on.. this is the actual meassage i get when i activate plugin Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|