Register Members List Search Today's Posts Mark Forums Read

Mod Options
Complete Wordpress/Vbulletin Bridge - Share Users And Postings Details »
Complete Wordpress/Vbulletin Bridge - Share Users And Postings
Mod Version: 3.05, by Jafo232 (Coder) Jafo232 is offline
Developer Last Online: Dec 2020 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.6.8 Rating: (71 votes - 4.42 average) Installs: 1260
Released: 21 Dec 2006 Last Update: 16 Feb 2011 Downloads: 4381
Not Supported DB Changes Uses Plugins Additional Files  

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:

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.

  • 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.5.
  • If your WP login name is the same as your VB username, this user will NOT be ported! If this was the case, you could lose your WP admin rights if there was an error, or if you deactivated the plugin.
  • DOES work for Vbulletin 3.7.
  • 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.
  • If you delete a user, you must do so in both Wordpress and Vbulletin.
  • If you are using XMLRPC to post with applications such as Windows Live Writer, you must change the password of the author in the WORDPRESS admin cp, after the user is ported over from VB. If you are not integrating users, then you do not have to.
  • Chances are, this will not work when VB and Wordpress are located in different sub domains. I.E. - 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:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    And uncomment the last line, and change the path to your forums path:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

Common Mistakes When Installing:
  • Using two different host names causes problems. If your forum URL contains, then your wordpress blog URL MUST contain the www. part of 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 the admin username in Vbulletin is the same as the one in Wordpress (i.e. Admin), that user will NOT be able to login to the WP dashboard.
  • 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.
  • When you create a test user in VB to test mapping users, the test user MUST have an email address. If a VB users email address is blank, they will not map.

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:
  • Reworked the code so it uses the $vbulletin object throughout the code especially during the bridging process.
  • Users are bridged whether they checked the "Remember Me" box or not.
  • Removed a couple of SQL calls that became redundant.
  • Addressed a bug where if a user logged out of the dashboard, it only logged them out of VB.
  • Added Inline Comments capability. Comments posted to the forum (using VB for comments) will now appear at the bottom of a WP Post when viewing the post.
  • Author user names can now be linked to their VB profile page if desired.
  • Added option to turn off posting to forum. All this really does is remove the "Select Forum To Post To" option when writing a post. (There you go AxisOverdrive )
  • The $vbulletin object should now be available in all templates and most plugins.
  • Fixed a bug where deactivating any plugin would semi deactivate this plugin.
  • With the reduction in SQL calls, and the removal of now unnecessary variables, speed and memory use should be improved.
  • Fixed problem where upload iframe was a bit mangled.
  • Fixed problem where users had to refresh the dashboard once after logging in.
  • Fixed problem that arose from Wordpress 2.2.1 upgrade that would not allow activation.
  • Fixed logout issue where users would still be logged into Wordpress.
  • When a Wordpress post is deleted, so is the thread it created.
  • Added option to allow thread posted from Wordpress article to be truncated, with a linkback to the article.
  • Fixed issue when user re-activates plugin, and vb_threadid column already exists. Now checks for column first.
  • Removed a stray VB_Init() call.
  • Forums that do not allow threads will not be selectable in the drop down menu when writing a post.
  • Forums are listed out in a parent/child nested pattern.
  • (Note: 367 downloads of version 2.05)
11/29/07 - 3.00
  • Added TABLE_PREFIX throughout the script instead of the get_option('vbb_VBPRX') call. get_option('vbb_VBPRX') is now deprecated.
  • Addressed path issues by establishing $vwd first. If for some reason there are path issues on an install, the path only needs to be manually changed once, at the beginning of the script.
  • Removed call to admin_db.php which seems to no longer be necessary.
  • Changed all queries to the VB database to be handled by the $vbulletin object. This should facilitate multiple database configurations.
  • Added limited XMLRPC support.
  • Had to include a basic copy of the functions_wysiwyg.php file (functions_wysiwyg2.php) with a minor change in the sanitize_url function (now sanitize_vburl) as it conflicts with a new WP function of the same name. Otherwise, this is identical to the VB release. This was necessary to keep formatting somewhat uniform between the two.
  • Removed unnecessary globals.
  • Changed the global.php call so it always loads. $vbulletin should be available throughout the code (via global in functions).
  • Edited some code around wysiwyg functions of VB, and conversions to vbcode.
  • Added "Turn Plugin On" option.
  • Fixed an issue with the forum list on the "Write Post" page. Default forum was not being auto selected in some cases.
  • Modified from BETA so that the new functions_wysiwyg2.php file is loaded using the WP ABSPATH constant. Requires the plugin to stay in the plugins directory.
  • Fix an error message when a post was deleted in VB, then edited in WP.
