The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Executing php code in templates from non-vb page
I'm sorry to have to ask for help but I've been searching the forums for an hour and haven't found my answer yet. I know this is really simply to do but yet I can't do it...I feel sad :disappointed:
EVERYONE here tells you how to make an external file integrateable with vb and use a template to show the info... this is good but not what I need. THIS is what I need: I have an external file, lets say test.php I have added a template called test The page displays with all vb functions enabled and I can edit the template and add new code. HOW do I execute php code from that file in the template? Obviously I can't use php code in the template itself.... so how do I make a $runtestfile call from the template to execute a block of php code in the test.php file? Here is the code: PHP Code:
I just want to be able to add a simply $somthing in the template to execute that specific code in the test.php file. I've tried the phpinclude_start template but then the vb functions are gone and so is all the formatting and the page ends after the $header is called in the test.php file... I'm so confused and frustrated - please help me get some sleep |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|