
01-30-2007, 08:17 PM
|
|
|
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by malenfant
Perfect, it was just the Database-Prefix that stopped the bridge from working.
Thank you Jafo!
One more question:
I want to get more users into my vbulletin-board. So it would be very useful if they get automatically from my blogarticle (by the #respond button) to the vbulletin thread that made bye the bridge! Is there any way to do that?
TY Marc
|
Not sure if you have, but the readme speaks a bit on how to do this:
Quote:
IF YOU WANT TO USE VB For comments:
You need to edit your template files wherever comments are included. Usually these are in index.php, single.php, page.php. You will need to find the comment code. Usually this appears as:
<?php wp_link_pages(); ?>
<!-- <?php comments_popup_link(__('0 Comments'), __('1 Comments'), __('% Comments')); ?>
You can replace that code with this:
<?php
#### Vbridge Replacement code for comments
$vbridge = Comment_Handler($post->ID);
if ($vbridge[id] > 0) {
?>
<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 comment here.</a>
<?php
}
##End Vbridge Replacement
Note, if you deactivate the vbridge plugin, you must remove this code.
|
|