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)

Jafo232 12-12-2007 12:25 AM

Quote:

Originally Posted by pericolosogr (Post 1399495)
My issue now...i want every comment in vbulletin to show up in wordpress and every comment in wordpress to show up in vbulletin...to be synchronised if you catch me, is it possible?

Well, if you follow the template edits, you can make the replies to the Vbulletin post, show up inline in WP.. You have to choose which comment method to use, VB or WP..

Quote:

Originally Posted by testaj (Post 1399515)
That's what I was thinking. Is it supposed to have the full "http://" stuff in it. Right now I've got just "mysite/forums" in it, I'll try including the full URL (I'm an idiot, don't know why it just now struck me as a possibility) and see what happens. Thanks for the reply.

Yes, URL's generally contain http:// in them. :)

pericolosogr 12-12-2007 01:34 AM

Quote:

Originally Posted by Jafo232 (Post 1399544)
Well, if you follow the template edits, you can make the replies to the Vbulletin post, show up inline in WP.. You have to choose which comment method to use, VB or WP..



Yes, URL's generally contain http:// in them. :)


Well i edited the index.php file
Here i attached both files...the edited one is the one i use...

i tried posting from vbulletin but the post didnt show up as comment in wp...
i tried making a comment in wp but it didnt show up as a post in vbulletin

Jafo232 12-12-2007 03:46 AM

Not sure what you did, but you can see it working inline here:

http://www.xboxcircle.com/

Just click an article title that has more than 0 comments.

iansilv 12-12-2007 09:28 PM

wordpress MU- any possibility of supporting this in the future?

Jafo232 12-12-2007 11:47 PM

Quote:

Originally Posted by iansilv (Post 1400123)
wordpress MU- any possibility of supporting this in the future?

No.

cooltechie 12-13-2007 02:35 AM

I am unable to get back into wp-admin after saving my settings.

Here's the error message:
Fatal error: Cannot redeclare is_valid_email() in /home/public_html/forum/includes/functions.php on line 715

Jafo232 12-13-2007 06:06 AM

Sounds like you have a current plugin in wp that is conflicting..

CaraEurope 12-13-2007 12:13 PM

Hello,

I just want to add a conversation in the forum when a blog entry is published. I do not need all the user bridging stuff (and I need trackbacks!).

Any hint how to strip the bridge off to this?

Regards,
Dennis

hollosch 12-13-2007 12:28 PM

Hello,
i want to use vB for comments.
I have following wordpress-theme and i can't find the code posted in the readme-file. No code like that in the theme-files...

Code:

IF YOU WANT TO USE VB For comments:

Find in any of the following templates: index.php, single.php, page.php. 

<!-- start post loop -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

ADD the following code after it:

<?php
### Vbridge Call
$vbridge = Comment_Handler($post->ID);
###
?>




Find this code (or similar code indicating the comment section of your template):

<?php wp_link_pages(); ?>
<!--  <?php comments_popup_link(__('0 Comments'), __('1 Comments'), __('% Comments')); ?>

And replace with this:

<?php
#### Vbridge Replacement code for comments

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 class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
                        <?php echo $vbridge[vb_parser]->do_parse($reply[pagetext], false, true); ?>
                        <small class="commentmetadata">
            &nbsp;&nbsp;&nbsp;&nbsp;<img src="<?php bloginfo('stylesheet_directory'); ?>/images/comment_arr.gif" alt="" />


            by <cite> <a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $reply[userid] ?>><?php echo $reply[username]; ?></a></cite>
            </small><br />
                </li>

        <?php /* Changes every other comment to a different class */       
                if ('alt' == $oddcomment) $oddcomment = '';
                else $oddcomment = 'alt';

}
}
?>
</ol>
<?php
}
?>
<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
?>





You can also now link authors usernames to their VB profile page.  Wherever you see the code:

<?php the_author() ?>

You can replace that with something like:

<?php
if ($vbridge[id] > 0) {
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $vbridge[thread_starter] ?>><?php the_author() ?></a>

<?php
}
else {
the_author();
}
?>

The Theme i use: http://themes.blogpimp.de/index.php?...Pimp+WorldNews

I hope somebody can help me...

Jafo232 12-13-2007 03:16 PM

Quote:

Originally Posted by CaraEurope (Post 1400436)
Hello,

I just want to add a conversation in the forum when a blog entry is published. I do not need all the user bridging stuff (and I need trackbacks!).

Any hint how to strip the bridge off to this?

Regards,
Dennis

Yeah, don't turn auto-integration on.


All times are GMT. The time now is 03:15 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.04481 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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