The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I need to create a brand new template that contains a PHP script in the main content section. I have tried but it only diplays the php code...thanks
|
|
#2
|
|||
|
|||
|
Your templates can not contain any php code
|
|
#3
|
|||
|
|||
|
oooooooooooooo he told you
lol just kidding
|
|
#4
|
|||
|
|||
|
You'll have to embedd it inside hooks for whatever page you are viewing the template on. If the template is on all pages, use global_start if its just on the forumhome use forumhome_complete plugin.
Once you define the variables in the plugins, you can call them in a template. |
|
#5
|
||||
|
||||
|
Hmm, I will try that thanks
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|