PDA

View Full Version : Custom page question


chikuru
07-31-2012, 01:04 AM
How can I create a custom page on sub directory...

example:
vBulletin installation directory
http://www.domain.com

I want to create a custom vbulletin page on:
http://www.domain.com/folder/custompagehere.php

kh99
07-31-2012, 02:54 AM
Well, you could just create a 'folder' directory and put your script in it, but for that to work your script has to change the current directory to your vbulletin before including vbulletin files, like:

chdir('..');
require_once('./global.php');

chikuru
07-31-2012, 08:26 AM
great! Its working! Thank you!