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
  #282  
Old 03-09-2009, 05:44 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Delete the files, then re-upload the NEW files..
Reply With Quote
  #283  
Old 03-09-2009, 08:27 PM
rcadden rcadden is offline
 
Join Date: Sep 2008
Location: Texas
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just tested the new update with scheduled post ability.

1. It works, as advertised. Schedule posts publish at the correct time on Wordpress, the comments bridge is correctly shown, and the corresponding thread is correctly created.

2. Unfortunately, the userID used to create the forum thread is incorrect. On wordpress, the correct author is shown. In the forum overview, it shows 'OtherAuthor' (which is what I input in the Vbridge settings). However, when I go to read the thread (and comment), it shows an actual user (NOT the correct admin), who is only a registered user.

To be honest, ideally, I would LOVE to have this setup:

1. All new threads that come from Wordpress shown as the same author, regardless of who wrote it
2. a byline added specifically in the forum thread (since this is already shown in Wordpress) to designate who wrote it, pulled from Wordpress.

In either case, it's working, but not showing the correct author.

Update:

When I turned Auto-Integrate on, my authors in Wordpress were all screwed up - each user was replaced with another (I'm sure there was a correlation, I just couldn't find it). I fixed it by re-disabling Auto-Integrate. Now everything is back to normal.

Wrong - with Auto-Integrate disabled, everything works fine, and looks normal in Wordpress - however, the new thread created by the post is tied to the wrong author (incidentally, the same author that was showing in Wordpress with Auto-Integrate enabled). If it helps, the user id of the correct author is 3, whereas the incorrect author is 8.

Also, I confirmed this author-mix-up is only happening with scheduled posts. The correct author is shown when publishing a post directly.

Unfortunately, my media uploader is busted, as well. I don't use any image handling plugins - this is pure vanilla Wordpress. It pops up fine, but simply says, 'Are you sure you want to do this?' and there's a link to "PLease try again', which, when clicked, reloads my Wordpress dashboard inside the popup window.
Reply With Quote
  #284  
Old 03-09-2009, 09:32 PM
COOLover COOLover is offline
 
Join Date: May 2003
Location: Germany
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

first thx for a great Mod.

second Sorry for my bad english

I hope anyone can help me.
I try to Integrate wordpress with vB. It works for the first steps realy good. Bud how can i change on the Startpage/Page (wordpress template index.php) the comment counter?
It shows ever 0 Comments. When i go into a Topic, than i have comments from the vB (as sample 3)

Can i aktivate the registration on wordpress with OpenID to register automatic on forum?

Hope you can understand and help me.
Reply With Quote
  #285  
Old 03-09-2009, 10:12 PM
lynch23 lynch23 is offline
 
Join Date: Mar 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

man, this one is great. thx so much!
Reply With Quote
  #286  
Old 03-09-2009, 11:17 PM
lynch23 lynch23 is offline
 
Join Date: Mar 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey, i figured out a problem there.

i just want to use this hack to identify my vbulletin users in wordpress. this works fine, but behind every username in the comments there stands "(author")

i tried everything in the Vbridge User Settings, but nothing will change it.

here are 2 screens:





thanks for any help!
Reply With Quote
  #287  
Old 03-10-2009, 10:10 AM
beezo beezo is offline
 
Join Date: Dec 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please disregard, its working like a charm!
Reply With Quote
  #288  
Old 03-10-2009, 02:44 PM
Mr. Mooney Mr. Mooney is offline
 
Join Date: Apr 2007
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Jafo. I've setup the mod, and its working great so far. I did notice one issue though. Our forum has a private admin forum. The mods do not have access to it. When a moderator goes to make a post in Wordpress, it gives them to post it in the admin forum and also in another hidden forum to mods. Is there a way to stop their ability to see these forums?

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

Quote:
Originally Posted by beezo View Post
Please disregard, its working like a charm!
Do you mean that you get the vB-avatar and link to vB-profile in Wordpress? If so, please share how you got it working!

For me, the bridge works - but avatars or link to vB-profile is not imported into WP.
Reply With Quote
  #290  
Old 03-10-2009, 08:55 PM
pspcrazy pspcrazy is offline
 
Join Date: Apr 2005
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232 View Post
I will be applying this to the next version, but for now, open functions_vbridge.php and find this line:

Code:
	if ( !$user || ($user->user_login != strtolower$username) ) {
Replace with:

Code:
	if ( !$user || (strtolower($user->user_login) != strtolower($username)) ) {
Thanks for letting me know. Also about the pm's thanks for letting me know. Darn though lol it's not easy finding someone who knows about this as much as you do.

Can I hack the source of this plugin as well and use some of it on the new site i'm building? Thanks, PSPC
Reply With Quote
  #291  
Old 03-10-2009, 08:56 PM
beezo beezo is offline
 
Join Date: Dec 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by maipoman View Post
Do you mean that you get the vB-avatar and link to vB-profile in Wordpress? If so, please share how you got it working!

For me, the bridge works - but avatars or link to vB-profile is not imported into WP.
I am not totally, totally sure. But I followed the instructions to the T. (Added code after the part it told me, replaced what I needed to replace all in comments.php)

After I tested the bridge which worked i integrated it. What I think my problem was, I was trying to comment on old posts that don't seem to work, but when I made a new post, I saw my avatar and link to the post on VB and their profile. Have you tried doing a new post. I also have VB handling my comments.
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 06:48 AM.


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.09869 seconds
  • Memory Usage 2,360KB
  • 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
  • (4)bbcode_code
  • (3)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