vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=205388

Complete Wordpress/Vbulletin Bridge - Share Users And Postings
by Jafo232
14 Feb 2009 22:14

1 Attachment(s)
Identical to this Mod here, but now for the Vbulletin 3.8 line.
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:
  • 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:


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

If you do install:


Jafo232 14 Feb 2009 22:14

Reserved....

Jon_Simmonds 14 Feb 2009 22:37

Taged, usefull for a upcoming project :)

Bradley_Wint 14 Feb 2009 22:45

good stuff man.. always a fan of this product

AzzX 14 Feb 2009 23:00

Upgraded and is working well.

Thanks Jafo.

skariko 14 Feb 2009 23:13

With this new version the user that logging in into Wordpress site must be redirect to /wp-admin?
It is possible to choose this option? 'cause i don't like that they have two different profile (on /wp-admin and on the forum)?

zachb 14 Feb 2009 23:14

Will install and check it out. I had to remove the old one because my WP got all screwy, btu i appreciate the mod a lot! Hopefully I will keep this on. Thanks!

zb

Jafo232 14 Feb 2009 23:21

Quote:

Originally Posted by skariko (Post 1744288)
With this new version the user that logging in into Wordpress site must be redirect to /wp-admin?
It is possible to choose this option? 'cause i don't like that they have two different profile (on /wp-admin and on the forum)?

Not sure what you mean here.. If the user logs into WP or VB, then they are logged into both.

laztrix 14 Feb 2009 23:22

My Forum is on a subdomain installed.

Forum adress : http://subdomain.domainname.com
Wordpress adress : http/subdomain.domaniname.com/portal

Forum URL: http://subdomain.domainname.com
Forum Relative Path: /
Database Prefix: There is No ! ( I left it blank )

When I run it for test I got this error:


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

I also tried to give the path : /var/www/vhosts/domainname.com/subdomains/forum';

What do I wrong ?

Jafo232 14 Feb 2009 23:24

Quote:

Originally Posted by laztrix (Post 1744293)
My Forum is on a subdomain installed.

Forum adress : http://subdomain.domainname.com
Wordpress adress : http/subdomain.domaniname.com/portal

Forum URL: http://subdomain.domainname.com
Forum Relative Path: /
Database Prefix: There is No ! ( I left it blank )

When I run it for test I got this error:


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

I also tried to give the path : /var/www/vhosts/domainname.com/subdomains/forum';

What do I wrong ?

Hmm, that's a new one.. Sounds like you might have a plugin in VB causing the issue, try:

uncomment this line in vbbridge.php:


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


jcodemasters 14 Feb 2009 23:31

thanks, I will test now

skariko 14 Feb 2009 23:32

Quote:

Originally Posted by Jafo232 (Post 1744292)
Not sure what you mean here.. If the user logs into WP or VB, then they are logged into both.

Sorry you are right :)

I mean when that when you login into Wordpress and press "ok" you are automatically redirect to domain/wp-admin and i don't like it so much :)

laztrix 14 Feb 2009 23:55

Ok, after that that error disappear.But now, I can not login with my login information altought I did not made any changes.

When I login to Vbulletin and try to reache /wp-admin it says:

You have not enougth privilage to acess this page.

Jafo232 14 Feb 2009 23:56

WP treats usernames case sensitive, so if logging in via WP, remember that, otherwise, login to VB..

joeymuk 15 Feb 2009 00:13

Users don't appear to be integrating..

I did the test post wordpress side and it created the thread in vb fine, though when I joined vb the user didn't come to wordpress. Also it appears that there may be a bug because after the "test" post, wordpress had "test" "test" "test".. 3 articles but only one was real and working. (don't know if it's my theme)

Btw I mapped the users in wordpress to the group and followed your steps, not sure why the users aren't going to wp. awesome to see it updated!
~Joey

P.s Would it be possible to provide a few plugins for wordpress, such as logging in, latest posts from vb, etc

P.s.s Sorry how would Insert vb into wordpress? could you add an option for that please or let me know how I can

-edit-

I'm ever so sorry, I'm stupid. I didn't think i would have to click login from the wordpress side. seems users are working fine in wp :)


All times are GMT. The time now is 00:32.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.