View Full Version : request phpfile outside board
n1ckn4me
02-12-2005, 05:50 PM
Hi all!
I was wondering how I can request an own-made-phpfile (where I included a script that includes a template made in vb) that is outside my board-folder ? (I still want to use the vb-commands in the requested own-made-phpfile :) )
thanks in advanced,
Greetzzz N1ckN4mE!
zemic
02-12-2005, 07:06 PM
I think this is what you need...........
Above:
require_once('./global.php');
put this:
chdir('<path to your forum/home/user/website/forum/');
So it looks like this:
chdir('/home/fhlinux199/k/kroozing.com/user/htdocs/forum/');
require_once('./global.php');
Was that it? :)
This could be an useful topic aswell
How to create your own vbulletin pages:
https://vborg.vbsupport.ru/showthread.php?t=62164
n1ckn4me
02-12-2005, 10:21 PM
Was that it? :)
YES!!
That was excatly what I ment! I succeeded in your advice so Thank you very much!
Catch ya around Zemic ;)
---
ps: one more thing tho....
do you or someone happen to know how I still can use my $stylevar command?
example:
<img src="$stylevar[imgdir_misc]/image.jpg">
(I could of course writeout the whole path but If there's an option that I still can use the $stylevar command than you make my day :D)
quadroplex89103
03-02-2005, 01:57 PM
toobad that using the global.php only gives you like half the features for instance you cant get a who is online thingor the board stats with it
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.