The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
php from templates
Currently busy with transforming a leaderboard to work inside vbulletin but is it possible to execute PHP directly from the Template files? or do i need to do this on a different way.
Kinda stuck on this now. for example: PHP Code:
|
#2
|
|||
|
|||
Your're right, you cannot put php in a template, and in vb4 you need to register all variables before using them in a template. The php code can either go in a plugin, or if you're creating a custom page it can just go in your php file.
|
#3
|
|||
|
|||
Thnx for the answer KH99, i will register all the variables as i think that will make it a more smooth integration in to vbulletin it self
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|