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:
DOES NOT and WILL NEVER support Wordpress MU.
Wordpress and Vbulletin scripts must reside on the same physical server.
Wordpress and Vbulletin must use the same domain name.
Stable Wordpress Version greater than or equal to 2.7.
DOES work for Vbulletin 3.7.
Does work for vBulletin 3.8.
Limitations:
Does not work for 4.x. Why? Because VB 4.x does not work for me. If they ever make that product worth a shit, I might support it.
Please don't ask if it works for any BETA versions of Vbulletin. I do not know and will not convert this to the latest version of VB (whatever it is at the time you are reading this) until the version is released as non-beta.
Does not work with XMLRPC.
Chances are, this will not work when VB and Wordpress are located in different sub domains. I.E. forum.yoursite.com - blog.yoursite.com. Cookie issue.
I did the best I could in determining your forums file path with the script. There may be certain script setups that cannot find the file path properly, in which case you may get errors that the script cannot find or open /config.php. If this is the case, please HARDCODE your ABSOLUTE path to the forum in vbridge.php.
To do this find:
Code:
## If you are having path problems, uncomment this next variable and define the path
## NO TRAILING SLASH!
# $vwd = '/some/path/to/your/forum';
And uncomment the last line, and change the path to your forums path:
Code:
## If you are having path problems, uncomment this next variable and define the path
## NO TRAILING SLASH!
$vwd = '/some/path/to/your/forum';
Common Mistakes When Installing:
Using two different host names causes problems. If your forum URL contains www.yourdomain.com, then your wordpress blog URL MUST contain the www. part of www.yourdomain.com also. This goes for any other host name. Browsers are finnecky when it comes to cookies (as they should be).
Editors generally EDIT, not write. In Wordpress, editors don't show up in the post author drop down. This has nothing to do with this plugin, that is Wordpress code.
Make sure you DO NOT create a subdirectory for this plugin in the wp-content/plugins directory. Just upload it directly there..
If you do not map users before you turn auto-integrate on, the plugin has no idea whether your allowed into the dashboard.
If you all of a sudden can't login to the dashboard, see the above two common mistakes.
FOLLOW the directions and make a test post first. Being in a rush and not testing will most likely turn out bad for you.
UPDATES:
Changelog is included in download, here is the most recent changes:
3/09/2009
Added code to process scheduled posts
Addressed code where links and images would not show up properly in VB
Added new table called vb_forumid for scheduled posts
Reduced redundant calls when dealing with forum excerpts
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.
Hi, will this work the OTHER way around? Say a user registers via Wordpress, then goes to click on vbulletin forum. Will they be transported over via the database? Will they already be logged in? How can I get this plugin to work this way too? I have a wordpress membership site that users must register and signup via. I don't want them to have to sign up again via vbulletin and have duplicate entries. I also don't want to send them to vbulletin to sign up then have them resent back to Wordpress. How can I get this to work from signup on Wordpress and pushed into vbulletin? Many thanks for you help!!! I sincerely appreciate it. Warm Regards, Robert
It would be wise to disable registration in WP and just make the links to registration go to your VB registration.. The bridge does not share registrations in that way. Basically it is ONLY using the VB user tables and ignoring WP. If you deactivate the plugin, it goes back to using Wordpress (and the users that were there before you installed the plugin).
Thanks for the update I can't seem to figure out what variable to use to get vBulletin login information. The old readme.txt said $vbuser, but that's not right anymore. How can I check if a user is logged in, and if so get their info?
Depends, usually if you just globalize the $vbulletin object, then you can use it like always:
Code:
global $vbulletin;
echo "Hi there " . $vbulletin->userinfo['username'];
Is there any chances of additional plugins for wordpress? user login, latest posts, who's online etc..
~Joey
P.s how would I go about getting vb inside my wordpress theme?
Thanks!
You can use the WP login already.
As for the rest, I will probably be doing that at some point soon, as I have a site that will need it.
As for getting VB into your WP theme, well, that is like asking where can I put nails in my house. Depends on where in your house and for what purpose. :P
Once the plugin is activated (auto-integrate), the $vbulletin object should be available to you just about everywhere. Just global $vbulletin; and you have it.
- make a post in wordpress with a few images
- it shows up in the forum with the images shown
- edit the wordpress post
- images in forum do not show up anymore
Depends, usually if you just globalize the $vbulletin object, then you can use it like always:
Code:
global $vbulletin;
echo "Hi there " . $vbulletin->userinfo['username'];
Thanks. What about if I want to use $vbulletin variables on a different directory that's in neither my Wordpress or vBulletin directories. Any way to make $vbulletin global there?
Thanks. What about if I want to use $vbulletin variables on a different directory that's in neither my Wordpress or vBulletin directories. Any way to make $vbulletin global there?
- make a post in wordpress with a few images
- it shows up in the forum with the images shown
- edit the wordpress post
- images in forum do not show up anymore
any fix?
Yes, I see it now.. I added version 4.01 that should address this issue. Just upload the new vbbridge.php file.
Quote:
Originally Posted by adairen
Also, are those the most updated instructions to use 'vb for comments'? I can't seem to find the comments.php file.
I based this off of the default template because, well, there are about a million templates. Some template authors do not use a separate comments.php file. You may have to piece it together into your template. See wp-content/themes/default/comment.php for an example.