Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   vBulletin Wordpress Bridge (http://www.lampwrights.com/forumdisplay.php?f=13)
-   -   Relative path, different subdomain (http://www.lampwrights.com/showthread.php?t=57)

adin 02-15-2011 12:05 AM

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?

Jeff 02-15-2011 08:10 AM

Quote:

Originally Posted by adin (Post 174)
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.

adin 02-15-2011 08:03 PM

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).


All times are GMT -4. The time now is 06:54 PM.

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