View Full Version : Administrative and Maintenance Tools - 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
On/Off
Template to be cached
~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.
beduino
01-31-2007, 11:05 PM
Tks for share!
You rock!
all the best
beduino
I don't rock I suck.This is the most easy code I ever wrote :-/
lovelypk
01-31-2007, 11:42 PM
Thanks for this Mod.
Keep it up
Exitilus
01-31-2007, 11:57 PM
So this reduces the amount of Queries needed (if a template is uncached) ?
If a template is not yet cached so yes.
Exitilus
02-01-2007, 12:07 AM
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
Exitilus
02-01-2007, 12:10 AM
kk ... heh. Tried spaces didn't work. that was my next guess :)
Exitilus
02-01-2007, 12:15 AM
Hmmm Ok ... tried comma and they are still showing up uncached O.o
paste exactly how you typed it in
Exitilus
02-01-2007, 12:25 AM
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
Exitilus
02-01-2007, 12:42 AM
Nope :( If I just put one template name it works fine. But Multiple it won't.
bashy
02-01-2007, 08:26 AM
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
bashy
02-01-2007, 06:06 PM
Hi Ziki, fraid not, i have mine like this vbrecycle_sttv,brecycle_blank,vbrecycle_fdt and it aint working.... :(
COBRAws
02-01-2007, 06:24 PM
Hi Ziki, fraid not, i have mine like this vbrecycle_sttv,brecycle_blank,vbrecycle_fdt and it aint working.... :(
ITs working for me, did you overwrite the product?
Yes I believe so he didn't
tanyeri24
02-01-2007, 06:34 PM
how find uncached templates?
You enable debug mode.For more info refer to vBulletin manual or install my debug mode hack ;)
bashy
02-02-2007, 07:45 AM
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
JohnBee
02-06-2007, 02:06 PM
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 :)
JohnBee
02-07-2007, 06:31 PM
Glad you like it.But please somebody say I am an +++++++ that I am releasing this :)
You are an +++++++
jw00dy
02-08-2007, 06:23 AM
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
bollie
02-12-2007, 02:58 PM
Template to be cached ???
Enabled debug mode,scroll to bottom and the ones in red are not cached
|Jordan|
03-19-2007, 01:53 AM
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
|Jordan|
03-19-2007, 05:32 PM
Ok it works now.
beduino
05-08-2007, 08:49 PM
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
BadgerDog
05-08-2007, 09:24 PM
Ok, can someone tell me exactly where to turn Debug Mode "ON"?
Thanks
Regards,
Badger
beduino
05-09-2007, 11:08 AM
Ok, can someone tell me exactly where to turn Debug Mode "ON"?
Thanks
Regards,
Badger
hi,
ziki has a debug mode hack and survivor hack you see https://vborg.vbsupport.ru/showthread.php?t=130212 here
all the best
beduino
BadgerDog
05-09-2007, 11:48 AM
hi,
ziki has a debug mode hack and survivor hack you see https://vborg.vbsupport.ru/showthread.php?t=130212 here
all the best
beduino
Thank you... :)
Appreciate that ...:up:
Regards,
Badger
paldo
05-09-2007, 02:18 PM
nice ty :)
yoyoyoyo
09-18-2007, 10:51 AM
best hack ever! should be standard in VB!
MissKalunji
10-01-2007, 02:35 AM
thank you!
Zachery
10-01-2007, 03:06 AM
Seems to me it'd be better just to cache the template to begin with ;)
MissKalunji
10-01-2007, 03:25 AM
i guess its for the lazy people like me :-p
why would it be better tho?
Seems to me it'd be better just to cache the template to begin with ;)
I think there are many hacks that here that don't have cached templates and somebody with no coding knowledge can find it useful :)
Zachery
10-02-2007, 09:00 PM
Someone with no coding knowlege should not be installing modifications, or making them ;)
MissKalunji
10-02-2007, 09:05 PM
lol thats true
PossumX
11-10-2007, 05:36 PM
On attempt to uninstall, I get the following error:
Fatal error: Direct Instantiation of vB_Database_Alter class prohibited. in /includes/class_dbalter.php on line 109
Not Good. The uninstall should be functional.
Why is this occurring, and what is going to be done to correct?
PossumX
11-25-2007, 03:10 PM
Nevermind. Had to disable the plugin for the uninstall to work properly. All set,
jarod1981?
01-07-2008, 05:50 PM
Hello
This Mod is compatible with vBSeo?
|Jordan|
05-23-2008, 10:11 PM
EDIT: NM, it works
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.