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)

Oblivion Knight 04-28-2005 06:23 PM

I finally got around to updating to 2.8 from 2.6 - so far, so good.

Relieved to see that the updates have calmed down somewhat.. ;)

Lizard King 04-28-2005 10:07 PM

Installed 5 minutes ago and working pretty good...

Oblivion Knight 05-01-2005 01:24 PM

Quote:

Originally Posted by Trigunflame
Change

PHP Code:

$search  = array('/\s+/''/\t+/'); 

To

PHP Code:

$search  = array('/\s\s+/''/\t+/'); 

Does it work now?

Even with the suggested fix, there does appear to be a slight issue with it taking away spaces that it shouldn't from a design point of view..

I noticed this one earlier this morning when I was fixing various bugs on my forum.

Trigunflame 05-01-2005 10:17 PM

Quote:

Originally Posted by Oblivion Knight
Even with the suggested fix, there does appear to be a slight issue with it taking away spaces that it shouldn't from a design point of view..

I noticed this one earlier this morning when I was fixing various bugs on my forum.

try using just

$search = array('/\s\s+/');

for some reason vbulletin uses tabs in various places.. that could be the problem..

laeth 05-02-2005 06:42 AM

Heya,

Cool hack, but when I compress the templates all my links become underlined, when they are not supposed tobe. Any ideas?

Oblivion Knight 05-02-2005 07:06 AM

Quote:

Originally Posted by Trigunflame
try using just

$search = array('/\s\s+/');

for some reason vbulletin uses tabs in various places.. that could be the problem..

Nope, that isn't the problem.. :nervous:

LambHyjoo 05-10-2005 02:05 PM

I am worried by the "needed spaces" (for design, which should be replaced by some " ") too. How did you manage your spaces problems, vissa ? Did you have to replace all the spaces by " " ? Or the Trigunflame tip made the work for you ?

But this hack seems definitely to be useful. I'll keep in touch with this thread.

mutus123 05-14-2005 03:15 PM

This reduced the file size of my showthread page by nearly 20% :up:

Definitely speeds things up too.

Thank you!

dutchbb 05-15-2005 02:58 PM

How can I apply this to only certain (payed) usergroups?

4number8 05-15-2005 05:36 PM

Installed and works great, I can see a nice increase in page loading...many thanks :)


All times are GMT. The time now is 03:55 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.01226 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
  • (2)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
  • (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