The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP in templates
This has prolly already been done but I can see it after searching. i want to "include" php files that displays various things in my header template but it only accepts normal HTML commands. Is there a way of using PHP in the templates. I am running on a Win 2k running IIS5 if thats any help.
TIA |
#2
|
||||
|
||||
there is just one template which supports php: phpinclude
include your file there |
#3
|
|||
|
|||
i have checked the template pdf file but its not very helpful. how do i use this to include a file that will be displayed somewhere just below the forum logo.
take a look at my forums in my sig link, i want to display the file results just above the pictures of dvds and just below the forum logo. |
#4
|
||||
|
||||
you have to change your included file to save all output into a variable and the put the variable where you want it
|
#5
|
|||
|
|||
you can always check this out:
https://vborg.vbsupport.ru/showthrea...threadid=43325 it allows for php to be used in templates regards.. g-force2k2 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|