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)

LuisManson 08-25-2010 12:02 AM

its a shame this is not updated. at least vb cms is on pair with forum...
there is no warranty on this working after every vb upgrade :(

euantor 08-25-2010 07:03 AM

Got this working nearly fine with vBuleltin 4/WP 3. However, when I try to visit the forum that posts are being posted to, I get an Error 500 Internal Server Error. Posts are being posted to it and I can jump to the actual post, it's just the actual forum won't load.

MaverickEX 08-27-2010 02:41 AM

Quote:

Originally Posted by hayamakun (Post 2085406)
This added code allows the Wordpress front page (and probably some others that calculate comment count) to show the number of replies in the vb thread.

Note: I am using WP version 3.0.1 and VB version 3.8.6

In vbbridge.php, add to the end:

Code:

add_filter('get_comments_number', 'comments_count', 10, 2);

### Return Comment count
function comments_count($count, $postID = false) {
        global $vbulletin, $vwd;

        $wpdb =& $GLOBALS['wpdb'];
        $sql = "select vb_threadid FROM " . $GLOBALS['table_prefix'] . "posts where ID = '$postID'";
        $results = $wpdb->get_row($sql);

        $sql = "select replycount FROM " .  TABLE_PREFIX . "thread where threadid = '$results->vb_threadid'";
        $results2 = $wpdb->get_row($sql);

        return $results2->replycount;

}

That should work pretty well. Did some testing on it, seems to work fine.

Doesn't seem to work at all for me. Is there something missing here?

RCK08 08-29-2010 03:57 PM

hey looks like a great mod man, is this working, or is there a plan for a 4.0 version???, would love to use this....

ctweb 08-30-2010 02:42 PM

Quote:

Originally Posted by RCK08 (Post 2091147)
hey looks like a great mod man, is this working, or is there a plan for a 4.0 version???, would love to use this....

This works on vB 4.x and Wordpres 3.x..

Aaron Freed 08-30-2010 06:05 PM

I'm probably doing something incredibly stupid, but I can't figure out where I'm supposed to edit comments.php to get comment integration to work; the theme I downloaded from WordPress doesn't have the "You can start editing here" comment line. Furthermore, while posts to the WordPress show up on the forum, posts in the forum do not show up on the WordPress. This may be due to the fact that I'm not sure where to upload vbridge.php, which is not mentioned anywhere in the documentation. These are probably obvious questions answered elsewhere in the thread, but I don't have time to read forty pages before work.

fake83 08-30-2010 07:28 PM

I have this issue at the moment: sometimes the site kicks the users out and they cannot even connect to it for like 10-15minutes. Is a problem related to cookies? Anyone else experiencing the same problem?

Thank you

fmckinnon 08-30-2010 10:46 PM

Hey - I decided to discontinue this ... and now, we've got the default comments.php (from the wordpress install) loaded, and on all of our posts, we've got tons of errors as comments, like this:

Comments
3 Responses to Aaron Keyes “Blessing And Honour” – Story Behind The Song

Warning: call_user_func(twentyten_comment) [function.call-user-func]: First argument is expected to be a valid callback in /home2/twcadmin/public_html/wp-includes/comment-template.php on line 1335

Warning: call_user_func(twentyten_comment) [function.call-user-func]: First argument is expected to be a valid callback in /home2/twcadmin/public_html/wp-includes/comment-template.php on line 1335

Warning: call_user_func(twentyten_comment) [function.call-user-func]: First argument is expected to be a valid callback in /home2/twcadmin/public_html/wp-includes/comment-template.php on line 1335

These are happening on just about every article we posted (when the vbridge was turned on and comments.php modified to use vbulletin for commenting).

Is there any fix to this, or way to get rid of all those?

eitai2001 09-02-2010 03:02 PM

Hi Guys. Found the following issues with WP 3.0.1 and VB 4.0.5:
- If Auto-integration is on, and a user logs into WP admin without registering on WP itself (i.e. uses VB username), he is able to create an article, but if I edit it ... it is not possible to set his name as the author again. Also, if I do create a username for him in wordpress, and I use the Yoast Google Analytics plugin, then when I set a custom author as a variable, it shows as blank ... but only when the auto-integration is enabled.
-If I disable the auto-integration but leave the module on to creates threads for each article, then I am unable to add media to articles for some reason. I either have to disable the module or enable auto-integration to add media.

Just a heads up, I know this module is no longer supported.

420 09-05-2010 12:04 AM

My home page went down today, same problem as this guy
https://vborg.vbsupport.ru/showpost....&postcount=409

Has this bug been fixed in the code yet?


All times are GMT. The time now is 12:15 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.01813 seconds
  • Memory Usage 1,746KB
  • 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_code_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