Lampwrights Forum > Other Stuff > vBulletin Wordpress Bridge
Register Community Today's Posts Search

Reply
 
Thread Tools
02-15-2011, 12:05 AM   #1
adin
Junior Member
 
Join Date: Feb 2011
Posts: 3
Rep Power: 0
adin is getting browny points
Question Relative path, different subdomain

This is a *really* stupid question...in setting up the bridge, when it asks for the relative path to vbulletin install, I'm not sure what to give it—my blog and forums are on different root subdomains (blog.examp.com & forums.examp.com). I tried giving the bridge the relative *file* path (/subdomains/forums/httpdocs) but it isn't recognizing the vbulletin install.

I know I'm missing something stupid, but I'm a bit fried tonight. What am I missing?
adin is offline   Reply With Quote

02-15-2011, 08:10 AM   #2
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Quote:
Originally Posted by adin View Post
This is a *really* stupid question...in setting up the bridge, when it asks for the relative path to vbulletin install, I'm not sure what to give it—my blog and forums are on different root subdomains (blog.examp.com & forums.examp.com). I tried giving the bridge the relative *file* path (/subdomains/forums/httpdocs) but it isn't recognizing the vbulletin install.

I know I'm missing something stupid, but I'm a bit fried tonight. What am I missing?
Chances are then it will not work without modifying the script and may not work at all because they are on different host names.

You can give it a shot by editing the vbloader.php file:

Code:
@chdir($_SERVER['DOCUMENT_ROOT'] . $path);
Change this to the

Code:
@chdir('/full/path/to/forum/directory');
Of course, change to the actual COMPLETE file path to your forum directory.
Jeff is offline   Reply With Quote
02-15-2011, 08:03 PM   #3
adin
Junior Member
 
Join Date: Feb 2011
Posts: 3
Rep Power: 0
adin is getting browny points
Using the full file path seems to work, I got the 'Vbulletin has been located and is loaded into memory' message, so now I guess it's time to work on the commenting templates.

FEI, another solution that would work afaik, would be to create an alias/symlink/virtual directory across the subdomains (/blog/forums->/forums).
adin is offline   Reply With Quote
Reply

Tags

vbulletin wordpress bridge



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 12:32 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.