12/10/07 - 3.01
  • Fixed two <? tags that should have been <?php (pointed out by Amenadiel)
03/31/08 - 3.02
  • Fixed media-upload clash for new version of Wordpress (2.5).
  • Added fix that will now delete threads in VB when the post is deleted in WP and not using Ajax delete.
  • Added code to insert a default email address if VB users email address is blank upon bridging.
  • Fixed a bug in user roles for the new version 2.5.1 of Wordpress.
  • Fixed issue where CSS was munging scrolling text box when selecting a forum during a post
  • Fixed an issue where content encoding was getting screwey between WP and VP creating a lot of unintended characters (only on PHP installs where utf8_decode() exists (most)).
  • Fixed issue where post count of a user did not change
Sites Using This Plug-In:(PM me if you want to add your site here)

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Integration with vBulletin Complete Wordpress/Vbulletin Bridge - Share Users And Postings Jafo232 vBulletin 3.7 Add-ons 359 07 Mar 2012 15:18
vBulletin-WordPress Bridge rsuplido vBulletin 3.0 Full Releases 201 27 Oct 2008 21:23
Integration with vBulletin VBulletin-Wordpress Bridge for 3.64 imranbaig vBulletin 3.6 Add-ons 53 22 Mar 2008 17:41

Old 12 Oct 2008, 02:25
BigJohnny's Avatar
BigJohnny BigJohnny is offline
Join Date: Jul 2006
ya but what does it mean it wont be ported.

I thought the point of this mod is to allow someone to register on either wordpress or vb, and then they are registered for both by simply registering for one.

a user still has to have 2 different usernames??
Reply With Quote
Old 13 Oct 2008, 07:16
PachiUniverse PachiUniverse is offline
Join Date: Feb 2008
Probably a stupid question but... Will this work with Mambo? And if not, is there one that will?


I've been wanting to bridge my front page with my forums for a while now.
Reply With Quote
Old 15 Oct 2008, 13:40
dblaze dblaze is offline
Join Date: May 2005
For some reason this plugin is showing a Search cannot be found error using 3.6.8 and 2.62
Reply With Quote
Old 16 Oct 2008, 03:07
MaklooN MaklooN is offline
Join Date: Oct 2008
Great hack!
Is there a way to retrieve user avatar and date into WP when replacing WP comment system with vBuletin?

Thanks in advance
Reply With Quote
Old 16 Oct 2008, 03:14
MaklooN MaklooN is offline
Join Date: Oct 2008
Originally Posted by Razza View Post
I just got the plugin from

I'm not sure what to put for these:

VB User ID: This is the userid comment threads will be started with IF the author is NOT REGISTERED with VB.

VB Username: This is the username comment threads will be started with IF the author is NOT REGISTERED with VB.

VB Forum ID: This is the default FORUM id where all comment threads will be posted unless another is selected. This also will indicate what forum will automatically be selected in the drop down menu on the write page.

And I am getting an error when I try to post:

Warning: main(/home/hhk/public_html/wp/wp-content/plugins/functions_wysiwyg2.php) [function.main]: failed to open stream: No such file or directory in /home/hhk/public_html/wp/wp-content/plugins/vbbridgeIII/vbbridge.php on line 96

Fatal error: main() [function.require]: Failed opening required '/home/hhk/public_html/wp/wp-content/plugins/functions_wysiwyg2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hhk/public_html/wp/wp-content/plugins/vbbridgeIII/vbbridge.php on line 96

I do not know where I am going wrong, and I am sure I have given the wrong details.

