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
  #962  
Old 12-24-2009, 02:24 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zordrack View Post
I have a problem with vbridge plugin -- a conflict with vbulletin gzip compression.
I'm sorry if I didn't notice any previous discussion about this, I had read this thread, but not very carefully, I'm almost 18 hours coding and debugging today.

So, the problem is: turning on gzip compression in vbulletin admin panel causes wordpress with activated vbridge plugin to go somewhat nuts.
Instead of any wordpress page you can only see corrupted first page of vbulletin.
Turnin gzipping off eliminates the trouble, but that's not a nice solution, I think.

A little research turned out that critical line is line 88 in file vbridge.php
Code:
require_once($vwd . '/global.php');
. When gzipping in vbulletin is on, this inclusion results in immediate output of forum's front page and termination of all scripts.

So, the question is -- is there any way to suppress gzipping mode for vbridge inclusion, but leave it on for normal forum operation?

PS: Sorry if my text isn't easy to understand, I'm not native English...
You get gzip error problems when gzip is already enabled on your server. I think it has nothing to do with vbbridge. I this problem when I moved servers and discovered that if gzip is enabled on the server, vbulletin's implementation of gzip croaks. Check your server settings in phpinfo and you will probably find that gzip is enabled already. It has nothing to do with the elegance of the solution, that is the way it works.

HTH
Reply With Quote
  #963  
Old 12-24-2009, 05:32 AM
1up_dave 1up_dave is offline
 
Join Date: Jul 2008
Location: Ohio, USA
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've found a temporary fix for the "admin/first user" bug.

The dilemma: I'm working on a project that is requiring a pretty complex setup, and this plugin was a crucial part of it, especially due to the fact that we need to fully support multiple contributors. Unfortunately, we ran into a huge issue during development, the issue being a bug where the author ID would change to 1, no matter who was editing it.

Ultimately, it came down to a box on the post editor which allows one to change the current author of the post being edited. This box works fine without the plugin active because it would pull the list of authors from the WP database, but the vB bridge does not push it's users into WP, so WP would still only find the same users in it's database. That means when anyone edited the post and saved it, the author box would default to user #1 (usually 'admin'), because, as I mentioned earlier, it does not "see" any of the vB users.

The solution:
Make A BACKUP Of Both Files BEFORE You Make ANY Edits!
These are core files, and can ruin your Wordpress backend. You Have Been Warned!



Open: wp-admin/includes/edit-form-advanced.php
Find and Delete/Comment:
PHP Code:
$authors get_editable_user_ids$current_user->id ); // TODO: ROLE SYSTEM
if ( $post->post_author && !in_array($post->post_author$authors) )
    
$authors[] = $post->post_author;
if ( 
$authors && count$authors ) > )
    
add_meta_box('authordiv'__('Post Author'), 'post_author_meta_box''post''normal''core'); 

Open: wp-admin/includes/edit-page-form.php
Find and Delete/Comment:
PHP Code:
$authors get_editable_user_ids$current_user->idtrue'page' ); // TODO: ROLE SYSTEM
if ( $post->post_author && !in_array($post->post_author$authors) )
    
$authors[] = $post->post_author;
if ( 
$authors && count$authors ) > )
    
add_meta_box('pageauthordiv'__('Page Author'), 'post_author_meta_box''page''normal''core'); 

That's it!
I'd love to figure out how to make the plugin disable this box, and will probably try to do so once this project is done, unless the developer beats me to it. One last reminder: Because we made core file edits, there's a strong chance that the changes you've just made will be overwritten in future upgrades.
Reply With Quote
  #964  
Old 12-28-2009, 07:17 PM
M4GN3T M4GN3T is offline
 
Join Date: Dec 2008
Location: Holland
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working with vB4.0 or not?
Reply With Quote
  #965  
Old 12-28-2009, 10:31 PM
AndyAA AndyAA is offline
 
Join Date: Dec 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to display the authors details / about me (Biography, Location, Interests, Occupation ) in a post?

I have tried various solutions such as:

<?php echo $vbulletin->userinfo['location'] ?><br />
<?php the_author_ID(); ?>
<?php the_author_meta(); ?>
<?php the_author_description(); ?>

but no luck

I am desperate to find how to do this and have't had much success googling or searching for it.
Reply With Quote
  #966  
Old 12-29-2009, 11:54 AM
amjadz4's Avatar
amjadz4 amjadz4 is offline
 
Join Date: Aug 2007
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey people i'm back!!

Quote:
Originally Posted by M4GN3T View Post
Is this working with vB4.0 or not?
Yes I have confirmed and tested it works with WP 2.9 and vB 4.0.0 Gold.

Quote:
Originally Posted by AndyAA View Post
Does anyone know how to display the authors details / about me (Biography, Location, Interests, Occupation ) in a post?

I have tried various solutions such as:

<?php echo $vbulletin->userinfo['location'] ?><br />
<?php the_author_ID(); ?>
<?php the_author_meta(); ?>
<?php the_author_description(); ?>

but no luck

I am desperate to find how to do this and have't had much success googling or searching for it.
What post? vbulletin or wordpress?
Reply With Quote
  #967  
Old 12-30-2009, 03:57 AM
MikesSite MikesSite is offline
 
Join Date: Jan 2009
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed and working great on 3.8.4. Thanks for the great mod, dev! Also thanks for the help with the install amjadz4!
Reply With Quote
  #968  
Old 01-01-2010, 08:26 PM
AndyAA AndyAA is offline
 
Join Date: Dec 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amjadz4 View Post
Originally Posted by AndyAA
Does anyone know how to display the authors details / about me (Biography, Location, Interests, Occupation ) in a post?

I have tried various solutions such as:

<?php echo $vbulletin->userinfo['location'] ?><br />
<?php the_author_ID(); ?>
<?php the_author_meta(); ?>
<?php the_author_description(); ?>

but no luck

I am desperate to find how to do this and have't had much success googling or searching for it.



What post? vbulletin or wordpress?
In Wordpress please...I am desperate for a solution
Reply With Quote
  #969  
Old 01-01-2010, 09:17 PM
flyah flyah is offline
 
Join Date: Oct 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this really work with vb4.0? I mean, no bugs or whatever?
Reply With Quote
  #970  
Old 01-02-2010, 03:27 AM
amjadz4's Avatar
amjadz4 amjadz4 is offline
 
Join Date: Aug 2007
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndyAA View Post
In Wordpress please...I am desperate for a solution
Hmm, should not be hard. I think it can be done using simple SQL commands and PHP. Also you have to include vBulletin's global.php before calling any variable.

Quote:
Originally Posted by flyah View Post
does this really work with vb4.0? I mean, no bugs or whatever?
Yes it works. no bugs or whatever.
Reply With Quote
  #971  
Old 01-04-2010, 09:00 AM
AllinJac AllinJac is offline
 
Join Date: Nov 2009
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the NUBIE question here but I am having a hell of a time finding

the_author

where is this located.... Is it in WordPress or vBulletin and can anyone tell me which file...

I went through every PHP file and could not find a single instance of the_author...

Thanks in advance for the helping!!!

http://allinjac.com/blog
http://allinjac.com/forums
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:37 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.05887 seconds
  • Memory Usage 2,372KB
  • 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
  • (2)bbcode_php
  • (6)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
  • (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