The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to add Simple PHP code into header of each page?
I want to add a simple php code to a header of each page of my forum.
Problem is that if I edit the template and add something even so simple as: PHP Code:
Can someone tell me how to go about this? |
#2
|
||||
|
||||
Why not make a phrase and use that?
|
#3
|
||||
|
||||
You cannot put php in templates. You would need to use a hook (maybe a global one) to output a variable and then put the variable in the header template.
But, I like Bob's suggestion and that is what I have done on my forums in the past. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|