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)

Marc118 11-02-2007 12:25 AM

What format did you use when adding the full forum path? I can seem to get it to work with

home/XXXXX/public_html/forums/includes/functions_misc.php
public_html/forums/includes/functions_misc.php
forums/includes/functions_misc.php

misticjeff 11-02-2007 05:46 AM

Thanks Viverridae,

That worked perfectly!

Eric

2 X Viverridae 11-02-2007 07:49 AM

Quote:

Originally Posted by Marc118 (Post 1373871)
What format did you use when adding the full forum path? I can seem to get it to work with

home/XXXXX/public_html/forums/includes/functions_misc.php
public_html/forums/includes/functions_misc.php
forums/includes/functions_misc.php

I put the DirPath.php script (attached to this post) in my /forum directory, and ran it, which in my case on a funky fasthosts shared linux host for my test board, gave me the following for the path to my forum directory:
/home/fhlinux165/c/cannabismongoose.com/user/htdocs/forum


As I hardcoded the paths further on, I commented out line 43, making it:
Code:

// $vwd = getcwd();

I replaced line 350, which was:
Code:

require_once($vwd . '/includes/class_bbcode.php');

With:
Code:

require_once('/home/fhlinux165/c/cannabismongoose.com/user/htdocs/forum/includes/class_bbcode.php');

As WP no longer contains this file in 2.3.1, I commented out line 400, making it:
Code:

// require_once(ABSPATH . 'wp-admin/admin-db.php');

I replaced line 466, which was:
Code:

require_once($vwd . '/includes/functions_misc.php');

With:
Code:

require_once('/home/fhlinux165/c/cannabismongoose.com/user/htdocs/forum/includes/functions_misc.php');

Obviously, replace /home/fhlinux165/c/cannabismongoose.com/user/htdocs/forum with the path to your forums returned by the attached DirPath.php script run in your forum directory.

*I'd note that before I hardcoded the paths, I did try to change line 43 to:
Code:

$vwd = '/home/fhlinux165/c/cannabismongoose.com/user/htdocs/forum'
But it still gave me the line 466 error, so I went with hardcoding the paths, instead.

Cheers.

Blackhat 11-02-2007 07:06 PM

Thanks :)

I replaced line 43
Quote:

$vwd = getcwd();
to this and the errors are gone
Quote:

$vwd = ('/home/thelaten/public_html/forum');
It seems to work pretty good now, the posts are being posted at the forum, but the comments is still being directed to the wp comment system

I also get this error when looking at the source
Quote:

<b>Fatal error</b>: Call to undefined function: fetch_foruminfo() in <b>/home/thelaten/public_html/wp-content/plugins/vbbridge.php</b> on line <b>482</b><br />
Looks like it cant find the vb forums

2 X Viverridae 11-02-2007 07:27 PM

@ Blackhat: what versions are you running?

pericolosogr 11-02-2007 11:28 PM

Is this product still supported?

LBSources 11-04-2007 11:27 PM

Quote:

Originally Posted by WEBclay (Post 1350833)
Never mind Jafo. I didn't installed wp into the forum's database again, sorry for that. Works now like a charm...

What do you mean by this WEBclay? I'm getting the same error now. I have fresh VB and WP installs right now.. SO before going forward.. What shall I do that was not outlined in the install info?


NVM After merging the VB DB into the WP all is ok .. SO far.. Running into the same issue as blackhat, but havent completed the install just yet .. Will post back soon enough..

LBSources 11-05-2007 01:15 AM

Well .. Seems to work just fine as stated in the coders first post and with the help of 2 X Viverridae from his posts above.. I'm using VB as the commenting system also and this works with no problems. Its a bit clunky in that I'd rather see the VB portion somehow inline with WP rather then taking you completely to the VB forums interface and leaving WP totally..

Other than that no problems..

Anyone have an idea if what I'd like is possible? Any coders want to take a shot at it? PM me.. I've got a fresh WP and VB install so its not too much to mess with.

Thanks anyway ..

LBS

redraider 11-05-2007 08:00 PM

I have a problem. When I choose "post an exerpt" in the forum, the link to actual post in the blog doesnt show up, instead the link as <a href"" in the link. I am not sure what I missed. Could you help!

You can check a sample post here: http://www.scorechase.com/vb/showthread.php?t=6742

As you can see the continue reading doesnt show up as a valid link to the actual post.

It works fine if I take the exerpts off.

Thanks

LBSources 11-05-2007 08:28 PM

How did you get the inline comments to work? My install wants to take me to the forum to view the comments. How can I have them show up in the post/blog.


All times are GMT. The time now is 09:31 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.02017 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
  • (7)bbcode_code_printable
  • (5)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