Can anyone please help?
Razza, it looks like you created a folder for vbbridge in your WP plugins folder and you were not supposed to do that. Drop the 2 php files directly into plug-ins folder.

Hope that helps.
Reply With Quote
Old 16 Oct 2008, 21:25
eplazai eplazai is offline
Join Date: Sep 2008
Real name: Exequiel Plaza
I've visited Android, it seems to be bridged with this mod. (an example).

The question is: Are they using this modification?

Reply With Quote
Old 17 Oct 2008, 05:37
dblaze dblaze is offline
Join Date: May 2005
For some reason this plugin is showing a Search cannot be found error using 3.6.8 and 2.62
Reply With Quote
Old 17 Oct 2008, 23:25
rcadden rcadden is offline
Join Date: Sep 2008
Real name: Ricky Cadden
Awesome mod, works like a charm, but I've run into a bit of an issue - I have had my blog going for nearly 2 years, and am just now adding this forum.

1. As I have seen thus far, this is not retro-active, creating a new forum thread for every old post (which is a GOOD thing).
2. When I replace the comment text in my wordpress template, I've noticed that comments completely disappear for posts that do not currently have a vBulletin thread, which makes sense.

Would it be possible to include some php that says, basically, 'if this post was published before MM/DD/YYYY, then continue using the existing Wordpress comments code. If this post was published AFTER MM/DD/YYYY, then use this new vBulletin comment code.'

I realize I would then still need to monitor Wordpress' comments for older posts, but I think that would be the cleanest integration.

Or did I miss something?

Update: I got it taken care of, here's the code I used:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The date at the top is the cutoff date, so that newer posts use the forum comments, whereas older posts use the legacy Wordpress comments function. My old comments code is found in the last 4 lines, after the "} else {"

Last edited by rcadden; 18 Oct 2008 at 15:48. Reason: Update
Reply With Quote
Old 18 Oct 2008, 15:45
rcadden rcadden is offline
Join Date: Sep 2008
Real name: Ricky Cadden
Originally Posted by Bjorn2404 View Post
Nice mod. It was a bit tricky to install but it's great - using the latest version of vbulletin and wordpress.

I was having a problem with the links in vbulletin being incorrect - showing %postname% instead of the story title. I thought I'd post how I fixed it if anyone else was having a similar issue (I couldn't find a solution by searching but saw that others had experienced this).

If you change all instances of:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in vbbridge.php it fixes it. Upload the file and re-save your post and it should work (it did for me).
This worked great! I think I counted 4 different occurences, but I'd recommend loading it up in an editor with a find/replace function, rather than just manually changing it.
Reply With Quote
Old 21 Oct 2008, 23:12
skubaman skubaman is offline
Join Date: Dec 2006
How is this bridge working now with current versions? Are there known issues?

I am trying to decide whether to go with word press, or use vbulletins Blog.

I just want to make sure that every time there is a new release of wordpress or vbulletin I don't have to do several updates to the files.

Please let me know

Reply With Quote
Old 21 Oct 2008, 23:17
skubaman skubaman is offline
Join Date: Dec 2006
Is there a way to really integrate both into the home page? For example having a part of the home with news, and the other with vbulletin or modules from vbadvanced?
I can't find an example like that.

Reply With Quote
Old 29 Oct 2008, 00:55
nymyth nymyth is offline
Join Date: Jun 2002
I just integrated this with 3.7.2 and no major problems.

Only thing is I cant seem to get the comments to go back and forth, not sure if this mod does it...but i figured, if you post a blog article and it gets fed to the forum then the same should occur if you post a reply....
Reply With Quote
Old 29 Oct 2008, 01:11
skubaman skubaman is offline
Join Date: Dec 2006
nymith were you able to really integrate both into the home page?
Reply With Quote
Old 29 Oct 2008, 11:57
nymyth nymyth is offline
Join Date: Jun 2002


the databases are fully integrated
Reply With Quote
Old 29 Oct 2008, 15:58
nymyth nymyth is offline
Join Date: Jun 2002
Actually its gotten buggy, I noticed all my users arent bridged over and some that are still dont show up as logged in the blog area
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 02:43.

Layout Options | Width: Wide Color: