vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=177625)

vietfancy 10-23-2008 02:28 AM

One quick question:

If we post on WP... the post will then show in forum. (done)
but if we post in the forum... should it be posted at wp page as well?

Jafo232 10-24-2008 01:31 AM

No, they do not.

Xtrato 10-30-2008 02:25 PM

hi , ok so i installed the plugin right , however when i activate this plug in , the END Slash disappears , as in ... mysite.com/wp/ becomes mysite.com/wp and images disappear .

is there a way i can fix this , i tried mod rewrite , but taht does not work ether

Thank you for the help!

Fallback 10-30-2008 02:48 PM

This hack is GREAT and works perfectly except for one thing...

On category pages the posts in the listing do not have accurate comment counts. All posts are showing "0" comments even though they have comments. The comment counts are fine on the single posts and main page but not on category archives. Any ideas on how to fix this?

Toxist 11-05-2008 09:38 PM

I downloaded this, but after reading the Problems, I think I will wait before installing it. It is a Clever idea, I just am not that Savvy on trouble shooting. Tks though.

Tigratrus 11-11-2008 03:24 PM

But I can't seem to get the comment integration to function. our template has a comment.php that's almost certainly where the change from the readme needs to go, but everyway I've tried has broken it... It's a small file and I'm sure I'm just not splicing the change into the file right. comment.php looks like:

Code:

<?php // Do not delete these lines
        if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
                die ('Please do not load this page directly. Thanks!');

        if (!empty($post->post_password)) { // if there's a password
                if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
                        ?>

                        <p class="nocomments">This post is password protected. Enter the password to view comments.<p>

                        <?php
                        return;
                }
        }

        /* This variable is for alternating comment background */
        $oddcomment = 'alt';
?>

<!-- You can start editing here. -->

<div id="commentblock">
<?php if ($comments) : ?>

        <h4><?php comments_number('No Comments', 'One Comment', '% Comments' );?> on <?php the_title(); ?></h4>

        <ol>

        <?php foreach ($comments as $comment) : ?>
       
        <div class="commentleft">

                <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
                        <?php comment_author_link() ?> on
                        <?php if ($comment->comment_approved == '0') : ?>
                        <em>Your comment is awaiting moderation.</em>
                        <?php endif; ?>
                        <?php comment_date('D, jS M Y') ?> <?php comment_time() ?> <?php edit_comment_link('(Edit)','',''); ?><br />
                        <?php echo get_avatar( $comment, $size = '50', '' ); ?>
                       
        </div>

        <div class="commentright">

                <?php comment_text() ?>
                       
        </div>
       
        <div style="border-bottom:1px dotted #999999; margin-bottom:20px; padding:0px 0px 10px 0px; clear:both;"></div>
       
                </li>
       
        <?php endforeach; /* end for each comment */ ?>
       
        </ol>

 <?php else : // this is displayed if there are no comments so far ?>

        <?php if ('open' == $post->comment_status) : ?>
                <!-- If comments are open, but there are no comments. -->

        <?php else : // comments are closed ?>
                <!-- If comments are closed. -->
                <p class="nocomments">Comments are closed.</p>

        <?php endif; ?>
<?php endif; ?>

<div style="clear:both;"></div>


<?php if ('open' == $post->comment_status) : ?>

<p id="respond"><b>Tell me what you're thinking... <br />and oh, if you want a pic to show with your comment, go get a <a href="http://en.gravatar.com" >gravatar</a>!</b></p>

<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p>
<?php else : ?>

<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">

<?php if ( $user_ID ) : ?>

<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout &raquo;</a></p>

<?php else : ?>

<p><label for="name">Name <?php if ($req) echo "(required)"; ?></label><br />
<input type="text" name="author" id="name" value="<?php echo $comment_author; ?>" size="50" tabindex="1" /></p>

<p><label for="email">Email Address <?php if ($req) echo "(required)"; ?></label><br />
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="50" tabindex="2" /></p>

<p><label for="url">Website</label><br />
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="50" tabindex="3" /></p>

<?php endif; ?>

<!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>-->

<p><label for="words">Speak your mind</label><br /><textarea name="comment" id="words" cols="40" rows="10" tabindex="4"></textarea></p>

<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></p>

<?php do_action('comment_form', $post->ID); ?>

</form>

<?php endif; // If registration required and not logged in ?>

<?php endif; // if you delete this the sky will fall on your head ?>

</div>

If you could show me where I've gone astray I'd be glad to paypal what you feel is a reasonable donation ;).

Awesome, awesome mod, you can see what we're doing with it here: http://www.ikeafans.com/blog/

James and Susan

Tigratrus 11-11-2008 04:17 PM

Part of the problem seems to be something fundamental... As it usually is ;)

Everything in the configuration seems to be set up and working correctly, new entries are showing up in the designated vB forum as they should. Users logged into vB are able to access WP as they should and accounts are being created in the WP users correctly.

But when I create an entry logged into vB, the link to the author profile
Code:

<?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();
}
?>

doesn't happen. Instead the else kicks in and I just get the author's name. If I force the evaluation by changing it to
Code:

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

them I get a link:
Code:

http://www.ikeafans.com/forums/member.php?u=
:confused:

Something's not quite right... I think I found where in the various files to add the Vbridge Replacement code for comments (not in comments.php :P ), but that doesn't work either. As you can tell I'm not really familiar with WP templates yet, but I think I'm close to getting everything to work, just have something simple that's not working.

Any assistance would be greatly appreciated and we'd be glad to donate appropriately. Thanks for such a great mod!

James and Susan

StevenTN 11-12-2008 08:22 PM

I’m working on getting it installed (vb 3.7.3 + Wordpress 2.6.3).

I have the blog homepage taken care of in terms of noting the # of comments and directing them properly to the comment page. However, I am having problems with the single post page, where I want to be able to have it display the comments from the thread directly on the post, then offer to have the user post theirs by directing them to the forum.
Here’s an example of what I want (from the add-on example installs)…

http://www.jeffsrecipes.com/forum/showthread.php?t=2670

Our Wordpress staging area (it’s not live yet… trying to work out the kinks)…
http://www.thrillnetwork.com/wordpress/

Example post:
http://www.thrillnetwork.com/wordpre...h-blah#respond

Justin V 11-13-2008 05:42 PM

Ok, so everything is working out for me. I'm just wondering how we can get our site to let you login from the main page as opposed to having to login from the forum. Right now, people have to login from the forum in order to leave comments.

AdjaniB 11-13-2008 09:39 PM

I have 2 problems, first of all, i'm running vbulletin 3.7.3 Patch Level 1 and wordpress ver 2.6.3 and the problems are:

- When a user registers in vbulletin, it appears in wordpress, but 2 times! So I have 2 users with the same name/nick and everything in wordpress.
- A writer is trying to use the option of posting in the forum, he selects the forum but nothing happens in the forum.

Thanks.


All times are GMT. The time now is 01:53 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.01301 seconds
  • Memory Usage 1,768KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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