The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
PHP in vB 3.8.6 Templates
I need to use a bit of PHP code in my vBulletin 3.8.6 header template. I tried following the instructions in the docs, but it's not working.
I created an external PHP file at the root of my forums called realtree-nav.php. I created a plugin with the following contents: PHP Code:
In AdminCP > Styles & Templates > Default > header, I added the following: Code:
{vb:raw includedphp} In my forums, {vb:raw includedphp} shows up without being parsed. What have I done wrong? |
#2
|
|||
|
|||
I think you've used the version 4 template syntax (you need to choose the manual version from the drop-down menu to get the manual for older versions). For 3.8.6 just put $includedphp in the template where you want it to appear.
|
#3
|
||||
|
||||
That worked. Thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|