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
  #742  
Old 08-11-2009, 04:13 PM
GoodOmens GoodOmens is offline
 
Join Date: Sep 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the SEO impact of cross posting?

How can I minimize the effect? Using "nofollow" on the links to comment?
Reply With Quote
  #743  
Old 08-11-2009, 07:39 PM
Geek Specialtie's Avatar
Geek Specialtie Geek Specialtie is offline
 
Join Date: Jul 2009
Location: Bloomington, Minnesota
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can use the rel="canonical" tag. All the major search engines aknowledged they are supporting this.
There are Wordpress plugins for this and some themes have the function built in.

http://googlewebmastercentral.blogsp...canonical.html
Reply With Quote
  #744  
Old 08-11-2009, 10:58 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does not work with vb3.8.4, gives wordpress a white page ARGHH!!! lol
Reply With Quote
  #745  
Old 08-13-2009, 04:01 AM
thefilipinolink thefilipinolink is offline
 
Join Date: Aug 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've overcome a few obstacles with this mod, but I'm stuck here:

I did the test post
I match up the usergroups (admin>admin)
but when i turn autointegrate on, the login appears with "ERROR: The username field is empty."

any ideas?
Reply With Quote
  #746  
Old 08-13-2009, 11:35 PM
darry11 darry11 is offline
 
Join Date: Mar 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having trouble with comments. When I post an article on my blog and comment from forum it works but when I comment from the the comment form on word press it doesn't work or show up. Help please.
Reply With Quote
  #747  
Old 08-14-2009, 05:18 PM
MOGmartin MOGmartin is offline
 
Join Date: Feb 2008
Location: London
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same problem as darry11 above me:

BUT - Im using a highly customised template, Ive inserted the code in seemingly the right place, but then the other single line snippets I have NO idea where to put, because the stuff that Im looking for to replace just doesnt exist!

my code currently looks like this:

PHP Code:
<?php
    
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
        die (
'Please do not load this page directly. Thanks!');
?>

<div id="comments">
    <div id="commentlist">
<?php
    
if ( !empty($post->post_password) ) {
        if ( 
$_COOKIE['wp-postpass_' COOKIEHASH] != $post->post_password ) {
        return;
        }
    }
<?
php 
#### Vbridge Replacement code for comments
if (function_exists('Comment_Handler')) {

    
$vbridge Comment_Handler($post->ID);

    global 
$vbulletin
}

