vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   RealTime Template Compressor: Reduces page sizes, loads pages faster, saves Bandwidth (https://vborg.vbsupport.ru/showthread.php?t=56589)

enzo81 08-30-2003 01:23 AM

i wonder if this can be modified for normal pages as well?

drumsy 08-30-2003 02:47 AM

Quote:

Today at 07:31 AM Logician said this in Post #8
If you already have Microstats, you must have this line because it is a part of Microstats code. You can confirm it if you check Microstat's hack's installation document. :)

Check around lines 500-600 in functions.php.


The correct way that line is printed in my functions.php is:

Code:

    $versionnum = phpversion();
around line 701. Just any FYI. The spacing is different in your instructions.

Also, the second step's code can be found by searching for

Code:

    $adminstats = '<br />[' . $debugmode . '] [PHP v' . $versionnum . '] [' . $gziptext . ']' . $serverload;
Again also a spacing difference.

My finished line for that portion of the hack is

Code:

    $adminstats = '<br />[' . $debugmode . '] [PHP v' . $versionnum . '] [' . $gziptext . ']' . $output . $serverload;
Please let me know if that's alright! :)

Logician 08-30-2003 07:40 AM

Quote:

Today at 05:23 AM enzo81 said this in Post #21
i wonder if this can be modified for normal pages as well?
If you are using WebTemplates to manage your "normal pages", the answer is YES. Otherwise no.. :)

insanctus 08-30-2003 10:24 AM

Added into my vb3 nice job man.

insanctus 08-30-2003 10:47 AM

The proof is in the scroll bar.

I took out the hack, viewed the source on my main forum page then put it back in and viewed. Here is a before and after screan.

Do not mind my awsome paint :)

lasto 08-30-2003 11:47 AM

Quote:

Today at 12:47 PM insanctus said this in Post #25
The proof is in the scroll bar.

I took out the hack, viewed the source on my main forum page then put it back in and viewed. Here is a before and after screan.

Do not mind my awsome paint :)

yep is deffo worth installing - this should be merged with microstats and vice versa as they both work well together.

insanctus 08-30-2003 11:54 AM

I think vb3 actualy has a stats in it (although I can not find where to turn it on) sort of funny I can hack it to hell and back but no good at finding already made options lmao.

JulianD 08-30-2003 04:03 PM

Great hack! I always wanted to do something like this... It's working fine on my site. Thanks.

JulianD 08-30-2003 04:09 PM

You know, I was thinking about it.. wouldn't be possible to disable this hack only if the Add template name in comments option is active on the control panel?

Hostc 08-30-2003 06:57 PM

Page generated in 0.13410795 seconds (88.36% PHP - 11.64% MySQL) with 22 queries.
[Debug Mode OFF] [PHP v4.3.2] [GZIP disabled]
[Output: 46.13 Kb. compressed to 43.23 Kb. by saving 2.90 Kb. (6.28%)] [Server Load: 0.00 ยป 0.00 : 0.00]


All times are GMT. The time now is 01:42 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.01206 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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