The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[Question] How to cached Templates
I have a question it's bugging me seeing that i'm getting a small script form a hack the post thank you hack at the bottom of the board :ermm: .
now this is what it read: Uncached templates: adv_portal_post_thanks_stats (1) Uncached templates: adv_portal_post_thanks_stats_bit (10) Is there a way to solve the problem or is a problem for the coders to resolve and how can i fix that problem.?????. Thank you in advance |
#2
|
||||
|
||||
add this to cache_templates hook:
$globaltemplates[] = 'adv_portal_post_thanks_stats'; $globaltemplates[] = 'adv_portal_post_thanks_stats_bit'; you can also use array_merge() |
#3
|
||||
|
||||
Quote:
Quote:
|
#4
|
||||
|
||||
it depends where this template is being used...
this code: PHP Code:
if the adv_portal_post_thanks_stats_bit and adv_portal_post_thanks_stats are displayed on the showthread.php page then you can just add it to the $globaltemplates array PHP Code:
PHP Code:
|
#5
|
|||
|
|||
Go to "Add Plugin" in the ACP.
Select the "Post Thank You" (or whatever you may say) as the product. Select "cache_templates" for the hook location Make the title something like "Post Thank You Hack cache templates In the large textarea add PHP Code:
|
#6
|
||||
|
||||
Quote:
now i will show you the two part i have the portal page and the forum page with the cache template problem.. portal page (cmps) : Uncached templates: adv_portal_post_thanks_stats (1) Uncached templates: adv_portal_post_thanks_stats_bit (10) Uncached templates: pagecompressor_stats (1) And forum page: Uncached templates: latestgallery (5) Uncached templates: pagecompressor_stats (1) if you can you can visit the site and see 4 ya self: http://www.puertotech.com user=TEST1 pass=TEST in caps your help is greatly appreciated trying to fix that problem |
#7
|
|||
|
|||
thanks solved my problems
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|