vb.org Archive

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

GoodOmens 08-11-2009 04:13 PM

What is the SEO impact of cross posting?

How can I minimize the effect? Using "nofollow" on the links to comment?

Geek Specialtie 08-11-2009 07:39 PM

You can use the rel="canonical" tag. All the major search engines aknowledged they are supporting this.
There are Wordpress plugins for this and some themes have the function built in.

http://googlewebmastercentral.blogsp...canonical.html

Bounce 08-11-2009 10:58 PM

Does not work with vb3.8.4, gives wordpress a white page ARGHH!!! lol

thefilipinolink 08-13-2009 04:01 AM

I've overcome a few obstacles with this mod, but I'm stuck here:

I did the test post
I match up the usergroups (admin>admin)
but when i turn autointegrate on, the login appears with "ERROR: The username field is empty."

any ideas?

darry11 08-13-2009 11:35 PM

I'm having trouble with comments. When I post an article on my blog and comment from forum it works but when I comment from the the comment form on word press it doesn't work or show up. Help please.

MOGmartin 08-14-2009 05:18 PM

same problem as darry11 above me:

BUT - Im using a highly customised template, Ive inserted the code in seemingly the right place, but then the other single line snippets I have NO idea where to put, because the stuff that Im looking for to replace just doesnt exist!

my code currently looks like this:

PHP Code:

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

<div id="comments">
    <div id="commentlist">
<?php
    
if ( !empty($post->post_password) ) {
        if ( 
$_COOKIE['wp-postpass_' COOKIEHASH] != $post->post_password ) {
        return;
        }
    }
<?
php 
#### Vbridge Replacement code for comments
if (function_exists('Comment_Handler')) {

    
$vbridge Comment_Handler($post->ID);

    global 
$vbulletin
}

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 style="" class="comment byuser comment-author- bypostauthor even thread-even depth-1" id="comment-<?php echo $reply['postid'?>">
<div id="div-comment-<?php echo $reply['postid'?>">
        <div class="comment-author vcard">
<img src="<?php echo get_option('vbb_VBURL'?>/image.php?u=<?php echo $reply['userid'?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32">

        <a href=<?php echo get_option('vbb_VBURL'?>/member.php?u=<?php echo $reply['userid'?>><?php echo $reply['username'?></a>

        <span class="says">says:</span>
        </div>

        <div class="comment-meta commentmetadata"><a href="<?php echo get_option('vbb_VBURL'?>/showthread.php?p=<?php echo $reply['postid'?>"><?php echo vbdate($vbulletin->options['dateformat'],$reply['dateline']) . ' ' vbdate($vbulletin->options['timeformat'],$reply['dateline']) ?></a></div>

        <p style=""><?php echo $vbridge[vb_parser]->do_parse($reply[pagetext], falsetrue); ?></p>

        </div>
</li>

<?php
            
}
?>

</ol>

<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
?>

if ($comments) {
    $ping_count = $comment_count = 0;
    foreach ($comments as $comment){
        if(get_comment_type() == "comment"){ ?>
        <div class="index-comment comment">
            <div class="ic-avatar"><?php echo get_avatar(get_comment_author_email(), '37'); ?></div>
            <div class="ic-text">
                <div class="ic-meta ic-author"><?php echo get_comment_author_link(); ?></div>
                <div class="ic-content"><?php comment_text() ?></div>
                <div class="ic-meta ic-date"><?php echo get_comment_date('j F y'); ?> at <?php echo get_comment_date('H:i'); ?></div>
            </div>
        </div>
<?php    $comment_count++;
        } else { 
?>
        <div class="index-comment">
            <a name="#comment-<?php comment_ID() ?>">&nbsp;</a>
            <div class="ic-text nofloat">
                <div class="ic-meta"><?php echo get_comment_author_link(); ?> at <?php echo get_comment_date('H:i'); ?> on <?php echo get_comment_date('j F Y'); ?></div>
                <div><?php comment_text() ?></div>
            </div>
        </div>
<?php     $ping_count++;
        }
    }
}
?>
    </div>
    <span id="respond"></span>
    <?php if($post->comment_status == 'open' && get_option('slf_ajax') == && ($comment_count $ping_count) != 0) { ?>
        <div class="index-comment"><textarea class="respondtext single">Write a comment..</textarea></div><?php 
    
?>
    <div id="comment_form" class="index-comment" style="display: none">
    <?php if($post->comment_status != 'open') { ?>
        Comment form currently closed..
    <?php } else { ?>
        <form id="commentform" action="<?php bloginfo('wpurl'?>/wp-comments-post.php" method="post">
        <?php if($user_ID) { ?>
            <div class="form_login ic-avatar">
                <?php $user_email $wpdb->get_var("select user_email from $wpdb->users where ID = '$user_ID'"); ?>
                <?php echo get_avatar($user_email'37'); ?>
            </div>
        <?php } else { ?>
            <div class="form_input">
                <input id="author" name="author" type="text" class="focus" />
                <label for="author">Name</label>
            </div>
            <div class="form_input">
                <input id="email" name="email" type="text" />
                <label for="email">Email</label>
            </div>
            <div class="form_input">
                <input id="url" name="url" type="text" />
                <label for="url">Website</label>
            </div>
        <?php ?>
            <div class="form_comment">
                <textarea name="comment" class="focus <?php if($user_ID) { echo "commenttextright"; } ?>"></textarea>
            </div>
            <div class="form_submit<?php if ($user_ID) { echo "_right"; } ?>">
                <input type="submit" name="submit" value="Comment" class="submit" />
            </div>
            <input type="hidden" name="comment_post_ID" value="<?php echo $id?>" />
        </form>
    <?php ?>
    </div>
</div>

Any ideas where I need to put the extra bits in to get the comment engine working?

merk_aus 08-15-2009 11:06 PM

This doesn't seem to be working on vBulletin 3.8.4 - it is a shame as all I wanted to do was have it where people could register on my Word Press and they would appear as a registered user on the vbulletin forum.

Bounce 08-16-2009 09:38 AM

Quote:

Originally Posted by merk_aus (Post 1868201)
This doesn't seem to be working on vBulletin 3.8.4 - it is a shame as all I wanted to do was have it where people could register on my Word Press and they would appear as a registered user on the vbulletin forum.

same problem here :(

SaTaNaSsO 08-17-2009 03:19 PM

just installed in a 2.8.4 wp and 3.8.4 vbulletin...
works fine but i have a little question:

i created before the bridging 3 users in wp: 1#admin 2#supermoderator 3# moderator, and they were, admin, editor and author...
when i installed the plugin, these users became the user with the same id on vbulletin, so the articoles' author became the id 1 and 2 of the vbulletin, that was wrong for my site's author, so i tried to modify the articole on the admicp of wordpress, but when i have to choose the author, it appears only the first 3 user (admin supermod and mod) that i created before the bridging, so i cannot choose other authors...

any suggestion?

actually i don't show post author, but i'd like to...
:erm:

edit:
i found a little bug, when i try to change a template page on wordpress the link update give me an error:

Quote:

Warning: require_once(DIR/includes/functions_newpost.php) [function.require-once]: failed to open stream: No such file or directory in /home/.hobbikat/scooter_project/scooter-project.net/forum/includes/class_dm_threadpost.php on line 18
something goes wrong?
:(

edit2: i forgot to turn off the plugin,.... wooops... :D
now it's ok but the "author" problem is a bit boring...

SABRSox 08-18-2009 01:41 AM

Yeah, the author problem is incredibly annoying, and needs a fix.


All times are GMT. The time now is 10:34 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.02397 seconds
  • Memory Usage 1,801KB
  • 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
  • (2)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