if (
$vbridge[id] > 0) {
?>
<div class="comments">
<?php
    
if(is_single()) {
        if (
is_array($vbridge[replies])) {
?>
<br /><br />
<h3 id="comments">Comments:</h3>
<ol class="commentlist">
<?php
            
foreach ($vbridge[replies] as $reply) { 
?>
<li style="" class="comment byuser comment-author- bypostauthor even thread-even depth-1" id="comment-<?php echo $reply['postid'?>">
<div id="div-comment-<?php echo $reply['postid'?>">
        <div class="comment-author vcard">
<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">

        <a href=<?php echo get_option('vbb_VBURL'?>/member.php?u=<?php echo $reply['userid'?>><?php echo $reply['username'?></a>

        <span class="says">says:</span>
        </div>

        <div class="comment-meta commentmetadata"><a href="<?php echo get_option('vbb_VBURL'?>/showthread.php?p=<?php echo $reply['postid'?>"><?php echo vbdate($vbulletin->options['dateformat'],$reply['dateline']) . ' ' vbdate($vbulletin->options['timeformat'],$reply['dateline']) ?></a></div>

        <p style=""><?php echo $vbridge[vb_parser]->do_parse($reply[pagetext], falsetrue); ?></p>

        </div>
</li>

<?php
            
}
?>

</ol>

<a href=<?php echo get_option('vbb_VBURL'?>/showthread.php?t=<?php echo $vbridge[id?>>(<?php echo intval($vbridge[count]) ?>) comments</a> | <a href=<?php echo get_option('vbb_VBURL'?>/newreply.php?do=newreply&noquote=1&t=<?php echo $vbridge[id?>>Add your comments</a>
</div>
<?php
            
        
}
    }
}
##End Vbridge Replacement
?>

if ($comments) {
    $ping_count = $comment_count = 0;
    foreach ($comments as $comment){
        if(get_comment_type() == "comment"){ ?>
        <div class="index-comment comment">
            <div class="ic-avatar"><?php echo get_avatar(get_comment_author_email(), '37'); ?></div>
            <div class="ic-text">
                <div class="ic-meta ic-author"><?php echo get_comment_author_link(); ?></div>
                <div class="ic-content"><?php comment_text() ?></div>
                <div class="ic-meta ic-date"><?php echo get_comment_date('j F y'); ?> at <?php echo get_comment_date('H:i'); ?></div>
            </div>
        </div>
<?php    $comment_count++;
        } else { 
?>
        <div class="index-comment">
            <a name="#comment-<?php comment_ID() ?>">&nbsp;</a>
            <div class="ic-text nofloat">
                <div class="ic-meta"><?php echo get_comment_author_link(); ?> at <?php echo get_comment_date('H:i'); ?> on <?php echo get_comment_date('j F Y'); ?></div>
                <div><?php comment_text() ?></div>
            </div>
        </div>
<?php     $ping_count++;
        }
    }
}
?>
    </div>
    <span id="respond"></span>
    <?php if($post->comment_status == 'open' && get_option('slf_ajax') == && ($comment_count $ping_count) != 0) { ?>
        <div class="index-comment"><textarea class="respondtext single">Write a comment..</textarea></div><?php 
    
?>
    <div id="comment_form" class="index-comment" style="display: none">
    <?php if($post->comment_status != 'open') { ?>
        Comment form currently closed..
    <?php } else { ?>
        <form id="commentform" action="<?php bloginfo('wpurl'?>/wp-comments-post.php" method="post">
        <?php if($user_ID) { ?>
            <div class="form_login ic-avatar">
                <?php $user_email $wpdb->get_var("select user_email from $wpdb->users where ID = '$user_ID'"); ?>
                <?php echo get_avatar($user_email'37'); ?>
            </div>
        <?php } else { ?>
            <div class="form_input">
                <input id="author" name="author" type="text" class="focus" />
                <label for="author">Name</label>
            </div>
            <div class="form_input">
                <input id="email" name="email" type="text" />
                <label for="email">Email</label>
            </div>
            <div class="form_input">
                <input id="url" name="url" type="text" />
                <label for="url">Website</label>
            </div>
        <?php ?>
            <div class="form_comment">
                <textarea name="comment" class="focus <?php if($user_ID) { echo "commenttextright"; } ?>"></textarea>
            </div>
            <div class="form_submit<?php if ($user_ID) { echo "_right"; } ?>">
                <input type="submit" name="submit" value="Comment" class="submit" />
            </div>
            <input type="hidden" name="comment_post_ID" value="<?php echo $id?>" />
        </form>
    <?php ?>
    </div>
</div>
Any ideas where I need to put the extra bits in to get the comment engine working?
Reply With Quote
  #748  
Old 08-15-2009, 11:06 PM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't seem to be working on vBulletin 3.8.4 - it is a shame as all I wanted to do was have it where people could register on my Word Press and they would appear as a registered user on the vbulletin forum.
Reply With Quote
  #749  
Old 08-16-2009, 09:38 AM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by merk_aus View Post
This doesn't seem to be working on vBulletin 3.8.4 - it is a shame as all I wanted to do was have it where people could register on my Word Press and they would appear as a registered user on the vbulletin forum.
same problem here
Reply With Quote
  #750  
Old 08-17-2009, 03:19 PM
SaTaNaSsO SaTaNaSsO is offline
 
Join Date: Aug 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just installed in a 2.8.4 wp and 3.8.4 vbulletin...
works fine but i have a little question:

i created before the bridging 3 users in wp: 1#admin 2#supermoderator 3# moderator, and they were, admin, editor and author...
when i installed the plugin, these users became the user with the same id on vbulletin, so the articoles' author became the id 1 and 2 of the vbulletin, that was wrong for my site's author, so i tried to modify the articole on the admicp of wordpress, but when i have to choose the author, it appears only the first 3 user (admin supermod and mod) that i created before the bridging, so i cannot choose other authors...

any suggestion?

actually i don't show post author, but i'd like to...
:erm:

edit:
i found a little bug, when i try to change a template page on wordpress the link update give me an error:

Quote:
Warning: require_once(DIR/includes/functions_newpost.php) [function.require-once]: failed to open stream: No such file or directory in /home/.hobbikat/scooter_project/scooter-project.net/forum/includes/class_dm_threadpost.php on line 18
something goes wrong?


edit2: i forgot to turn off the plugin,.... wooops...
now it's ok but the "author" problem is a bit boring...
Reply With Quote
  #751  
Old 08-18-2009, 01:41 AM
SABRSox SABRSox is offline
 
Join Date: Apr 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, the author problem is incredibly annoying, and needs a fix.
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 04:57 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.07082 seconds
  • Memory Usage 2,404KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_php
  • (2)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