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)

rcadden 01-12-2009 03:58 PM

I'm getting a vBulletinHook error, and I've tried uncommenting the line in the plugin, no dice. This is for cross-posting from WP2.7 to Vbulletin 3.8

Edit: had to reactivate the plugin in Wordpress first. D'oh!

Shaliza 01-12-2009 06:11 PM

This is strange. I could make posts just fine & they showed up on the forum, but after I checked auto-integrate, I tried to make a new post & this came up:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/xxx/public_html/xxx/wp-content/plugins/vbbridge.php on line 454
cannot load /home/xxx/public_html/xxx/xxxx/global.php. You should check your path!

The bold x's is the forum path I had set up. How do I fix this properly? The path must be right somehow if I was able to post before turning on auto-integrate.

rcadden 01-12-2009 06:49 PM

Quote:

Originally Posted by Shaliza (Post 1709994)
This is strange. I could make posts just fine & they showed up on the forum, but after I checked auto-integrate, I tried to make a new post & this came up:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/xxx/public_html/xxx/wp-content/plugins/vbbridge.php on line 454
cannot load /home/xxx/public_html/xxx/xxxx/global.php. You should check your path!

The bold x's is the forum path I had set up. How do I fix this properly? The path must be right somehow if I was able to post before turning on auto-integrate.

Interesting, I didn't change anything and it integrated just fine for me. Hmmm...

Shaliza 01-12-2009 08:39 PM

I tried to make the global paths absolute, but no luck.

MadsK 01-12-2009 09:49 PM

I got this to work with the path problem


REPLACE all instances of

chdir($_SERVER['DOCUMENT_ROOT'] . get_option('vbb_VBRPATH'));

WITH

chdir('/yourpath/path');
$vwd='/yourpath/path'';


This did it for me!

TyPenn613 01-13-2009 02:01 AM

I'm sure this is a dumb question, but I'm never the best when it comes to this stuff. I'm trying to integrate comments between VB and WP as well. I read in the Read Me about editing the templates. My dumb question is, where are these templates? I have found a number of files with the names specified, but none of them have the lines of code mentioned in the Read Me. Thanks guys.

vsumargo 01-13-2009 09:09 AM

I'm using this plugins. And now it works great! But i still have one problem. My posts on wordpress have tags like <strong> <img href. How to make vbulletin convert those tags into vbulletin format? Right now, vbulletin showing those tags as they are.
Thank you...

Shaliza 01-13-2009 12:54 PM

Yeah, I did those paths right after I installed it. I'm still having the global issue.

GoodOmens 01-13-2009 07:24 PM

Quote:

Originally Posted by GoodOmens (Post 1577339)
Is there a good way to pull the Username for the post from the WordPress post rather then from the person who publishes / last edits the post?

When a user is a contributor it seems to pull the user id from the person who hits publish (IE the Admin who approves the post) rather then the user who's name is attached to the article.

See http://www.lineagejunkies.com/?p=42 for a example.

Anyone else have this issue?

PGP 01-13-2009 10:08 PM

Quote:

Originally Posted by skariko (Post 1709547)
I try this but the link became:

http://http//www.etcetcetc

and it goes to a 404 page :)

hmmm it looks like get_option('vbb_VBURL') doesnt work for you...
for me i did this at all:
Code:

if ($logging_out and get_option('vbb_VBION')) {
        require_once('wp-includes/pluggable.php');
        wp_clearcookie();
        echo '<script> location.href="http://' . get_option('vbb_VBURL') . '/login.php?do=logout&url='. get_option('siteurl') .'&logouthash=' . $vbulletin->userinfo[logouthash] .'"; </script>';
} elseif ($logging_in and get_option('vbb_VBION')) {..... skipped



All times are GMT. The time now is 09:09 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.01397 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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