vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Easiest way to find your forum path? (https://vborg.vbsupport.ru/showthread.php?t=138569)

imk 02-06-2007 12:20 AM

Easiest way to find your forum path?
 
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

Quote:

Originally Posted by Redlinemotorsports (Post 1175646)
admincp > maintenance > php info

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

PHP Code:

<?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($path0, (strlen($path) - 14));

?>

Which you can upload to whatever location

Rickie3 02-06-2007 02:45 AM

1 Attachment(s)
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

Quote:

Originally Posted by Rickie3 (Post 1175719)
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


All times are GMT. The time now is 03:42 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.01032 seconds
  • Memory Usage 1,725KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete