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)

bfburger 02-09-2008 09:50 PM

Hi,

Great mod....thank you!!!

Everything is working perfectly except my comments from the forum are not showing in wordpress. I made the template changes per your instructions. Any help is greatly appreciated!

I have included the modified template files for reference.

Thank you,

Brian

SoftDux 02-10-2008 06:28 PM

Hi

Can anyone please help me? I don't see the forum when I want to make a test post.

My forum is installed http://www.webhostingtalk.co.za & Wordpress on http://www.webhostingtalk.co.za/blog/ - both use the save DB.

dicegame 02-11-2008 01:38 AM

Hello Jafo! :)

Just a quick questioned i've installed this mod but whenever another admin clicks on site admin it forwards them to my forums url. I'm an admin on my site and it works perfectly fine for me when i click on site admin.

Thanks,
Tom

ikki83 02-11-2008 06:12 AM

hi folks! i've got a problem. when i write into wordpress the post is cut, so i can't write nothing long more 3 lines... why?

dicegame 02-11-2008 09:20 PM

I had the same problem. Change the character encoding back to UTF-8.

WEBclay 02-12-2008 06:28 PM

Quote:

Originally Posted by Jafo232 (Post 1436921)
My bad.. You have only shown me the partial code, would need to see everything you did.


No problems, here you go:

single.php
PHP Code:

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

<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 style="clear:both;">&nbsp;</div>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php $vbridge 
Comment_Handler($post->ID); ?>

<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('Read the rest of this entry &raquo;'); ?>
<div style="clear:both;">&nbsp;</div>

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




<?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 echo comment_ID() ?>">
            <?php echo $vbridge[vb_parser]->do_parse($reply->pagetextfalsetrue); ?>
            <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
?>

<p class="postmetadata alt">
<small>
This entry was posted on <?php the_time('l, F jS, Y'?> at <?php the_time() ?> and is filled 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 />
GOOGLEADS
</div><!-- END CONTENT_right -->

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

<?php get_footer(); ?>


A7la_3alm 02-12-2008 08:50 PM

Hellow every body,
I install this bridge and work good but I have two problems, I will talk about one now because I need asolution for it nowadays.

The first problem that this bridge dont work with Arabic usernames,
I mean when the username in English, the user login at wordprss and be one of wordpress useres. but when username in Arabic its not working and the user not logged in at wordpress.
That because I let registeration in Arabic names. so I need to fix this problem

any idea?

Jafo232 02-14-2008 01:22 PM

Don't allow arabic characters, that should fix it.

BaselineAce 02-16-2008 03:20 PM

Quote:

Originally Posted by Jafo232 (Post 1392397)
No, it is not possible. You are confusing multiple databases with multiple domains. The domain restriction is still in effect.

Is there any way around this?

Wings69 02-16-2008 04:32 PM

I was thinking of getting vbSEO - anyone had any compatability issues with this plugin and vbseo, or has it been working fine?

Thanks


All times are GMT. The time now is 12:19 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.02281 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
  • (2)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