Version: 4.0, by Trigunflame
Developer Last Online: Nov 2019
Version: 3.5.3
Rating:
Released: 02-09-2006
Last Update: 02-11-2006
Installs: 164
Uses Plugins
Code Changes Additional Files
No support by the author.
Compress Forum Templates Speed up your Forums & Save Bandwidth
Description:
This hack compresses your sites Templates into the database resulting in a significantly smaller page size and faster loading pages.
The benefits of this Template Compressor as opposed to virtually any other that you have installed is that this compresses the templates into the database.
Other hacks compress the pages on every page load which takes CPU/Memory usage as well as slows down the actual output of the page.
1. Download Zip File, Extract files..
2. Read install.txt and follow it
3. Note: Anytime you update your templates, make sure to click "Compress Templates".
4. If you have any problems with certain hacks not working, add affected templates to "Template Ignore" setting in the Admin Control Panel settings.
Common Templates That May Need To Be Added to Ignore Settings:
Version 4.2: Forgot to upload ZIP File..
Version 4.1:
Changed setting location, you now modify them in the Admin Control Panel under Template Compressor Settings; there you can specify the templates to ignore.
Flashchat, others sometimes cause problems; so by default a few vbchat templates are listed in the ignore setting.
If you have problems with any other hacks not showing, trying add the 'forumhome' template to the ignore setting and recompress your templates.
Version 4: Integrating Hellcats regex, hopefully will solve some problems.
Btw guys, I made a small edit to the install.txt file.. so please replace the PHP code it gives you in there if you already made the change to template.php
And no do not use hellcats at the same time as it will be redundant, you only need to click "Compress Templates" after installing it, and anytime you update a template; the rest of the time your pages are already compressed.
PS. Use this in conjunction with my Other Hack that is in development for even faster pages (If you use plugins especially).
I'm using this with your Accelerated Plugins hack, forum seems alot more speedier! (testing on my Live board)
However, after compressing the templates my vBshoutbox disappeared , any idea?
Looking at that hack, seems have some javascript.. although this hack generally does fine with almost "All" javascript. Im working on remaking the regex to fix this problem.
As for your current situation, looking that vbshoutbox hack, it seems that hes using the template "forumhome_vbshout", for most of the html/javascript.
1. Uncompress all templates
2. I would probably place his html back in the forumhome_vbshout template and forumhome_vbshout_archive, just replace all of it.
3. add forumhome_vbshout and forumhome_vbshout_archive to the $b_t (bad templates) array as shown in the code in install.txt (Just look in there and you will see how ive already got 4 templates that are ignored by default, just add forumhome_vbshout and any other problematic templates in the array).
4. Compress Templates