Log in

View Full Version : Easiest way to find your forum path?


imk
02-06-2007, 12:20 AM
anyone?

Brandon1
02-06-2007, 12:28 AM
Your FTP?

HMBeaty
02-06-2007, 12:36 AM
admincp > maintenance > php info

Shazz
02-06-2007, 12:55 AM
admincp > maintenance > php info

Configuration File Path
in the php info page would be it I think...
Or there is

<?php

if ($_SERVER['PATH_TRANSLATED'])
{
$path = $_SERVER['PATH_TRANSLATED'];
}
else if ($_SERVER['SCRIPT_FILENAME'])
{
$path = $_SERVER['SCRIPT_FILENAME'];
}
else
{
echo 'We are sorry, but this script is unable to determine your forums path.';
exit;
}

echo substr($path, 0, (strlen($path) - 14));

?>
Which you can upload to whatever location

Rickie3
02-06-2007, 02:45 AM
Upload forumpath.php to your server into your 'forums' folder where you have vBulletin installed, go to it in your browser, and it should print out the correct path to your forums.
eg:http://www.yoursite.com/forum/forumpath.php

Shazz
02-06-2007, 02:46 AM
Upload forumpath.php to your server into your 'forums' folder where you have vBulletin installed, go to it in your browser, and it should print out the correct path to your forums.
eg:http://www.yoursite.com/forum/forumpath.php

I guess I could have put my code in .php file :o