The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom vB pages - Please help
Ok.
Check this, I have these files. audio.inc - has my custom code in audio.php - has the following code in PHP Code:
Everything works, except all $variables taken from the audio.inc are not processed. So I get links like $session[sessionhash] instead of the session id, and $bbtitle instead of the name of the site. Any idea how to make it process the $variables? Or is there a another way to do this? |
#2
|
|||
|
|||
Did you add a require() to the global.php file for audio.inc?
|
#3
|
|||
|
|||
I would like to offer you a bit of advice...change audio.inc to audio.inc.php for security reasons. PHP can't parse inc files and anyone can view them if they know the file name as well as do nasty things to your db.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|