The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to know what template was loaded?
Hi all!
I want write a plugin (admincp ->Plugins & Products -> Add New Plugin) to manage some variables that I'll print it in template, my code will prepare the variables only for the templates that will be loaded in current page, like, if the template "ad_showthread_firstpost_start" will be loaded in current page, my code will prepare the variables for that template, if the template "pm_messagelistbit" will be loaded, my code will prepare the variables for "ad_navbar_below" and not for "ad_showthread_firstpost_start" etc... But to do that, I need to know what template will be loaded in current page... There is an array or something with current templates names? (not whole templates, only the group that will be loaded in current page) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|