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)

Marco van Herwaarden 06-17-2005 06:28 AM

Oops

/me makes a mental note to read better before replying

ultranerds 06-17-2005 10:47 AM

Quote:

Originally Posted by jpt62089
wow I love this hack! its.... its.... just....... AMAZING! lol :p

so when do we get our hands on the XML? vB 10? hehe :P

Maybe he's sleeping <G> (only posted it earlier today ;)).

Cheers

Andy

ShiningArcanine 06-17-2005 05:06 PM

Quote:

Originally Posted by womensden
Forgetting something?

Sorry guys, I could have sworn I attached this. I guess I clicked the wrong submit button. ^_^;;

Anyway, it is attached now. It uses the same perl expression Logician's original hack uses and much of the code is the same. I simply made it work with vBulletin 3.5.0 Beta 1. I'm thinking of writing a new expression for more aggressive compression but my experience with expressions is limited so that'll have to wait until I have some freetime on my hands.

womensden 06-17-2005 05:13 PM

*Installing now*

Thanks. I didn't think you did it on purpose. ;)

ShiningArcanine 06-17-2005 05:23 PM

Quote:

Originally Posted by womensden
*Installing now*

Thanks. I didn't think you did it on purpose. ;)

I didn't think you did. :)

Guys, I'm still playing with this but if you open the xml file, find:

Quote:

/(>)(s*)(\r\n)*(s*)(<)/
Replace it with:

Quote:

/(>)(\s*)(\r\n)*(\s*)(<)/
And then upload that file instead, the compression soars from 1-2% to 8-10%. I'm still playing with the expression through so you might want to wait until I finish playing with it and release version 1.1.0.

womensden 06-17-2005 05:28 PM

That messed up my tables.

ShiningArcanine 06-17-2005 05:41 PM

Quote:

Originally Posted by womensden
That messed up my tables.

Did you edit the XML file and then upload it or did you edit the plugin from the Plugin Manager? There is a problem in vBulletin 3.5.0 Beta 1 when it comes to storing expressions. They seem to get parsed somewhere along the line; hence why I said to edit the xml file.

womensden 06-17-2005 05:45 PM

oh, ok. I'll try that.

womensden 06-17-2005 05:47 PM

That worked! Thanks

mholtum 06-17-2005 06:13 PM

[Output: 36.08 Kb. compressed to 35.71 Kb. by saving 0.37 Kb. (1.03%)]

That is all I am getting. But if I edit the file, the forums get hosed.

Now I am getting:
[Output: 36.08 Kb. compressed to 29.16 Kb. by saving 6.92 Kb. (19.19%)]


All times are GMT. The time now is 09:12 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.01290 seconds
  • Memory Usage 1,738KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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