The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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.
|
![]() |
|
|