The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Insert php somewhere in / near header
Hi All,
I have created (basically tweaked some available free code) a small quotes database and some php code to retrieve a random quote. I would like to include that php code somewhere so that the random quote is display here or here Is that possible ? Thanks in advance for all your help ! |
#2
|
|||
|
|||
Have you not tried adding it to the header template
|
#3
|
|||
|
|||
Yes I tried that. No error, but seems the php code is ignored. Or maybe I am doing something wrong ?!
|
#4
|
||||
|
||||
You can't use raw php in vBulletin templates. You can check out articles here on vBulletin.org, or in the vBulletin.com docs on how to include external files, or parse your php into a variable for output in a template.
|
#5
|
|||
|
|||
Thanks for the help Zachery.
I used this technique --> https://vborg.vbsupport.ru/showthread.php?t=242454 Works like a charm ! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|