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)
-   -   Realtime Template Compressor: Reduces page sizes, loads pages faster, saves bandwidth (https://vborg.vbsupport.ru/showthread.php?t=83248)

Daracon 12-10-2005 08:18 AM

works great for me with 3.5.2, *installed*

Rickie3 12-10-2005 09:08 AM

works great *installed*
this is what i'm getting
[Output: 110.04 Kb. compressed to 104.85 Kb. by saving 5.20 Kb. (4.72%)]

tippen 12-10-2005 07:47 PM

THIS is amazing! My dial-up users are ever-so-happy!! I want to thank everyone who had any involvement in the development of this!

[Output: 27.15 Kb. compressed to 25.93 Kb. by saving 1.22 Kb. (4.49%)]

bonjurkes 12-10-2005 11:10 PM

[Output: 198.77 Kb. compressed to 189.96 Kb. by saving 8.81 Kb. (4.43%)]

its working great

Installed ;)

Stephen3 12-11-2005 05:10 AM

so it's work on 3.5.2?

Brandon Sheley 12-11-2005 06:55 AM

Quote:

Originally Posted by Stephen3
so it's work on 3.5.2?

did u read any of the post above this one ?

yes, it works on 3.5.2 :rolleyes:
at least i can assume,, it works fine for me i have 3.5.1 with the 3.5.2 patch

Zilvia 12-11-2005 04:59 PM

Installed and Uninstalled on 3.5.2

Wont use until the advanced edit spacing is fixed.

Great idea however!

Chadi 12-12-2005 01:08 AM

Quote:

Originally Posted by chadi
Anyway to remove the actual statistic "quiried in xxx" line?

I asked this 3 weeks ago and until now about 3 or 4 times. No one has answered.

Anyone care to answer?

steven s 12-12-2005 01:18 AM

Quote:

Originally Posted by chadi
I asked this 3 weeks ago and until now about 3 or 4 times. No one has answered.

Anyone care to answer?

I'm no longer using it but Plugin system -->Plugin manager
Hook Location : global_complete
Realtime Template Compressor

PHP Code:

//Logician Hack:
$page_byte=strlen($output);
$output=preg_replace ('/\r\n(\s*)/'"\r\n"$output);

$pagenew_byte=strlen($output);
$page_kilobyte=number_format(($page_byte/1024),2);
$pagenew_kilobyte=number_format(($pagenew_byte/1024),2);
$pagesaved_byte=$page_byte-$pagenew_byte;
$pagesaved_kilobyte=number_format((($pagesaved_byte)/1024),2);
$pagesaved_perc=number_format(((100*$pagesaved_byte)/$page_byte),2);

$output str_replace('</body>''<center><span class="smallfont">[Output: ' $page_kilobyte ' Kb. compressed to <b>' $pagenew_kilobyte '</b> Kb. by saving <b>' $pagesaved_kilobyte '</b> Kb. (' $pagesaved_perc '%)]</span></center></body>'$output);
//Logician Hack: 

Maybe try commenting the last line out?

Chadi 12-12-2005 02:29 AM

Thank you. That works :)


All times are GMT. The time now is 06:29 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.01217 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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