Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Compress Forum Templates Details »»
Compress Forum Templates
Mod Version: 4.0, by Trigunflame (Member) Trigunflame is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.3 Rating: (6 votes - 5.00 average) Installs: 164
Released: 10 Feb 2006 Last Update: 12 Feb 2006 Downloads: 794
Not Supported Uses Plugins Code Changes Additional Files  

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.

PS. Use this in conjunction with my Other Hack (Accelerated Plugins) for speeding up your forum even more (If you use plugins especially).
http://www.vbulletin.org/forum/showthread.php?t=107315
PS. Use this in conjunction with my Other Hack (Template Cache System) for speeding up your forum by caching its templates.
http://www.vbulletin.org/forum/showthread.php?t=110144


Background:

This is a semi-port from my Vbulletin 3 Version: http://www.vbulletin.org/forum/showthread.php?t=79923


Instructions:

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:

phpinclude_start phpinclude_end editor_jsoptions_font editor_jsoptions_size forumhome navbar forumhome_vbshout forumhome_vbshout_shout


Updates:

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.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Compress Forum Templates (Speed up your Forums & Save Bandwidth) Trigunflame vBulletin 3.0 Full Releases 189 04 Feb 2006 15:30

Comments
  #2  
Old 10 Feb 2006, 05:45
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
How is this better than Hellcat's Page Compression hack

http://www.vbulletin.org/forum/showt...hlight=hellcat
__________________
NO
Reply With Quote
  #3  
Old 10 Feb 2006, 05:48
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul Marsden
Read the description
__________________


Lead Developer, vBulletin.Org & vBulletin.Com
Please do not PM me about custom work - I no longer undertake any.

Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Cable Forum - DigiGuide
Reply With Quote
  #4  
Old 10 Feb 2006, 06:08
forte's Avatar
forte forte is offline
 
Join Date: Jul 2005
Why does it say that we should download the 3 files when there are only 2?

EDIT: Oh... I was too early, right?
Reply With Quote
  #5  
Old 10 Feb 2006, 06:09
poetic poetic is offline
 
Join Date: Apr 2003
Can we have hellcats installed at the same time? or will it make some errors.
Reply With Quote
  #6  
Old 10 Feb 2006, 06:12
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by poetic
Can we have hellcats installed at the same time? or will it make some errors.
I'd like to know this as well
Reply With Quote
  #7  
Old 10 Feb 2006, 06:13
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
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).

http://www.vbulletin.org/forum/showthread.php?t=107315

Last edited by Trigunflame : 10 Feb 2006 at 06:21.
Reply With Quote
  #8  
Old 10 Feb 2006, 06:17
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Updated install.txt, and questions. (Doing This for Page Update).
Reply With Quote
  #9  
Old 10 Feb 2006, 06:44
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
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?

Edit: Uncompressing didn't bring it back :nervous:
Reply With Quote
  #10  
Old 10 Feb 2006, 06:49
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by eNforce
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

Last edited by Trigunflame : 10 Feb 2006 at 06:51.
Reply With Quote
  #11  
Old 10 Feb 2006, 07:06
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
I've done all of the above and can't seem to bring it back

I also re-imported (while overwriting) his product

(I was planning on getting rid of the shoutbox sometime, but would be nice to know how to enable it again)

Edit: I appear to have it working again, I was playing with the Plugin Accelerator options :ermm:

Edit2: Everytime I click Rebuild All Plugins it will show & hide the shoutbox lol.. Maybe I should be posting this in your Plugin Accelerator thread though.

Last edited by eNforce : 10 Feb 2006 at 07:12.
Reply With Quote
  #12  
Old 10 Feb 2006, 07:17
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by eNforce
I've done all of the above and can't seem to bring it back

I also re-imported (while overwriting) his product

(I was planning on getting rid of the shoutbox sometime, but would be nice to know how to enable it again)

Edit: I appear to have it working again, I was playing with the Plugin Accelerator options :ermm:

Edit2: Everytime I click Rebuild All Plugins it will show & hide the shoutbox lol.. Maybe I should be posting this in your Plugin Accelerator thread though.
Ya please do, would rather it be a problem with the accelerator actually as its new code, this stuff pretty tried and true; was hoping for no new problems with this
Reply With Quote
  #13  
Old 10 Feb 2006, 07:17
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
Installed and seems to be working perfectly.
__________________
Reply With Quote
  #14  
Old 10 Feb 2006, 08:17
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
*runs around the forum*

Originally Posted by Trigunflame
So let me get this straight, it works fine as long as its uncompressed? But when you compress it, it only works at the top?

Ya this is a template compressor problem -_-, lets go back over there.
So yeah, this is exactally what's happening
Reply With Quote
  #15  
Old 10 Feb 2006, 08:17
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Ok give me a couple min, im gonna make some changes to the hack..
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 03:45.

Layout Options | Width: Wide Color: