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
  #62  
Old 02-15-2009, 08:24 PM
RobInjection RobInjection is offline
 
Join Date: Jun 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had the plugin working fine before. Then I upgraded and it took away my WP access. I did not see any instructions to re-map users when upgrading
Reply With Quote
  #63  
Old 02-15-2009, 09:02 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Shana View Post
The admin account shouldn't be replaced under any circumstances, it's the original and has all the settings / permissions, no? I put all users as 'regular users' assuming the admin account would be there. I cannot disable the plugin and re-enable it as the settings are still there.

It would be nice if the admin account stayed while the others were imported.
Unfortunately, the Wordpress engine is not built that way. If you read a couple posts back, I show you how to disable the settings.
Reply With Quote
  #64  
Old 02-15-2009, 09:03 PM
RobInjection RobInjection is offline
 
Join Date: Jun 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Woohoo, thanks for the tip about editing my database. I got it working.

Now my question is, is there any way I can call the user's avatar and their User ID within Wordpress? Then, this would be bliss!

Thanks
Reply With Quote
  #65  
Old 02-15-2009, 09:03 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RobInjection View Post
I had the plugin working fine before. Then I upgraded and it took away my WP access. I did not see any instructions to re-map users when upgrading
You do not have to remap users. Are you sure you are logging in with a VB user that is an administrator?
Reply With Quote
  #66  
Old 02-15-2009, 09:08 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RobInjection View Post
Woohoo, thanks for the tip about editing my database. I got it working.

Now my question is, is there any way I can call the user's avatar and their User ID within Wordpress? Then, this would be bliss!

Thanks
Yes, you can. Make sure $vbulletin is global (global $vbulletin then:

Code:
<img src="<?php echo get_option('vbb_VBURL') ?>/image.php?u=<?php echo $reply['userid'] ?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'] ?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32">
Or if you mean the article AUTHORS avatar:

Code:
<img src="<?php echo get_option('vbb_VBURL') ?>/image.php?u=<?php echo $vbridge[thread_starter] ?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $vbridge['postusername'] ?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32">
Reply With Quote
  #67  
Old 02-15-2009, 09:41 PM
RobInjection RobInjection is offline
 
Join Date: Jun 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome thanks.

I just noticed that all my users have been mapped to be Administrators.

This is really weird, because in the settings page the only Users that I set to map to anything were Admins to Admins.

Did I do something wrong?
Reply With Quote
  #68  
Old 02-15-2009, 10:05 PM
RobInjection RobInjection is offline
 
Join Date: Jun 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to add to what I posted above,

All of my Wordpress users have been remapped. The plugin is causing WP to remap usernames to user IDs, resulting in all my post authors being changed.When I search for a user in WP the result would be a different user who is now occupying the 1st users previous ID.

Any idea why this is happening?
Reply With Quote
  #69  
Old 02-15-2009, 10:19 PM
AzzX's Avatar
AzzX AzzX is offline
 
Join Date: Sep 2007
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just noticed I have lost the Visual editor in Wordpress with the plugin enabled, disabling the plugin it comes back. See attached image.
I have tried disabling all my other plugins to find a conflict but couldn't find an issue.

The user list in Wordpress shows up as blank invalid users though the bridge is working fine using a vb admin. Is this OK?

Thanks.
Attached Images
File Type: gif vbbridge1.gif (15.8 KB, 0 views)
Reply With Quote
  #70  
Old 02-15-2009, 10:30 PM
RobInjection RobInjection is offline
 
Join Date: Jun 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you explain to me where I should declare the global $vbulletin?

I put this code into my comments section and it didn't work. It didnt grab any vB references.

Code:
<?php global $vbulletin; ?>

<?php echo $vbulletin->userinfo['username'] ?>'s

<img src="<?php echo get_option('vbb_VBURL') ?>/image.php?u=<?php echo $reply['userid'] ?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'] ?>'s Avatar">
Reply With Quote
  #71  
Old 02-16-2009, 01:56 AM
remotay remotay is offline
 
Join Date: Sep 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another serious issue, Perhaps it's because I'm upgrading....

Upon enabling the new version of the Vbulletin bridge, ALL of my Wordpress users show as 'administrator' on wordpress. I have them mapped to become 'subscribers'. The only users mapped to be admins are Administrators.... I Had to disable the plugin for security purposes. Ugh >_>. Any suggestions on getting this to work properly now...?
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 05:32 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.14334 seconds
  • Memory Usage 2,355KB
  • 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
  • (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
  • (3)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
  • (2)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