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

  #31  
Old 10 Feb 2006, 16:43
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
I got this error after I pressed 'Compress Templates' :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any Ideas?
Reply With Quote
  #32  
Old 10 Feb 2006, 18:05
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Originally Posted by Mastar
I got this error after I pressed 'Compress Templates' :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any Ideas?
So I got tons of javascript all over my boards, if I install this you are sure that there won't be any errors?
__________________
Think Hype Networks | MeandIsis
Reply With Quote
  #33  
Old 10 Feb 2006, 18:37
Karri's Avatar
Karri Karri is offline
 
Join Date: Feb 2002
I am having a problem with a few templates. Some templates are used as text for emails sent by the board and the board sends them in plain text. When they are compressed, all of the white space used to separate parts of the emails is removed so the email comes in as a jumbled mess. It would be helpful to be able to flag certain templates as not to be compressed to avoid that.

Last edited by Karri; 10 Feb 2006 at 18:41.
Reply With Quote
  #34  
Old 10 Feb 2006, 20:32
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
OK guys, Im back sorry had to sleep. I messaged hellcat and he agreed to be co-author of this hack by donating some of him regexp to the project.

I will implement his code and then re-release the hack; that should hopefully fix all of you guys problems.
Reply With Quote
  #35  
Old 10 Feb 2006, 21:05
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Large Update

1. Integrated Hellcats Regex, hopefully this will solve a few of the script problems that have been happening recently.
Reply With Quote
  #36  
Old 10 Feb 2006, 21:22
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Originally Posted by Trigunflame
Large Update

1. Integrated Hellcats Regex, hopefully this will solve a few of the script problems that have been happening recently.
Including the shoutbox?

Just redone the file edit and re-imported the product and the problem is still the same as before.
Reply With Quote
  #37  
Old 10 Feb 2006, 21:30
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by eNforce
Including the shoutbox?

Just redone the file edit and re-imported the product and the problem is still the same as before.
Try to uncompress all templates, then recompress; if it still doesnt work.

Look inside the shoutboxes product file and make not of every use of every custom template that it installs, and add it to the bad templates array; then recompress again.. and if that still causes problems..

I will install that hack myself and try to figure out; cause im confused as to what could be causing the errors..
Reply With Quote
  #38  
Old 10 Feb 2006, 21:43
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Ahh, tried that just now and can't seem to fix it. I'll just keep shoutbox at the top and wait for you to figure it out

I'm not disabling this hack because of the shoutbox, it's an excellent addition.
Reply With Quote
  #39  
Old 11 Feb 2006, 03:04
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Real name: Z.R.
Thumbs up Rock n RoLL

Originally Posted by Trigunflame
Large Update

1. Integrated Hellcats Regex, hopefully this will solve a few of the script problems that have been happening recently.

Rock N RoLL

lets have a try.....

hehe its a peace for Eyes n heart to see the saving % of b/w


WeLL Wished to u Mr.Coder
Reply With Quote
  #40  
Old 11 Feb 2006, 07:06
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
how is this going?
__________________
____________
BossLady
Reply With Quote
  #41  
Old 11 Feb 2006, 07:50
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by MissKalunji
how is this going?
Well if it messes up some hack on your templates, all you have to do is click "Uncompress Templates". Nothing this hack does is "permanent"; it can always be reverted.

I am working on some issues with very rare instances of problems, but in general its pretty compatible with everything.
Reply With Quote
  #42  
Old 11 Feb 2006, 09:39
Corriewf's Avatar
Corriewf Corriewf is offline
 
Join Date: Dec 2004
VERY NICE! Much faster now in combo with your plugin accelerator! Thanks.
Reply With Quote
  #43  
Old 11 Feb 2006, 10:08
HC. HC. is offline
 
Join Date: Mar 2004
great hack way faster than I have ever seen I need to try the plugin hack now
Reply With Quote
  #44  
Old 11 Feb 2006, 10:41
chairman miaow chairman miaow is offline
 
Join Date: May 2005
Very nice - it's certainly made it faster !
Reply With Quote
  #45  
Old 11 Feb 2006, 12:15
testpig's Avatar
testpig testpig is offline
 
Join Date: Apr 2004
Originally Posted by Trigunflame
Updated install.txt, and questions. (Doing This for Page Update).
Hi Trigun.
Thanks for this mod. Its made an amazing amount of difference to my site! Best mod I've made all year.....buy you a beer if your ever in Aus

Highly recommended...easy install and improved performance out of sight!
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 05:59.

Layout Options | Width: Wide Color: