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

  #61  
Old 12 Feb 2006, 05:33
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by Replicators
This mod also messes up http://www.vbulletin.org/forum/showthread.php?t=101368

I don't even know what templates i would have to ignore to get that working when templates are compressed.
Try adding the templates that the hack uses.
Reply With Quote
  #62  
Old 12 Feb 2006, 14:59
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
just a baisc page went from
[page compression: 24.84 k/30.13 k (17.56%)]
to
[page compression: 25.06 k/26.07 k (3.84%)]

so its taken like 4.00k off.. lol nice..

seems to work fine with the compressor, but is it better then the compresser? or not?? its weird..

another test, different page.

[page compression: 19.67 k/23.04 k (14.65%)]
to
[page compression: 19.63 k/20.43 k (3.92%)]

that one saved abit more....

shame it messes up the gallery

maybe add an option to choose forums in which will only be compressed??

same feature [compress][/compress]?

Last edited by Smiry Kin's; 12 Feb 2006 at 15:03.
Reply With Quote
  #63  
Old 12 Feb 2006, 15:11
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Real name: Z.R.
But how do u get this info about compresson? this modification didnt show any msg footer of the msg .... :surprised:

Originally Posted by Smiry Kin's
just a baisc page went from
[page compression: 24.84 k/30.13 k (17.56%)]
to
[page compression: 25.06 k/26.07 k (3.84%)]

so its taken like 4.00k off.. lol nice..
another test, different page.
[page compression: 19.67 k/23.04 k (14.65%)]
to
[page compression: 19.63 k/20.43 k (3.92%)]
that one saved abit more....
:surprised: :surprised: :surprised:

its nice
Reply With Quote
  #64  
Old 12 Feb 2006, 17:15
vampireus vampireus is offline
 
Join Date: Jan 2005
I installed exactly as the instruction, but I still don't see where I can put in templates to ignore. Only "Compress Templates" & "Uncompress Templates".
Reply With Quote
  #65  
Old 12 Feb 2006, 17:51
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Originally Posted by vampireus
I installed exactly as the instruction, but I still don't see where I can put in templates to ignore. Only "Compress Templates" & "Uncompress Templates".
you edit the tempaltes you don't want to compress with that code
Reply With Quote
  #66  
Old 12 Feb 2006, 17:56
memorex memorex is offline
 
Join Date: Mar 2004
Originally Posted by vampireus
I installed exactly as the instruction, but I still don't see where I can put in templates to ignore. Only "Compress Templates" & "Uncompress Templates".
You can goto the template compressor options in the vbulletin options area in admin cp to add the templates to ignore.

I got it working by switching back to 4.1 sence I knew I could just add to the bad templayt array there. That worked for me.

Thanx for a wonderfull addition to my forums. Awesome!

Last edited by memorex; 12 Feb 2006 at 18:12.
Reply With Quote
  #67  
Old 12 Feb 2006, 18:25
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
I've ... looked for the new navigation bit "Template Compressor" but can't find it. The Template compressor in the vb options is there but the 'compress template' to save and set ... not! select "Compress Templates" is not there.

Last edited by NuclioN; 12 Feb 2006 at 18:55.
Reply With Quote
  #68  
Old 12 Feb 2006, 18:58
vampireus vampireus is offline
 
Join Date: Jan 2005
Originally Posted by memorex
You can goto the template compressor options in the vbulletin options area in admin cp to add the templates to ignore.

I got it working by switching back to 4.1 sence I knew I could just add to the bad templayt array there. That worked for me.

Thanx for a wonderfull addition to my forums. Awesome!
Thanks, I looked into VB Options before, but I missed the line :disappointed:
Reply With Quote
  #69  
Old 12 Feb 2006, 19:13
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
i had these on my list.:
editor_jsoptions_font editor_jsoptions_size phpinclude_start phpinclude_end forumhome_vbshout forumhome_vbshout_shout
photoplog_cat_bit
photoplog_cat_list
photoplog_comment_form
photoplog_delete_form
photoplog_edit_form
photoplog_error_page
photoplog_file_bit
photoplog_file_list
photoplog_letter_bar
photoplog_rate_bit
photoplog_remove_form
photoplog_rate_list
photoplog_subcat_bar
photoplog_sub_navbar
photoplog_upload_form
photoplog_view_file

and gallery still doesnt work
Reply With Quote
  #70  
Old 12 Feb 2006, 19:46
vampireus vampireus is offline
 
Join Date: Jan 2005
For ex : template marquee on template forumhome. After compression, marquee not show up, then you should put both marquee & forumhome in ignored list.

My case not like the example, not like yours; but another hack
Reply With Quote
  #71  
Old 12 Feb 2006, 21:40
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by Smiry Kin's
i had these on my list.:
editor_jsoptions_font editor_jsoptions_size phpinclude_start phpinclude_end forumhome_vbshout forumhome_vbshout_shout
photoplog_cat_bit
photoplog_cat_list
photoplog_comment_form
photoplog_delete_form
photoplog_edit_form
photoplog_error_page
photoplog_file_bit
photoplog_file_list
photoplog_letter_bar
photoplog_rate_bit
photoplog_remove_form
photoplog_rate_list
photoplog_subcat_bar
photoplog_sub_navbar
photoplog_upload_form
photoplog_view_file

and gallery still doesnt work
Bro you have to put a "space" between each template, not a line break.
Reply With Quote
  #72  
Old 12 Feb 2006, 22:33
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Originally Posted by Trigunflame
Bro you have to put a "space" between each template, not a line break.
Nah that was an example i actually have:
editor_jsoptions_font editor_jsoptions_size phpinclude_start phpinclude_end forumhome_vbshout forumhome_vbshout_shout photoplog_cat_bit photoplog_cat_list photoplog_comment_form photoplog_delete_form photoplog_edit_form photoplog_error_page photoplog_file_bit photoplog_file_list photoplog_letter_bar photoplog_rate_bit photoplog_remove_form photoplog_rate_list photoplog_subcat_bar photoplog_sub_navbar hotoplog_upload_form photoplog_view_file forumhome
Reply With Quote
  #73  
Old 13 Feb 2006, 03:46
HC. HC. is offline
 
Join Date: Mar 2004
ALL OF OUR SMILIES QUIT WORKING
when I uncompress they work just fine
Reply With Quote
  #74  
Old 13 Feb 2006, 05:00
icare icare is offline
 
Join Date: Jan 2006
this hack screwd my navbar in fire fox,,,, My navbar is missing after compressing the templetes
Reply With Quote
  #75  
Old 13 Feb 2006, 07:35
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by icare
this hack screwd my navbar in fire fox,,,, My navbar is missing after compressing the templetes
add navbar to ignore templates config, and recompress.
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 21:37.

Layout Options | Width: Wide Color: