Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Compress Forum Templates Details »»
Compress Forum Templates
Version: 4.0, by Trigunflame Trigunflame is offline
Developer Last Online: Nov 2019 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-09-2006 Last Update: 02-11-2006 Installs: 164
Uses Plugins
Code Changes Additional Files  
No support by the author.

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).
https://vborg.vbsupport.ru/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.
https://vborg.vbsupport.ru/showthread.php?t=110144


Background:

This is a semi-port from my Vbulletin 3 Version: https://vborg.vbsupport.ru/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.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 02-13-2006, 12:15 PM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But the gallery doesnt work either.. i even put all the templates that the gallery uses into the ignore list.. even add forumhome & forumdisplay just to check it
Quote:
Originally Posted by Hellcat
Hey guys!

Dropping in late

Got the vBShout working?
My guess is the shoutbox vanishes, because the PlugIn of vBShout uses HTML comments in the FORUMHOME template for a search/replace to hook itself in there at runtime.

If those comments get compressed out it doesn't find it's spots to place itself in.

I didn't take a look yet how my RegEx have been integrated in this, but in my realtime compressor all (and only, to keep compression high) comments containing a "[" are ingnored/left.
This was initially to get compatibility with AnyMedia, but can also be used to make other needed HTML comment "immun" to the compression.

Maybe this 2ct help a bit

Cheers :up:
Reply With Quote
  #83  
Old 02-13-2006, 12:27 PM
Mudvayne's Avatar
Mudvayne Mudvayne is offline
 
Join Date: Dec 2005
Location: /dev/null/
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trigunflame
Its in your Admin CP Configuration options, it has its own section..
Thnx.. I seemed suchj a dumb .. Its working now..

One thing bro.. Our user cant get all the image smoothly after installing this..
Plz chk http://www.golpo.net
Reply With Quote
  #84  
Old 02-15-2006, 06:11 AM
icare icare is offline
 
Join Date: Jan 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Watch what this hack has done to my forum... anybody please help... my forum looks like this in firefox.. its perfect in IE. this happned only after installing this hack.. now I had removed this hack and still it doesnt go.. when I am not looged in its fine and as soon i login it get assorted...




Reply With Quote
  #85  
Old 02-15-2006, 07:50 AM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just don't use it.. it causes many problems!
Quote:
Originally Posted by icare
Watch what this hack has done to my forum... anybody please help... my forum looks like this in firefox.. its perfect in IE. this happned only after installing this hack.. now I had removed this hack and still it doesnt go.. when I am not looged in its fine and as soon i login it get assorted...
Reply With Quote
  #86  
Old 02-15-2006, 10:42 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by icare
Watch what this hack has done to my forum... anybody please help... my forum looks like this in firefox.. its perfect in IE. this happned only after installing this hack.. now I had removed this hack and still it doesnt go.. when I am not looged in its fine and as soon i login it get assorted...




This hack does nothing permanent. You can leave the hack installed, just use "Uncompress Templates" to return them back to normal; and figure out which template you need to add to the ignore list.
Reply With Quote
  #87  
Old 02-15-2006, 10:43 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smiry Kin's
Just don't use it.. it causes many problems!
It's not my fault you if you are too "forum" ignorant to be able to add the appropriate templates to the "ignore template" settings.
Reply With Quote
  #88  
Old 02-15-2006, 12:37 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works perfectly ...
99.9% of the problems that are occurring are on sites with INVALID XHTML/HTML.

I recommend you place a WARNING NOTICE on first post:
In order to reap the rewards of the COMPRESS FORUM TEMPLATES addon, YOUR STYLE MUST BE VALID XHTML--AT THE VERY LEAST VALID HTML. CHECKING FOR VALID CODE CAN BE DONE VIA HTTP://VALIDATOR.W3.ORG.
Reply With Quote
  #89  
Old 02-16-2006, 12:33 AM
icare icare is offline
 
Join Date: Jan 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not blaming anybody, it may be I had done something stupid, but can you please help me fixing this? I had already uninstalled the hack and also edited my admincp/index.php file and removed that code... now can you please tell me how do i uncompress the templetes. your help will be much appreciated.
Reply With Quote
  #90  
Old 02-16-2006, 01:25 AM
Mudvayne's Avatar
Mudvayne Mudvayne is offline
 
Join Date: Dec 2005
Location: /dev/null/
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by icare
I am not blaming anybody, it may be I had done something stupid, but can you please help me fixing this? I had already uninstalled the hack and also edited my admincp/index.php file and removed that code... now can you please tell me how do i uncompress the templetes. your help will be much appreciated.
hehe u hav to reinstall this hack.. then from acp nav u found a menu named Template Compressure.. From thr just clk uncompress template.. Thts all.. U can uninstall if u wish again..
Reply With Quote
  #91  
Old 02-18-2006, 02:26 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello...every portion of board is running well?

umm any one can give me a basic list that should not be Compressed..
like : bbcode/smily/ etc

i would be grate full if any one can provide me a list...

thnx
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 04:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05009 seconds
  • Memory Usage 2,315KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete