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)

WEBclay 01-30-2008 04:44 PM

Quote:

Originally Posted by CyberRanger (Post 1432565)
The formating of your comments section must be breaking the page. Be useful if you posted the code for your single.php file.


Thanks I looked several times to the code but don't know where PHP stops to work...I will post the code maybe you can see something I couldn't

PHP Code:

<?php get_header(); ?>
<!--
***********************************************************************************************************
/* CONTENT
***********************************************************************************************************
-->
<div id="content_wrapper">
<div id="content_single">


<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

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

<div class="navigation">
<div class="alignleft"><?php previous_post_link('&laquo; %link'?></div>
<div class="alignright"><?php next_post_link('%link &raquo;'?></div>
</div>

<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

<div class="entry">
<?php the_content('<p>Read the rest of this entry &raquo;</p>'); ?>
<?php
if ($vbridge[id] > 0) {
?>
Posted by: <a href=<?php echo get_option('vbb_VBURL'?>/member.php?u=<?php echo $vbridge[thread_starter?>><?php the_author() ?></a>

<?php
}
else {
the_author();
}
?>
<?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], falsetrue); ?>
            <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
?>

<?php the_tags'<p>Tags: '', ''</p>'); ?>

<p class="postmetadata alt">
<small>
This entry was posted on <?php the_time('l, F jS, Y'?> at <?php the_time() ?> and is filed under <?php the_category(', '?>. You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.

<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.

<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.

<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.

<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.

<?php edit_post_link('Edit this entry.','',''); ?>
</small>
</p>

</div>
</div>

<?php endwhile; else: ?>

<p>Sorry, no posts matched your criteria.</p>

<?php endif; ?>

</div><!-- END CONTENT_SINGLE -->

<div id="content_single_right">
<br />
GOOGLE ADSENSE
</div><!-- END CONTENT_right -->

</div><!-- END CONTENT_WRAPPER -->    



<?php get_footer(); ?>


LICryptkeeper 01-30-2008 06:21 PM

I do not have access to my error log. I dont even have ftp access from work. anyways, I fooled around and got the post to show up, but no comments, i'm asuming thats goingt o work when i continue integration at home?

Jafo232 01-31-2008 01:12 AM

You must use the template edit for comments to show up.

WEBclay 01-31-2008 07:22 AM

You comments code is already there :) I just checked the readme and everything is fine...

pspcrazy 02-01-2008 11:49 PM

Jafo any word on the 3.7 plugin version? Still waiting on it if you let me know of any updates that would be most appreciated.

Jafo232 02-02-2008 01:20 AM

There will be no 3.7 version until 3.7 is released. I am not sure why everyone keeps asking this question. They should not be running 3.7 in production yet..

pspcrazy 02-02-2008 04:17 AM

There are many production type sites running 3.7.0 such as vbseo.com, and so on and they aren't exactly crashing or having issues. That's why were using 3.7.0 Jafo :)

superjeff 02-02-2008 11:04 AM

Plugin don't work with beta 4.. :(

Jafo232 02-02-2008 03:49 PM

Quote:

Originally Posted by superjeff (Post 1434516)
Plugin don't work with beta 4.. :(

Duh, no kidding.. Way to read up the original thread plus the zillion times I responded to every other question about 3.7. You should not be using 3.7 anyway..

Jafo232 02-02-2008 03:51 PM

Quote:

Originally Posted by pspcrazy (Post 1434363)
There are many production type sites running 3.7.0 such as vbseo.com, and so on and they aren't exactly crashing or having issues. That's why were using 3.7.0 Jafo :)

It is still BETA. When data gets corrupted I laugh at those using BETA versions of software. And if you have ever looked at the unencrypted versions of vbseo, you can understand why they are running 3.7 in production already.


All times are GMT. The time now is 05:11 PM.

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.02391 seconds
  • Memory Usage 1,784KB
  • 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_php_printable
  • (3)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