Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
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
  #312  
Old 03-16-2009, 12:21 AM
Pirat3 Pirat3 is offline
 
Join Date: Dec 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What are the known issues on latest release? I am on the last release and only issues is url now showing up.
Reply With Quote
  #313  
Old 03-16-2009, 10:03 AM
pspcrazy pspcrazy is offline
 
Join Date: Apr 2005
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well so far with me the usernames that are associated with the posts are completely off atm. Like for instance my username is id 1, and it's showing the username with the id of 22. When another user with a userid of like 692 shows a person who's user id is 2217.

Check it out yourself: http://www.animecrazy.net/gintama-episode-1/ Click on the author and you'll see it's the real author, but on the wp site it shows up wrong.

Thanks for any help provided.

Edit reverted to older version for now.
Reply With Quote
  #314  
Old 03-17-2009, 12:14 AM
WhiteNewsNow WhiteNewsNow is offline
 
Join Date: Feb 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/content/88/3771288/html/wordpress/resetvbbridge.php on line 4
Unable to add cookies, header already sent.
File: /home/content/88/3771288/html/wordpress/resetvbbridge.php
Line: 4

Had an issue and used /resetvbbridge.php and it let me back in. Tried it again and no dice. I can not get get back into wp no matter what I do. Any Ideas?

http://www.WhiteNewSnow.com/wordpress

I just went ahead and uninstalled WP and started from scratch. If you still want to offer assistance with my install issue I would very much like to run this mod. I think it is a great one.
Reply With Quote
  #315  
Old 03-17-2009, 12:15 AM
getfitatl getfitatl is offline
 
Join Date: Feb 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't understand what do you mean:

Quote:
any link from your WP oder vB is wrong.
http:/getfit-atlanta.com/ <-- you need at : an /
Are you saying I need to add the training slash / somewhere? I did this without thinking or looking and now I get the following error:

Fatal error: Cannot redeclare get_userdatabylogin() (previously declared in /home/content/g/e/t/getfitatl/html/wp-includes/pluggable.php:166) in /home/content/g/e/t/getfitatl/html/wp-content/plugins/functions_vbbridge.php on line 33

WTF! I go back and I thought I saw where it stated NO TRAILING SLASHES! So what are you referring to and how can I resolve this issue?
I've tried disabling, removing, and reinstalling but I continue to get this error everytime I activate the plugin. I've seen where the question has been asked but don't recall seeing a fix, unless I'm so blinded by own frustration that I'm failing to see.

I've got the phpMyAdmin plugin installed but don't see where I can go and make this change. I try to hard code the /vb path in the vbbridge.php file but it doesn't work.

ANY responses appreciated.
Reply With Quote
  #316  
Old 03-17-2009, 08:03 PM
devoslack devoslack is offline
 
Join Date: Jun 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After turning on the plug-in, I consistently get:

"Error 500 - Internal server error

An internal server error has occured!
Please try again later."

I try removing the vbb entries in the wp_options MySQL table, start from scratch with the same error when I attempt to activate the plug-in.
Reply With Quote
  #317  
Old 03-17-2009, 09:28 PM
pspcrazy pspcrazy is offline
 
Join Date: Apr 2005
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting this error when i use forum excerpts (pulled from error log):
Code:
WordPress database error Lost connection to MySQL server                                                                                         during query for query SELECT t.*, tt.* FROM dc_terms AS t INNER JOIN dc_term_ta                                                                                        xonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('category')  ORDER                                                                                         BY t.name ASC  made by require, require_once, include, get_sidebar, locate_templ                                                                                        ate, load_template, require_once, dynamic_sidebar, call_user_func_array, wp_widg                                                                                        et_categories, wp_list_categories, get_categories, get_terms
It'll post the post, and edit the vbulletin thread but i'll get a blank page immediately after i click the publish button.
Reply With Quote
  #318  
Old 03-18-2009, 03:46 PM
kawe kawe is offline
 
Join Date: Aug 2008
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SHow this error after save option

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\phing\wp-content\plugins\vbbridge.php:153) in C:\xampp\htdocs\phing\wp-includes\functions.php on line 698

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\phing\wp-content\plugins\vbbridge.php:153) in C:\xampp\htdocs\phing\wp-includes\functions.php on line 699
Reply With Quote
  #319  
Old 03-18-2009, 07:20 PM
dieslcruisrhead dieslcruisrhead is offline
 
Join Date: Oct 2008
Location: Park City, UT
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jafo - thanks again. It is pretty much working perfectly for me...

Here is a sample for anyone to check out. Our site launches to the public next week but if anyone wants to take a look. In my book it's an excellent sample of the integration:

www.hazardassembly.com


Thank you again! Perhaps you could add my site as samples of the integration and also add me to the list of contributors if possible.

Appreciated,
Andre
Reply With Quote
  #320  
Old 03-18-2009, 10:53 PM
maipoman maipoman is offline
 
Join Date: Dec 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dieslcruisrhead View Post
Jafo - thanks again. It is pretty much working perfectly for me...

Here is a sample for anyone to check out. Our site launches to the public next week but if anyone wants to take a look. In my book it's an excellent sample of the integration:

www.hazardassembly.com


Thank you again! Perhaps you could add my site as samples of the integration and also add me to the list of contributors if possible.

Appreciated,
Andre
It sure is and thanks for sharing! I didn't see any comments from your vB, so I have to ask: did you get the avatars and usernames to migrate to? My problem is that I can't get that option to work. I've followed the "readme" a hundred times, but I'm just clueless when I get to this point:
Quote:
Wherever you see the code: <?php the_author() ?> You can replace that with something like: <?php if (function_exists('Comment_Handler') and $vbridge == '') {
....
Exactly where am I supposed to see the code "<?php the_author() ?>"? I don't see it "wherever" - in fact, I can't seem to find it anywhere! Is it supposed to be in the "comments.php" template? The only thing similar that I can find in my comments-template is "<?php echo $comment_author; ?>".
Also, does "replace it with something like..." mean "just replace it with THIS freakin' code"?
Reply With Quote
  #321  
Old 03-19-2009, 12:16 AM
jestyr jestyr is offline
 
Join Date: Dec 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by devoslack View Post
After turning on the plug-in, I consistently get:

"Error 500 - Internal server error

An internal server error has occured!
Please try again later."

I try removing the vbb entries in the wp_options MySQL table, start from scratch with the same error when I attempt to activate the plug-in.
Do you have suexec enabled on your webserver?
Make sure your folders etc are all chmodded to 755 (anything above that and you get 500 godes)
Reply With Quote
Reply


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 08:46 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.07045 seconds
  • Memory Usage 2,362KB
  • 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
  • (3)bbcode_code
  • (4)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