![]() |
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 https://dl.dropboxusercontent.com/u/...B6582/here.PNG or here https://dl.dropboxusercontent.com/u/...582/orhere.PNG Is that possible ? Thanks in advance for all your help ! |
Have you not tried adding it to the header template
|
Yes I tried that. No error, but seems the php code is ignored. Or maybe I am doing something wrong ?!
|
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.
|
Thanks for the help Zachery.
I used this technique --> https://vborg.vbsupport.ru/showthread.php?t=242454 Works like a charm ! |
All times are GMT. The time now is 12:06 AM. |
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:
|