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)

WouterN 05-13-2009 12:03 PM

Quote:

Originally Posted by glowinggal (Post 1809990)
anyone using this with wordpress 2.7.1?

Yep, I do.

glowinggal 05-13-2009 12:36 PM

yea! i'm working on installing this today on our test wordpress development - we have almost 100k members and will post back on how it works out :)

diosrl 05-13-2009 02:53 PM

Any chance this would eventually work on subdomains? I have multiple subdomains, like blog, forum, links, and more to come. I truly like this script but I think I cannot give up subdomains :(

amjadz4 05-13-2009 03:57 PM

Quote:

Originally Posted by lucalucius (Post 1809645)
It's a problem if I have the forum in a subdomain?

WP : http://www.domainname.com/
ForumVB : http://forum.domainname.com/

Regards

Yes, it wont work. Mod limitation.


Quote:

Originally Posted by glowinggal (Post 1809990)
anyone using this with wordpress 2.7.1?


Yes, I am. Works perfectly! :)

Quote:

Originally Posted by diosrl (Post 1810099)
Any chance this would eventually work on subdomains? I have multiple subdomains, like blog, forum, links, and more to come. I truly like this script but I think I cannot give up subdomains :(

You can use subdomain redirects. I am having no problem with that.

icewarp 05-14-2009 03:06 AM

Quote:

Originally Posted by Lowestoft Life (Post 1790146)
I have this installed using VB 3.8.2 and WP 2.7.1. The test post worked fine, however when replies to the test post are made on VB they are not showing as comments on my Wordpress site, which I believe they should be doing unless I have misread something?

Comments made on the Wordpress side are not transmitted as replies to the post on the forum either, so i'm not sure which way round this is supposed to work.

Also before installing the hack I had just 1 member on VB (me) but quite a few on WP. I notice mapping users has not created forum accounts for the WP members automatically - are they expected to create seporate accounts for VB?

I am having the exact same problem. Does anyone have any clue on this?

peleh 05-14-2009 04:20 AM

Quote:

Originally Posted by Shinichi_bien (Post 1796236)
in vbbridge.php

just before

PHP Code:

add_action('publish_post''Vbridge_Post'); 

but you can add anywhere that you want, I put it there to keep it close to the add_action (easy to remember)

please change the posted code to the following, add this filter only in admin end

PHP Code:


if (is_admin()) {
add_filter('wp_dropdown_users''vb_post_author');
function 
vb_post_author($output) {
    global 
$post;

    
$vb_post_author get_userdata($post->post_author);
    
$output str_replace('</select>','<option value="'.$post->post_author.'" selected>'.$vb_post_author->username.'</option></select>',$output);
    echo 
$output;
}



Thank you for this, worked here.





About the author link going to vbulletin profile, does anyone here tried this code?

PHP Code:

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 (function_exists('Comment_Handler') and $vbridge == '') {

    
$vbridge Comment_Handler($post->ID);

    global 
$vbulletin
}

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

<?php
}
else {

    
the_author();

}
?>

It was writen in the readme, doesnt work here since i dont have the_author on the files, its ... :{

Here is a bit of my theme's code:
PHP Code:

<div class="postmetadata">Posted by <?php the_author_posts_link(); ?> at  <?php the_time('F  j,  Y'?>  <a href="<?php the_permalink(); ?>#discussion"></a></span>
                <span id="digg"><?php digg_this(); ?><span>


peleh 05-15-2009 05:58 AM

About the post above, i got it working by folowing this tutorial, which is not exactly like the readme instructions: http://www.sisak.info/wp-content/plugins/readme.txt

The important part:
PHP Code:

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); 
###
?>

The author code:
PHP 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();
}
?>


EagleNick 05-15-2009 01:40 PM

Quote:

Originally Posted by SABRSox (Post 1768450)
I've noticed an issue. When I auto-integrate, the bridge seems to confuse the wordpress userid with the vbulletin userid.

For example, say I, with userid #2 on the blog, writes a post. With auto-integrate, it will list on the wordpress blog the article as written by whomever has userid #2 on vbulletin.

Has a fix been posted? I'm having the same issue and it's annoying.

peleh 05-15-2009 05:40 PM

Quote:

Originally Posted by EagleNick (Post 1811186)
Has a fix been posted? I'm having the same issue and it's annoying.

I guess this mod was made to run a fresh install, but you can get around that by hijaking some user accounts on your forum that match the wordpress user ID. Also, you can edit wordpress user ID at the database, but i really dont know if that could bring more problems.

EagleNick 05-15-2009 08:07 PM

Quote:

Originally Posted by peleh (Post 1811345)
I guess this mod was made to run a fresh install, but you can get around that by hijaking some user accounts on your forum that match the wordpress user ID. Also, you can edit wordpress user ID at the database, but i really dont know if that could bring more problems.

That's a good idea about changing the WordPress user ID. I don't see it having any adverse affects. We'll see. :)


All times are GMT. The time now is 04:56 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.02091 seconds
  • Memory Usage 1,772KB
  • 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
  • (6)bbcode_php_printable
  • (9)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