![]() |
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:
|
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.
|
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
|
All times are GMT. The time now is 09:58 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:
|