The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding PHP to Templates
I am trying to add a few line of php to a few templates, how can I do so?
|
#2
|
||||
|
||||
You can't run PHP code inside templates. You'll have to create a plugin and place your code in there.
Look here for more info https://vborg.vbsupport.ru/showthread.php?t=82625 |
#3
|
|||
|
|||
I am trying to add some php to my footer. Which hook would that be? I am sort of lost...
anyone? |
#4
|
||||
|
||||
Put your PHP script in a global hook like 'global_start'. Then call you variables inside the footer template.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|