![]() |
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? |
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.
|
That worked. Thanks!
|
All times are GMT. The time now is 11:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|