Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
Complete Wordpress/Vbulletin Bridge - Share Users And Postings Details »»
Complete Wordpress/Vbulletin Bridge - Share Users And Postings
Version: 4.01.13, by Jafo232 Jafo232 is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.1 Rating:
Released: 02-13-2009 Last Update: 02-15-2011 Installs: 1331
DB Changes Uses Plugins
Additional Files  
No support by the author.

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:

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

Download Now

File Type: zip vbridge.zip (200 Bytes, 545 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
m7sen, xuanhuy238

Comments
  #632  
Old 06-24-2009, 03:49 PM
amjadz4's Avatar
amjadz4 amjadz4 is offline
 
Join Date: Aug 2007
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fmckinnon View Post
Hey, so, are you saying you had the same issue with the userID, if you try changing it in the vbridge settings, it doesn't work for you either?)

I suppose I could keep using id1 - it's just my personal login as the admin, and I didn't want the articles to post on my userID, because it makes it appear that I wrote the articles ... so I'd created a new userID that was an Admin, that was a generic userID, tied to the site, and not a personal identity, if that makes sense.
Well not really, I didn't try changing. Don't want to either. I will be soon moving to WPMU from WP and then I wouldn't need this mod anyways.
But it works out of the box just as it says in the first post.
Reply With Quote
  #633  
Old 06-24-2009, 04:09 PM
sparky37 sparky37 is offline
 
Join Date: Sep 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amjadz4 View Post
Un-install COMPLETELY using the resetbridge file and including the tables from database. and then install it..STEP BY STEP. it will work without any errors
Hmm, no, not really. I get the same results. I'm following the instructions in the readme.txt file for installation. Like I already said, I followed your readme.txt STEP by STEP as you so kindly pointed out here. So I'm not sure what I'm missing.

I did as you suggested here, I uploaded the resetbridge.php file and accessed it in my browser. I get several error messages?
Code:
arning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/earlycj5/public_html/wordpress/wp-content/plugins/resetvbbridge.php on line 4

Warning: require_once(/home/earlycj5/public_html/wordpress/wp-content/plugins/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/earlycj5/public_html/wordpress/wp-content/plugins/resetvbbridge.php on line 2

Fatal error: require_once() [function.require]: Failed opening required '/home/earlycj5/public_html/wordpress/wp-content/plugins/wp-load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/earlycj5/public_html/wordpress/wp-content/plugins/resetvbbridge.php on line 2
From there I upload the three files excluding the resetbridge file and follow the readme.txt file to get the same results. Blank pages, all of them. Whether I'm logged in or not?

Upload files to /wp-content/plugins.
Activate the plugin in Wordpress
Go to "Settings -> VBridge Settings"
Fill in the appropriate info
Say "Yes" turn on the plugin
I don't autointegrate yet

When I try to start a new post I get a blank page...
Reply With Quote
  #634  
Old 06-24-2009, 04:12 PM
mtalks's Avatar
mtalks mtalks is offline
 
Join Date: May 2007
Location: US
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by remotay View Post
Great plugin, one serious problem. I upgraded from your previous release, and BAM all of a sudden my admin account does not exist. All of the Accounts made on vbulletin exist, but NOT my previous admin account. Infact, I had three wordpress admin accounts, all of which did not work.

Upon deleting the Vbbridge.php file, it now works again. Before I re-enable, I would love some input from the developer. I have the users mapped so Administrators on the forum are NOT administrators on Wordpress. I Want to have seperate admin accounts on both.
I dont see why you just dont make the WP admin account on your site a different usergroup on the forum and then map that group to admin on WP.
Reply With Quote
  #635  
Old 06-24-2009, 04:22 PM
amjadz4's Avatar
amjadz4 amjadz4 is offline
 
Join Date: Aug 2007
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sparky37 View Post
Hmm, no, not really. I get the same results. I'm following the instructions in the readme.txt file for installation. Like I already said, I followed your readme.txt STEP by STEP as you so kindly pointed out here. So I'm not sure what I'm missing.

I did as you suggested here, I uploaded the resetbridge.php file and accessed it in my browser. I get several error messages?
Code:
arning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/earlycj5/public_html/wordpress/wp-content/plugins/resetvbbridge.php on line 4

Warning: require_once(/home/earlycj5/public_html/wordpress/wp-content/plugins/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/earlycj5/public_html/wordpress/wp-content/plugins/resetvbbridge.php on line 2

Fatal error: require_once() [function.require]: Failed opening required '/home/earlycj5/public_html/wordpress/wp-content/plugins/wp-load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/earlycj5/public_html/wordpress/wp-content/plugins/resetvbbridge.php on line 2
From there I upload the three files excluding the resetbridge file and follow the readme.txt file to get the same results. Blank pages, all of them. Whether I'm logged in or not?

Upload files to /wp-content/plugins.
Activate the plugin in Wordpress
Go to "Settings -> VBridge Settings"
Fill in the appropriate info
Say "Yes" turn on the plugin
I don't autointegrate yet

When I try to start a new post I get a blank page...
Go to this post and follow the steps to uninstall completely.
https://vborg.vbsupport.ru/showpost....&postcount=606

It seems that resetvbridge.php isnt working correctly for most.
Reply With Quote
  #636  
Old 06-24-2009, 04:49 PM
shaqoneal shaqoneal is offline
 
Join Date: Mar 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amjadz4 View Post
The logins only work through vb when the plugin is activated.



1. You can use separate.
2. Yes
3. Yes

Cool!! Thanks! I've been reading through some of these posts and amjadz4 you been helping far and wide! Dude, your like the integration god

Reply With Quote
  #637  
Old 06-24-2009, 07:49 PM
fmckinnon fmckinnon is offline
 
Join Date: Jun 2008
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK - got it all working now, including HTML, etc ...

THE ONLY THING THAT DOESN'T WORK for me now, is that regardless of what settings I establish in VBridge Settings, all posts from wordpress hit my forum as userID: 1 ...

If I could only change that, it would be awesome.
Reply With Quote
  #638  
Old 06-25-2009, 03:35 AM
Wings69 Wings69 is offline
 
Join Date: Sep 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Searched this thread and the ones for older versions and didn't see this issue posted - for integration of comments on the Wordpress articles - the dates are coming up 12-31-69 07:00PM for every comment/thread response.
Reply With Quote
  #639  
Old 06-25-2009, 12:23 PM
amjadz4's Avatar
amjadz4 amjadz4 is offline
 
Join Date: Aug 2007
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shaqoneal View Post
Cool!! Thanks! I've been reading through some of these posts and amjadz4 you been helping far and wide! Dude, your like the integration god

lol, thanks. I like this mod and like helping you all too!

Quote:
Originally Posted by fmckinnon View Post
OK - got it all working now, including HTML, etc ...

THE ONLY THING THAT DOESN'T WORK for me now, is that regardless of what settings I establish in VBridge Settings, all posts from wordpress hit my forum as userID: 1 ...

If I could only change that, it would be awesome.
Just change the member 1 to what ever you want! and you can make your admin account as 2. All through phpmyadmin. very simple.

Quote:
Originally Posted by Wings69 View Post
Searched this thread and the ones for older versions and didn't see this issue posted - for integration of comments on the Wordpress articles - the dates are coming up 12-31-69 07:00PM for every comment/thread response.
Then how do you want them to show up? Go to admincp > vb options > date and time.
read here: http://www.php.net/manual/en/function.date.php
and type in the format you would like to see. check Example #4 on that page.

Example:

Code:
l, F j, Y
will show as: Friday, September 24, 2004

and this will reflect in the comments posted on wordpress from the forum. hope that solves it!

Reply With Quote
  #640  
Old 06-25-2009, 01:08 PM
fmckinnon fmckinnon is offline
 
Join Date: Jun 2008
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amjadz4 View Post
[B]


Just change the member 1 to what ever you want! and you can make your admin account as 2. All through phpmyadmin. very simple.

Thanks - I can easily change the username, etc., in phpmyadmin - but how can I get all my posts from userID one migrated over to the new user, w/o merging them?

Ex: User 1 is twc_admin - it has hundreds of posts and history.
User 2395 is what will BECOME my personal account.

how do I move all posts from user1 to user2395 yet, still keeping user1 available (seems like the merge command would delete user1) ....

Then, after moving all my history and posts from user1 to user2395, I'd rename user1 to be what I want (a more generic, sitewide ID)

Thks
Reply With Quote
  #641  
Old 06-25-2009, 03:30 PM
amjadz4's Avatar
amjadz4 amjadz4 is offline
 
Join Date: Aug 2007
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fmckinnon View Post
Thanks - I can easily change the username, etc., in phpmyadmin - but how can I get all my posts from userID one migrated over to the new user, w/o merging them?

Ex: User 1 is twc_admin - it has hundreds of posts and history.
User 2395 is what will BECOME my personal account.

how do I move all posts from user1 to user2395 yet, still keeping user1 available (seems like the merge command would delete user1) ....

Then, after moving all my history and posts from user1 to user2395, I'd rename user1 to be what I want (a more generic, sitewide ID)

Thks
Buddy you are simply complicating things. I am gonna repeat the same thing what I said in much more simple words so that you know what im trying to say.

Just do the following steps, you will get what you want.

1. Backup the database. (in case anything goes wrong)
2. Create a new account on forum - This will be your TO BE ADMIN account. Make a new one, forget the existing 2395 or whatever. And add it to the admin usergroup.
3. In phpmyadmin, edit user ID field of "1" to the ID of the one you just created above.
Now you have your personal admin account with which you will post.

Now for the "blog-forum posting" account.
1. Create another new account on the forum - this will be one which will post.
2. In phpmyadmin, edit user ID field of the one you just created above to "1"
3. go to admincp and give it permissions you want.

DONE!
--u ask how?.... That's how!
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 02:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08391 seconds
  • Memory Usage 2,369KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete