The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Can someone help?
This should be easy for someone who knows some php...
Well, at my site, I currently run a gallery, I can't even call it a script, but it works. Code:
<? if(isset($page)){ if(is_file('/home/xxx/php/'.$page.'.php')) { include('/home/xxx/php/'.$page.'.php'); $file=$page.'.php'; } elseif(is_file('/home/xxx/php/'.$page)) { include('/home/xxx/php/'.$page); $file=$page; } else { echo "<font face=verdana size=1><b>Page \"$page\" is invalid."; } } else { include('/home/xxx/php/1.php'); $file='home'; } ?> What I wanted to do was add vB3's template system to it, but I couldnt get it to work. Would anyone kindly help me integrate the footer/header from vB3? I tried reading a guide posted here, but the way my "gallery" works gives me a hard time to make it work |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|