vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=134521)

BigJohnny 10-12-2008 12:25 AM

ya but what does it mean it wont be ported.

I thought the point of this mod is to allow someone to register on either wordpress or vb, and then they are registered for both by simply registering for one.

a user still has to have 2 different usernames??

PachiUniverse 10-13-2008 05:16 AM

Probably a stupid question but... Will this work with Mambo? And if not, is there one that will?

Thanks.

I've been wanting to bridge my front page with my forums for a while now.

http://www.pachiuniverse.com

dblaze 10-15-2008 11:40 AM

For some reason this plugin is showing a Search cannot be found error using 3.6.8 and 2.62

MaklooN 10-16-2008 01:07 AM

Great hack!
Is there a way to retrieve user avatar and date into WP when replacing WP comment system with vBuletin?

Thanks in advance

MaklooN 10-16-2008 01:14 AM

Quote:

Originally Posted by Razza (Post 1638885)
Hi,
I just got the plugin from www.vbulletin.org

I'm not sure what to put for these:

VB User ID: This is the userid comment threads will be started with IF the author is NOT REGISTERED with VB.

VB Username: This is the username comment threads will be started with IF the author is NOT REGISTERED with VB.

VB Forum ID: This is the default FORUM id where all comment threads will be posted unless another is selected. This also will indicate what forum will automatically be selected in the drop down menu on the write page.

And I am getting an error when I try to post:

Warning: main(/home/hhk/public_html/wp/wp-content/plugins/functions_wysiwyg2.php) [function.main]: failed to open stream: No such file or directory in /home/hhk/public_html/wp/wp-content/plugins/vbbridgeIII/vbbridge.php on line 96

Fatal error: main() [function.require]: Failed opening required '/home/hhk/public_html/wp/wp-content/plugins/functions_wysiwyg2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hhk/public_html/wp/wp-content/plugins/vbbridgeIII/vbbridge.php on line 96

I do not know where I am going wrong, and I am sure I have given the wrong details.

Can anyone please help?
Thanks

Razza, it looks like you created a folder for vbbridge in your WP plugins folder and you were not supposed to do that. Drop the 2 php files directly into plug-ins folder.

Hope that helps.

eplazai 10-16-2008 07:25 PM

I've visited Android Community.com, it seems to be bridged with this mod.

http://androidcommunity.com/android-...ates-20081016/ (an example).

The question is: Are they using this modification?



...Thanks

dblaze 10-17-2008 03:37 AM

For some reason this plugin is showing a Search cannot be found error using 3.6.8 and 2.62

rcadden 10-17-2008 09:25 PM

Awesome mod, works like a charm, but I've run into a bit of an issue - I have had my blog going for nearly 2 years, and am just now adding this forum.

1. As I have seen thus far, this is not retro-active, creating a new forum thread for every old post (which is a GOOD thing).
2. When I replace the comment text in my wordpress template, I've noticed that comments completely disappear for posts that do not currently have a vBulletin thread, which makes sense.

Would it be possible to include some php that says, basically, 'if this post was published before MM/DD/YYYY, then continue using the existing Wordpress comments code. If this post was published AFTER MM/DD/YYYY, then use this new vBulletin comment code.'

I realize I would then still need to monitor Wordpress' comments for older posts, but I think that would be the cleanest integration.

Or did I miss something?

Update: I got it taken care of, here's the code I used:

PHP Code:

<?php
$date1 
strtotime('2008-10-17');
$date2 strtotime$post->post_date );
if (
$date1 $date2) { 
#### Vbridge Replacement code for comments
    
if ($vbridge[id] > 0) {
    echo 
"<div class='comments'>";
    if(
is_single()) {
    if (
is_array($vbridge[replies])) {
    echo 
"<br /><br /><h3 id='comments'>Comments</h3><ol class='commentlist'>";

    foreach (
$vbridge[replies] as $reply) {
            echo 
"<li class=";
            echo 
$oddcomment;
            echo 
"id='comment-'";
            echo 
comment_ID();
            echo 
">";
            echo 
$vbridge[vb_parser]->do_parse($reply[pagetext], falsetrue);
            echo 
"<small class='commentmetadata'>";
            echo 
"&nbsp;&nbsp;&nbsp;&nbsp;";
            echo 
"<img src='";
            echo 
bloginfo('stylesheet_directory');
            echo 
"/images/comment_arr.gif' />";
            echo 
"by <cite> <a href=;";
            echo 
get_option('vbb_VBURL');
            echo 
"/member.php?u='";
            echo 
$reply[userid];
            echo 
">";
            echo 
$reply[username];
            echo 
"</a></cite></small><br /></li>";
        if (
'alt' == $oddcomment$oddcomment '';
        else 
$oddcomment 'alt';
    }
}
echo 
"</ol>";
}
echo 
"<a href=";
echo 
get_option('vbb_VBURL');
echo 
"/showthread.php?t=";
echo 
$vbridge[id];
echo 
">";
echo 
intval($vbridge[count]);
echo 
"comments</a> |";
echo 
"<a href=";
echo 
get_option('vbb_VBURL');
echo 
"/newreply.php?do=newreply&noquote=1&t=";
echo 
$vbridge[id];
echo 
">";
echo 
"Add your comments</a></div>";
}
##End Vbridge Replacement
} else {
echo 
"<div id='comments-template'>";
comments_template();
echo 
"</div>";}
?>

The date at the top is the cutoff date, so that newer posts use the forum comments, whereas older posts use the legacy Wordpress comments function. My old comments code is found in the last 4 lines, after the "} else {"

rcadden 10-18-2008 01:45 PM

Quote:

Originally Posted by Bjorn2404 (Post 1622338)
Nice mod. It was a bit tricky to install but it's great - using the latest version of vbulletin and wordpress.

I was having a problem with the links in vbulletin being incorrect - showing %postname% instead of the story title. I thought I'd post how I fixed it if anyone else was having a similar issue (I couldn't find a solution by searching but saw that others had experienced this).

If you change all instances of:

Code:

$link = get_permalink($the_post->ID, true);
to

Code:

$link = get_permalink($the_post->ID, false);
in vbbridge.php it fixes it. Upload the file and re-save your post and it should work (it did for me).

This worked great! I think I counted 4 different occurences, but I'd recommend loading it up in an editor with a find/replace function, rather than just manually changing it.

skubaman 10-21-2008 09:12 PM

How is this bridge working now with current versions? Are there known issues?

I am trying to decide whether to go with word press, or use vbulletins Blog.

I just want to make sure that every time there is a new release of wordpress or vbulletin I don't have to do several updates to the files.

Please let me know

Thanks


All times are GMT. The time now is 05:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01871 seconds
  • Memory Usage 1,770KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete