if it's a file add it to $globaltemplates array (found at the top of page):
HTML Code:
$globaltemplates = array( |
1 Attachment(s)
Well, the template is called by the file, but I'm not sure exactly where to edit the $globaltemplates array itself.
Apologies for noobing up your thread, I've actually wondered how to do this for awhile now. ;) |
I don't really know anything about that hack but you can add the template to the cache_templates hook (plugin):
$globaltemplates[] = 'adv_portal_photoplog_thumbs'; I recommend adding some kind of condition to it. Have you tried asking the author of the hack? It could just be something that he overlooked. |
Yeah, I posted in his thread, I'm just trying to do it myself so that I know how in the future. I didn't even think of just adding it to the hook. Thanks man. :)
|
the geek articles use the template cache, i have make a mistake in my modification but i can edit it :s where can i delete this template cache ?
|
I'm not sure what you mean. Have you asked the author of the hack?
|
princeton This article good for creating stand-alone pages, but I need wrote plugins, wich evalulate templates without modify standart forum code.
How ? PHP Code:
|
netwind,
follow the instructions found on this page: https://vborg.vbsupport.ru/showthread.php?t=99132 |
ok trying to follow this rule but still confused which i'm learning to cache this template because i have this on my forum
Code:
Uncached templates: Marquee_Text (1) PHP Code:
|
add the template to the cache_templates hook (plugin):
Code:
$globaltemplates[] = 'Marquee_Text'; |
All times are GMT. The time now is 06:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|