Register Members List Search Today's Posts Mark Forums Read

Reply
 
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: Jan 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.0 Rating: (27 votes - 4.70 average) Installs: 422
Released: 30 Apr 2008 Last Update: 09 May 2008 Downloads: 1747
Not Supported Uses Plugins Additional Files  








Identical to this Mod here, but now for the Vbulletin 3.7 line.
If you install this PLEASE
Click Install.

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.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.
Limitations:
  • 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. 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:


    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 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 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.
UPDATES:

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.
  • PLEASE READ THE UPGRADE INSTRUCTIONS IF UPGRADING!
07/17/2007
  • 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.
04/20/08
  • Fixed a bug in user roles for the new version 2.5.1 of Wordpress.
05/08/2008
  • 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))
05/08/2008
  • 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)

UPDATE:

I have become really busy these days with my work. It will be some time before I can address this plugin. Please stop PM'ing me, I just don't have time. 99% of the time, your PM can be answered by just reading through the posts in this thread.

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.

If you do install:

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • 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 Modification Graveyard 1318 24 Mar 2013 18:45
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

  #316  
Old 16 Jan 2009, 23:26
rcadden rcadden is offline
 
Join Date: Sep 2008
Real name: Ricky Cadden
This is working great with Wordpress v2.7 and vBulletin v3.8.0 for me, but I still have the issue with scheduled posts not properly creating a forum thread, and therefore, not being integrated.

Can anyone else test this for me? Simply compose a post, and schedule it to go live a few minutes later, then see if the appropriate thread in the Forum is being created.

This is something I used heavily, and really need to get back. Where is the dev?
Reply With Quote
  #317  
Old 19 Jan 2009, 11:44
DDIG DDIG is offline
 
Join Date: Nov 2007
It works great, only one small prob with logging out....

Logging in redirects me to forum, all fine. I log in, and Iím logged in to wordpress as well, great!

But when I log out of vBulletin, close my browser, and later come back to see the wordpress page, I am still logged in in Wordpress! But I am logged out of vBulletin.

So logging out of vBulletin does not log me out of Wordpress. Does anyone here have this issue and is there a fix?
Reply With Quote
  #318  
Old 20 Jan 2009, 14:13
Shaliza Shaliza is offline
 
Join Date: Apr 2006
Originally Posted by swiftor View Post
Can this bridge work between 1 forum and 2 blogs on the same host? The forum is forums.swiftor.com and the blogs would be swiftor.com and cookingwithcasa.com - would the issue with the domain names prevent this from working?

Thanks!

It should be fine. My forum is installed on a subdomain, while WP is installed on the main domain. I'm having no problems with this.
Reply With Quote
  #319  
Old 21 Jan 2009, 17:01
bahattab bahattab is offline
 
Join Date: Jun 2005
hi man

cant you make it auto template
__________________
Bahattab
Andalusia Spectrum's
www.atyaf.com.sa
www.atyafonline.com
Reply With Quote
  #320  
Old 24 Jan 2009, 11:04
desi-boy's Avatar
desi-boy desi-boy is offline
 
Join Date: Nov 2008
Real name: Deepak
iz it work for 3.8.0 ???????
Reply With Quote
  #321  
Old 24 Jan 2009, 11:15
desi-boy's Avatar
desi-boy desi-boy is offline
 
Join Date: Nov 2008
Real name: Deepak
there is instructnz for upgard but not for new instalation


Help me plezzz if any 1 know somethinggggg ???


thnxxx
Reply With Quote
  #322  
Old 25 Jan 2009, 20:16
GlitterKill GlitterKill is offline
 
Join Date: Jul 2002
Real name: Gary Mullins
I see the comment that it works in VB 3.8 and WordPress 2.7, which is perfect! I am planning on moving to this setup as our main article CMS script. There is one issue in the directions which may end up being a sticking point for me, though.

I run two different content-driven sites that posts reviews and articles and has used our own, home-brewed, CMS since they started over 5 years ago. The CMS is definitely showing it's age nowadays with the lack of features and usability. The main thing is that it connects to our forum database for users and uses the forum for article comments.

The part that may make it very tricky is that both PCApex.com and GameApex.com now use the same forum for their communities which is located at ForumApex.com. Each of the main content sites have their own sections on the forum for discussions and there are general forums for either site as well. It is basically just one big community that has it's articles sorted between two different domains based on their content (one is PC hardwre and modding articles and the other is game reviews).

So, what do you all think? Can I make it work through some cookie tweaking? Any suggestions for me to try?
__________________
Admin for PCApex.com and GameApex.com.
Reply With Quote
  #323  
Old 26 Jan 2009, 20:54
dreamhost's Avatar
dreamhost dreamhost is offline
 
Join Date: Jun 2002
After a serious amount of hacking to this code, I can finally say that I have it running on wordprss mu perfectly.

There is one thing that I would like to change though, and maybe someone here has an idea of the direction that I should attack this problem.

I have mu setup so that when a person signs up and add's a blog to their account that they have to select a category for their blog, sports, weather, news, etc....

I have created corresponding article categories in mu for articles.

Here's what I want to happen:
When a person adds an article to mu, currently they can choose a forum to post their article to as well. (this is normal operation for the bridge). Problem is they have access to post their article to any forum that exists, I have no control over where they choose to put it.

what I want is to force them to have all 'weather' posts go into their designated blog category in the forums.

This will make is so that everything 'weather' related from all 'weather' category blogs will automatically be forced to have their wpmu posts put into the proper vb category.

And if they are going to write an article on their blog that doesn't belong in 'weather' they can put it into a personal category, which does not get put into vb.

make sense?

--theory being that I can use the forums to aggrigate all the wpmu articles into specific vb forums, on a per blog type basis. Gives me a vb 'central repository' of related articles to draw from.

ideas?
Reply With Quote
  #324  
Old 28 Jan 2009, 03:21
PET's Avatar
PET PET is offline
 
Join Date: Jan 2002
Hello,

I did exactly as asked in the file.

My blog is in:

/blog

and my forum is in

/forum

I set up the path correctly, however when I go to wordress to post something, I press publish and the script goes directly to a HTTP 500 error. The script stops at post.php

I noticed the message is saved but only as DRAFT. If I want to edit and publis it again, I get that 500 error.

Any sugestions please?

Thanks
__________________

We must find out who we were, in order to truely understand who we are and to know who we will be !
Reply With Quote
  #325  
Old 28 Jan 2009, 04:11
deepmartini deepmartini is offline
 
Join Date: Jun 2008
Arrow Wordpress Users INTO Vbulletin? Is this EVEN POSSIBLE?

Hi, I have been trying to get this plugin to work. My problem is that I am using Wordpress CMS upfront and vbulletin as my forums. I want the website visitor to login via Wordpress first and then be automatically logged into vbulletin when they click on the forum link.

From what I understand, this plugin here only works by importing vbulleting users INTO wordpress. How do I get it to work the other way around? Wordpress into vbulletin?

Please help anyone?!
Reply With Quote
  #326  
Old 29 Jan 2009, 05:02
PET's Avatar
PET PET is offline
 
Join Date: Jan 2002
Originally Posted by PET View Post
Hello,

I did exactly as asked in the file.

My blog is in:

/blog

and my forum is in

/forum

I set up the path correctly, however when I go to wordress to post something, I press publish and the script goes directly to a HTTP 500 error. The script stops at post.php

I noticed the message is saved but only as DRAFT. If I want to edit and publis it again, I get that 500 error.

Any sugestions please?

Thanks
So any suggestions to my problem? What's causing the HTTP 500 error when I want to make a new post in wordpress?
__________________

We must find out who we were, in order to truely understand who we are and to know who we will be !
Reply With Quote
  #327  
Old 29 Jan 2009, 14:14
AzzX's Avatar
AzzX AzzX is offline
 
Join Date: Sep 2007
Real name: Aaron
Originally Posted by PET View Post
So any suggestions to my problem? What's causing the HTTP 500 error when I want to make a new post in wordpress?
It has to be a path issue - checking your error logs may help targeting the problem.
__________________
azzx.org ozsource.org
Reply With Quote
  #328  
Old 30 Jan 2009, 00:47
EGF_Mafia EGF_Mafia is offline
 
Join Date: Apr 2008
How would I get this to work along side vBadvanced? I mean I know this plugin has the purpose to make WordPress the CMS, but I love the features of vBa, like the recent posts box and stuff... but when I have vBa activated along with the WP integration I get these errors.


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

Any Help?
Reply With Quote
  #329  
Old 31 Jan 2009, 11:08
amjadz4's Avatar
amjadz4 amjadz4 is offline
 
Join Date: Aug 2007
Okay people! I'm using Wordpress v2.7 and vBulletin v3.8.1. I will post my progress here as I'm doing it.

UPDATE 1: Installing the plugin
So far so good. everything went smooth. The installation instructions were straight forward. done with no problems. users mapped correctly....blog post posted to forum.
# Having login problems. Going to dashboard directly [not logged in on vB] redirects to forums.
Solved - First login to vB, then go to dashboard and you will be logged in automatically. If not first time, then open the wp-admin/ page again and you are in.

UPDATE 2: Applying VB Comments...
All instructions applied carefully. Comments posted in WP are not posted as posts in vB. Its a template issue and I am trying to fix it. will update here.

So here is the good news: The plugin works with the latest versions of both WP 2.7 and vB 3.8.1

Last edited by amjadz4; 01 Feb 2009 at 23:59.
Reply With Quote
  #330  
Old 02 Feb 2009, 14:57
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
I have this bridge installed and working about 95% up to what I need. The last 5% appears to be an issue I have discovered causing the user bridge to not work for many of my users, including an Administrator and an Author/Moderator.

Usernames do not bridge at all, nor is there an error of any kind if the user has an apostrophe in their registered vBulletin name.

Example: One of my admins registered name is Lilaena De'Ville. I have tested this with other names with apostrophes and had the same problem. It refused to log them in or bridge them at all while names without apostrophes work perfectly.
Reply With Quote
Reply


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 00:39.

Layout Options | Width: Wide Color: