форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.5.x > vBulletin [3.5] Troubleshooting and Problems
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
RECON
Продвинутый
 
RECON's Avatar
Post How to cache a Template?
0

some mods have Uncached templates: medialoader_newpostbit etc...

how to catche these templates?
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
kerk
k0t
 
kerk's Avatar
Default
2

loock in module (product)
ex (smilies in quickreply):
PHP Code:
            <hookname>cache_templates</hookname>
            <
phpcode><![CDATA[if (THIS_SCRIPT == 'showthread' AND $vbulletin->options['quickreply'] > 0
            {
global 
$globaltemplates;
$globaltemplates array_merge($globaltemplates, array(
'editor_smilie',
'editor_smiliebox',
'editor_smiliebox_row',
'newpost_disablesmiliesoption'));
}]]></
phpcode
<hookname>cache_templates</hookname>
 
 
Milad
Продвинутый
 
Milad's Avatar
Default
1

Quote:
Originally Posted by kerk
loock in module (product)
ex (smilies in quickreply):
PHP Code:
            <hookname>cache_templates</hookname>
            <
phpcode><![CDATA[if (THIS_SCRIPT == 'showthread' AND $vbulletin->options['quickreply'] > 0
            {
global 
$globaltemplates;
$globaltemplates array_merge($globaltemplates, array(
'editor_smilie',
'editor_smiliebox',
'editor_smiliebox_row',
'newpost_disablesmiliesoption'));
}]]></
phpcode
<hookname>cache_templates</hookname>
I think this is mine, isn't it?
 
 
RECON
Продвинутый
 
RECON's Avatar
Default
0

thanks a lot.

wish all a happy 2006!
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 12:39 AM.


Powered by vBulletin® Version Nulled Edition
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...