The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Include File in Template
I have a piece of code that is only suppose to run when the $denyadminip is put into a template. For some reason it is running everywhere on the forums. I know I set it to global, but it should only run when I put $denyadminip. Anyway here is the code:
Code:
<hookname>global_start</hookname> <phpcode><![CDATA[ob_start(); include('allowip.php'); $denyadminip = ob_get_contents(); ob_end_clean();]]></phpcode> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|