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

  #46  
Old 11 Feb 2006, 13:21
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Great mod, but it removes some of my tables and some templates it can't compress.

It saus bad template by my phpinclude and these 2 tables disappear:

Total members that have visited the forum today:

and

Members currently using Flashchat

Last edited by lifesourcerec; 11 Feb 2006 at 13:24.
Reply With Quote
  #47  
Old 11 Feb 2006, 14:34
memorex memorex is offline
 
Join Date: Mar 2004
Great mod, but can't use till the issue with the shoutbox is resolved. Thanx, will be keeping an eye on this one.
Reply With Quote
  #48  
Old 11 Feb 2006, 20:38
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by lifesourcerec
Great mod, but it removes some of my tables and some templates it can't compress.

It saus bad template by my phpinclude and these 2 tables disappear:

Total members that have visited the forum today:

and

Members currently using Flashchat
Have you tried identifying which templates those parts of the site are using, add them to the $bad_t array, it is there for a reason.
Reply With Quote
  #49  
Old 11 Feb 2006, 22:31
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Updated Template Compressor:

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.

2. Flashchat, others sometimes cause problems; so by default a few vbchat templates are listed in the ignore setting.

3. If you have problems with any other hacks not showing, trying add the 'forumhome' template to the ignore setting and recompress your templates.

Thanks.
Reply With Quote
  #50  
Old 12 Feb 2006, 01:47
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Originally Posted by Trigunflame
Have you tried identifying which templates those parts of the site are using, add them to the $bad_t array, it is there for a reason.
These tables are in forumhome I believe which should already be on the list.
Reply With Quote
  #51  
Old 12 Feb 2006, 02:18
Dark_D Dark_D is offline
 
Join Date: Oct 2005
Real name: Chris
I had to add the 'forumhome' to the $bad_t array, and everything looks cool.
It works great so thank you for your work.
Reply With Quote
  #52  
Old 12 Feb 2006, 03:34
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Originally Posted by Dark_D
I had to add the 'forumhome' to the $bad_t array, and everything looks cool.
It works great so thank you for your work.
Yep. That fixed it. Now, going to add the plugin acelerator, then recompress. Going to see what the difference is.
Reply With Quote
  #53  
Old 12 Feb 2006, 04:09
memorex memorex is offline
 
Join Date: Mar 2004
Originally Posted by lifesourcerec
Yep. That fixed it. Now, going to add the plugin acelerator, then recompress. Going to see what the difference is.
still no luck in getting my shoutbox to show after compressing. I think its a great hack, but my community is spoiled.
Reply With Quote
  #54  
Old 12 Feb 2006, 04:19
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Originally Posted by memorex
still no luck in getting my shoutbox to show after compressing. I think its a great hack, but my community is spoiled.
Did you add forumhome to the bad array list?
Reply With Quote
  #55  
Old 12 Feb 2006, 04:42
yxboom's Avatar
yxboom yxboom is offline
 
Join Date: Jan 2003
Originally Posted by lifesourcerec
Did you add forumhome to the bad array list?
ive added 'forumhome' to the bad array list; however, when compressing I still see forumhome_vbshout being compressed even though it is already in the ignore list and my shoutbox fails to show up once i run this hack.
__________________
I am Mighty!
Reply With Quote
  #56  
Old 12 Feb 2006, 04:43
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by memorex
still no luck in getting my shoutbox to show after compressing. I think its a great hack, but my community is spoiled.
Make sure you are using the absolutely last release from the zip File.
You can change the "ignore templates" config file from the vbulletin settings now.

Just go there and add forumhome to the list (with a space as directed).
Reply With Quote
  #57  
Old 12 Feb 2006, 04:47
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Ps. Sorry everyone, I forgot to upload the new zip file that adds support for making bad template modifications from the control panel settings editor.

To Upgrade:

Uninstall product, Reinstall product using new Product xml file. Replace old php code with the newer php code listed in install.txt and use the hack as usual.
Reply With Quote
  #58  
Old 12 Feb 2006, 05:04
yxboom's Avatar
yxboom yxboom is offline
 
Join Date: Jan 2003
Originally Posted by Trigunflame
Make sure you are using the absolutely last release from the zip File.
You can change the "ignore templates" config file from the vbulletin settings now.

Just go there and add forumhome to the list (with a space as directed).
maybe this will help. i had to add 'navbar' to the ignore list to get the shoutbox to appear.
__________________
I am Mighty!
Reply With Quote
  #59  
Old 12 Feb 2006, 05:05
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Originally Posted by yxboom
maybe this will help. i had to add 'navbar' to the ignore list to get the shoutbox to appear.
Indeed it will, will update first post.
Reply With Quote
  #60  
Old 12 Feb 2006, 06:03
Replicators's Avatar
Replicators Replicators is offline
 
Join Date: Jul 2005
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.
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 20:04.

Layout Options | Width: Wide Color: