![]() |
ZH - Template Cache
This modification was brought to you by KXDesign http://www.kxdesign.com/ ~Hack name Template Cache ~Hack description This hack lets you cache your not cached templates.Let's say you discover that there is one extra query for a not cached template.What now?You are too lazy to make a plugin so you just enter the name into a simple vb option and you are done :) (Sepparate by commas) One of the most simple hacks ever done (only like 6 lines :p) ~Hack options
~Hack info File uploads: 0 File edits: 0 Templates: 0 Template edits: 0 Plugins: 1 SQL Queries: 0 Phrases: 5 Settings: 2 Hooks: 0 Install time: 3 sec Install level: Easy ~Hack installation Step 1: Import Product ~Hack screenshots None ~Hack copyright This may not be distributed,released or claimed as your work without author's permission. |
~Reserved~
|
Tks for share!
You rock! all the best beduino |
I don't rock I suck.This is the most easy code I ever wrote :-/
|
Thanks for this Mod.
Keep it up |
So this reduces the amount of Queries needed (if a template is uncached) ?
|
If a template is not yet cached so yes.
|
Also ... for where we put the Templates not cached. Do we put a space between them? colon? asteriks? chocolate bar? ;) heh ...
Edit: Awesome .. trying to speed things up on my site so .. this may help a lil |
Into the vboptions sepparated by commas
|
kk ... heh. Tried spaces didn't work. that was my next guess :)
|
Hmmm Ok ... tried comma and they are still showing up uncached O.o
|
paste exactly how you typed it in
|
mysmilies_imagebit,postbit_legacy,petz_postbit,cus tom_About,usercp_reputationbit s_gv,groups_usercp_groupsbits,adv_portal_randompro file
I've also tried a space after the comma and both after and before O.o |
Try wrapping them in single quotes
|
Nope :( If I just put one template name it works fine. But Multiple it won't.
|
Hm I look into this
|
Hi Ziki
Just installed this and yeah ya can only add 1 template, i have tried multiple ways i.e. , . ; and so on , cant wait till its working 100% i have just been lazy with the uncached on my forum lol |
1.0.1 released
Fixed the multiply templates thing |
Hi Ziki, fraid not, i have mine like this vbrecycle_sttv,brecycle_blank,vbrecycle_fdt and it aint working.... :(
|
Amazing :)
|
Quote:
|
Yes I believe so he didn't
|
how find uncached templates?
|
You enable debug mode.For more info refer to vBulletin manual or install my debug mode hack ;)
|
Working fine this morning, Sort of, It will cache 3 templates, but when i try to cache some webtemplates templates it wont cache them.
These are part of Logicans WebTemplates |
Never heard of that hack
|
Great hack! used and working like a charm - thanks for this. .thumbsup.
|
Glad you like it.But please somebody say I am an +++++++ that I am releasing this :)
|
Quote:
|
Thank you :)
|
Awesome hack, I had quite a few of these that weren't cached, now they are!!!
You are A++++++++ Installed. |
OK I think calling me an +++++++ is now enough :p
|
Template to be cached ???
|
Enabled debug mode,scroll to bottom and the ones in red are not cached
|
Comma doesnt work for me either, neither does comma and space. How can more templates be cached? (im using latest version and vb is 3.6.5)
|
Are you sure you are using latest?Try uninstalling and reinstalling
|
Ok it works now.
|
Working fine :D Tks Ziki.
A question: Uncached templates don't means [in general] bad function? I love this hack but... we can stay for ever with fix uncached templates? Other question, In case of multiples uncached templates we use commas or quotes? Tks a lot Beduino |
Ok, can someone tell me exactly where to turn Debug Mode "ON"?
Thanks Regards, Badger |
Quote:
ziki has a debug mode hack and survivor hack you see https://vborg.vbsupport.ru/showthread.php?t=130212 here all the best beduino |
All times are GMT. The time now is 06:38 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:
|