vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Compress Forum Templates (https://vborg.vbsupport.ru/showthread.php?t=107615)

DementedMindz 07-21-2006 12:42 AM

Zia i dont think it will truely be anytime soon or any updates soon the last he was on was Mar 2006

testpig 08-13-2006 04:08 AM

Bugger - this was a great hack. Would be good to see it updated to vB 3.6.

testpig 08-13-2006 04:13 AM

OK -I've just redone the edit of template.php in the admin folder (as noted in the release instructions).

The hack seems to be working fine with 3.6.

MissKalunji 08-23-2006 03:30 AM

workign on 3.6 as well

bairy 09-10-2006 07:49 AM

Some plugins use string replace to find the comment code and insert their output under/above it. This hack remove the comments. To stop it removing them, remove this line from admincp/template.php:
Code:

$c = preg_replace('/<!--[^\{\[]*?-->/i',"",$c);
Don't forget to uncompress/recompress your temps after doing so.

bairy 09-16-2006 03:32 PM

Another tip.

In the admincp/template.php edit,
before // Finished, add:
Code:

$db->query_write("OPTIMIZE TABLE " . TABLE_PREFIX ."template");
Compressing the templates means removing data, so the table will become unoptimized.

Illustrious 10-25-2006 06:48 PM

How do you add to the bad templates array? I looked over the php install code, and I didn't see the array.

bairy 10-25-2006 07:23 PM

AdminCP > vB Options > Template Compressor

Zia 01-31-2007 04:23 PM

Quote:

Originally Posted by bairy (Post 1076299)
Another tip.

In the admincp/template.php edit,
before // Finished, add:
Code:

$db->query_write("OPTIMIZE TABLE " . TABLE_PREFIX ."template");
Compressing the templates means removing data, so the table will become unoptimized.

cant u relase modified/updated version?

rjmjr69 02-16-2007 01:22 AM

How can I add a specific user to be allowed to view the stats like the admins can? He is an admin but thats set as his secondary usergoup for personal reasons. So I can't change it there.

And by the way this add on IS the best so far IMO for speeding the site up


All times are GMT. The time now is 07:48 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.01103 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_code_printable
  • (1)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