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: Nov 2019 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 16:30

  #16  
Old 10 Feb 2006, 09:36
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Real name: Z.R.
hello...
AHem compressor gonna rocks...

first relase was "realtime page compressor"
2ndly Hellcat compressor
Now this...

Its Kool
hellcat & this one together will work w/o any problem?

Agerly waiting for the reply....

Thnx
Reply With Quote
  #17  
Old 10 Feb 2006, 09:42
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by Zia
hello...
AHem compressor gonna rocks...

first relase was "realtime page compressor"
2ndly Hellcat compressor
Now this...

Its Kool
hellcat & this one together will work w/o any problem?

Agerly waiting for the reply....

Thnx
No point in using both, hellcats actually slows down page output as its having to compress on every page load... that was the reason i released this hack on vb3 way back when.. and vb3.5 now.

No point in having compression if its not gonna help speed up the page; and you cant if ur compressing on each page load.
Reply With Quote
  #18  
Old 10 Feb 2006, 09:49
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Real name: Z.R.
thnx man
in post #15 ur told ur gonna modifi some...
so waiting after u update then we will download thta,,

thnx for promt suppot (Y)

wishes for u
Reply With Quote
  #19  
Old 10 Feb 2006, 09:51
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by Zia
thnx man
in post #15 ur told ur gonna modifi some...
so waiting after u update then we will download thta,,

thnx for promt suppot (Y)

wishes for u
It may be tomorrow, you can go ahead and download it as it will work for almost 99% of the cases; if not just "Uncompress templates" and it should return anything broken back to normal.
Reply With Quote
  #20  
Old 10 Feb 2006, 10:07
BoYagoob BoYagoob is offline
 
Join Date: Feb 2005
I cannot see any difference before and after compressing, and there are still spaces between the lines in each template.
Reply With Quote
  #21  
Old 10 Feb 2006, 10:25
Rover416 Rover416 is offline
 
Join Date: Jun 2005
Real name: Craig
Very nice.

I have disabled it for now though as even when i add the vb shout templates you stated to the bad templates my shoutbox still vanishes.
Reply With Quote
  #22  
Old 10 Feb 2006, 10:56
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by Rover416
Very nice.

I have disabled it for now though as even when i add the vb shout templates you stated to the bad templates my shoutbox still vanishes.
Im working on that problem, should have something by later today/tomorrow.
Reply With Quote
  #23  
Old 10 Feb 2006, 11:07
Rover416 Rover416 is offline
 
Join Date: Jun 2005
Real name: Craig
Originally Posted by Trigunflame
Im working on that problem, should have something by later today/tomorrow.
No problem.

I am just glad of the people who will release hacks on here.
Reply With Quote
  #24  
Old 10 Feb 2006, 11:55
Replicators's Avatar
Replicators Replicators is offline
 
Join Date: Jul 2005
I guess i will wait for the next version as well i have vbshout installed and it vanished when i compressed the templates. You should warn people of this on the first post.....
Reply With Quote
  #25  
Old 10 Feb 2006, 15:11
Corriewf's Avatar
Corriewf Corriewf is offline
 
Join Date: Dec 2004
Originally Posted by BoYagoob
I cannot see any difference before and after compressing, and there are still spaces between the lines in each template.
It doesnt compress on the GUI side (admincp) but if you look at the page source you will see it.

Thanks Trigun!!! I used this on 3.0.3 and my board was flying!
Reply With Quote
  #26  
Old 10 Feb 2006, 15:14
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
useful addon that everyone should have
__________________
Former vBulletin.org Staff Member

Latest Articles:
Liquid Layout = Less Ad Revenue?
How to Monetize Your Site
Improve Web Page Performance
How To Write For The Web


If it needs instructions, there's room for improvement.
Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them!
Reply With Quote
  #27  
Old 10 Feb 2006, 15:15
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
I've been waiting for this...
Reply With Quote
  #28  
Old 10 Feb 2006, 16:30
forte's Avatar
forte forte is offline
 
Join Date: Jul 2005
Another hack that stops working when compressing is the "Members who have visited the forum (Today or last 24 hours)" hack. Whenever I compress the templates, it wont show but when I decompress them, it shows up.
Reply With Quote
  #29  
Old 10 Feb 2006, 17:11
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Invalid Specified File when importing the cp_nav tpl xml file as a product?
__________________
NO
Reply With Quote
  #30  
Old 10 Feb 2006, 17:21
forte's Avatar
forte forte is offline
 
Join Date: Jul 2005
You are supposed to upload the "cpnav tpl compress.xml" file to includes/xml and "product tpl compress.xml" is the one that should be uploaded as a product.
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:09.

Layout Options | Width: Wide Color: