vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - vB4 SuperCharged - Optimises CSS, Javascript and HTML (https://vborg.vbsupport.ru/showthread.php?t=229608)

Strike3ForumsMH 06-10-2010 01:27 AM

I am trying to compress the CSS but get this error:
"Fatal error: Maximum execution time of 30 seconds exceeded in ...vbsc.php on line 384"

I have a lot of styles... Any ideas?

Darkimmortal 06-10-2010 02:23 PM

Edit vbsc.php and put set_time_limit(0); on the line after the opening <?php

Strike3ForumsMH 06-11-2010 10:41 AM

Worked like a charm. Thanks!

Abhik 06-19-2010 10:06 AM

Hi..
Excellent Modification. Installed and Nominated for MOTM.

One Request, can we have the CSS Combiner like we have for Javascript files?

Darkimmortal 06-19-2010 12:56 PM

Quote:

Originally Posted by Abhik (Post 2055771)
Hi..
Excellent Modification. Installed and Nominated for MOTM.

One Request, can we have the CSS Combiner like we have for Javascript files?

It used to do that, but after vB added the '-rollup' css files, the crazy amount of incompatibilities outweighed the decreased benefits. Even on an unmodified forum, including all the CSS at once introduces issues on some pages.

Plus with how inefficient the vBulletin CSS is, it's best to keep it at a minimum on each page.

Abhik 06-19-2010 03:19 PM

I am not sure.. But, can't they be added with <vb:if condition>? Like a extra plugin at {vb:raw template_hook.headinclude_css}

That'll probably require manual removal of the existing calls.

And, what about the ability of adding custom js files?
Like, I have a few modification installed that requires js files to be loaded. A filed to add them manually would be much appreciated.

Darkimmortal 06-19-2010 03:39 PM

You can add them to includes/vbsc_global.php (the $GLOBALS['js_files'] array) - just remember to merge the changes when you go to update vBSC ;)

Abhik 06-19-2010 05:03 PM

?ber cool.. :D
Do I need to change anything in templates so that the js files don't go double called?

BTW, a suggestion.. Can you add a tutorial on how we can install "nginx with ngx_http_gzip_static_module" on dedicated apache servers?

Darkimmortal 06-19-2010 05:31 PM

Quote:

Originally Posted by Abhik (Post 2055924)
?ber cool.. :D
Do I need to change anything in templates so that the js files don't go double called?

You would need to remove/comment out the existing script tags.

Quote:

Originally Posted by Abhik (Post 2055924)
BTW, a suggestion.. Can you add a tutorial on how we can install "nginx with ngx_http_gzip_static_module" on dedicated apache servers?

That's way beyond the scope of this mod. You may want to check these links out:

http://www.vbulletin.com/forum/showt...of-a-new-giant
http://wiki.nginx.org

If you are going to go with nginx, I recommend ditching Apache completely and running PHP through PHP-FPM.

Fungsten 06-19-2010 06:01 PM

When trying to run the System Test an error message comes back saying "vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test."

However the system is online. TIA.

VB 4.0.4


All times are GMT. The time now is 09:34 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.01711 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_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