vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Compress Forum Templates (Speed up your Forums & Save Bandwidth) (https://vborg.vbsupport.ru/showthread.php?t=79923)

PIKenPIK 05-31-2005 10:17 AM

w00t .............. forum goes like a rocket :lick: :lick: :lick: :lick: :lick: :lick:

Big HUGGGG :banana:

//edit:
one small Q:
Quote:

The bad templates array exist for a reason, add the offending templates to the array and it will skip them.
I've done the compression & everything seems to work like a a charm.

Compress Templates and Uncompress Templates seems for me the only 2 options in the ACP ..
Is there only a bad templates array when there is a bad template?
Or where can i find this array?

LambHyjoo 06-02-2005 07:47 AM

I forgot to post my opinion on this hack : Very good job ! :D

I had little problems with some custom templates I did, but it was tuned in less an hour.

Thanks again !

PIKenPIK 06-02-2005 07:58 AM

Quote:

Originally Posted by LambHyjoo
I forgot to post my opinion on this hack : Very good job ! :D

I had little problems with some custom templates I did, but it was tuned in less an hour.

Thanks again !

So, you can give me an answer to my question? :ninja:

Marco van Herwaarden 06-02-2005 08:12 AM

In admincp/template.php:
PHP Code:

    // List of Templates to NOT Compress 
    
$badTemplates = array( 
        
'editor_jsoptions_font'
        
'editor_jsoptions_size'
        
'phpinclude_start'
        
'phpinclude_end' 
    
); 


smacklan 06-02-2005 10:01 PM

What a freakin awesome hack...I'm running 2 to 3 times faster!!! Installed without any ill effects as far as I can tell ( at least none that I can't live with)! Thanks dude!

LuBi 06-09-2005 02:45 AM

worked fine for me on a very modded and styled board.. no issues I can see at all..? nice release. thanks.

kthlnwrnr 07-14-2005 07:00 AM

Does this hack work with VB 3.3?
I tried insalling it but I guess I am doing something wrong. I get an internal server error everytime I click on the compress link.

There is a chance that I am doing one thing wrong. In step to the instruction says I should
Quote:

[ Go to about line: 1278, or just look for $_REQUEST['do'] == 'edit' ]

Now should I paste the codes right above
Quote:

$_REQUEST['do'] == 'edit')
or right above
Quote:

if ($_REQUEST['do'] == 'edit')
Or right above
Quote:

(This is line 1278 in my template.php)//################################################## ###########################
// edit form for an existing template
if ($_REQUEST['do'] == 'edit')
?

I apologize in advance for my ignorance, but I am a bit confused and would like to get this hack to work.

Prodimysterio 08-03-2005 07:17 PM

Quote:

Originally Posted by LuBi
worked fine for me on a very modded and styled board.. no issues I can see at all..? nice release. thanks.

Same here. Thanks for the great modification.

:)

loftyasianz 08-12-2005 07:12 PM

thanks for this awesome hack. it really seems like a good idea.

i just finished installing this and i compressed my templates. but when i refreshed my page, i got this
Code:

Parse error: parse error, unexpected ',' in /home/gm0nk3y/public_html/forums/index.php(672) : eval()'d code on line 1
any suggestions? it was all fixed when i uncompressed the templates.

thanks in advance,
warren

gbechtel 08-29-2005 04:05 AM

Installed & woking on masscops.com with no problems at all! Excelent job, thanks...


All times are GMT. The time now is 08:20 PM.

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.01352 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete