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)

Darkimmortal 01-27-2010 03:55 PM

I'll get round to fixing the CSS optimiser soon :P

Is it safe to say the HTML and JS optimisers are relatively bug-free at the moment?

argothiusz 01-27-2010 06:47 PM

Quote:

Originally Posted by Darkimmortal (Post 1968092)
I'll get round to fixing the CSS optimiser soon :P

Is it safe to say the HTML and JS optimisers are relatively bug-free at the moment?

No problem so far with HTML and JS. CSS messed up the blog side bar when I turn on the forum's sidebar block then minimize it. Beside that, 5+ star rating for this mod ^_^

kall 01-28-2010 12:52 PM

Quote:

Originally Posted by Darkimmortal (Post 1968092)
I'll get round to fixing the CSS optimiser soon :P

Is it safe to say the HTML and JS optimisers are relatively bug-free at the moment?

It looks to be inserting it once for each lot of .css .. I tried to fix it but got nowhere. :P

The others don't seem to have any problems. :)

nomoreturn 01-31-2010 01:26 PM

Hello , Got error after upgrading before it was working perfectly but after upgrading got error in CSS Optimiser It was working great before Upgrading here is the error in admin cp when we run CSS Optimiser
--------
Warning: scandir([path]/clientscript/vbulletin_css/style00029l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: Mast Blue
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00030l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: Mast Green
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00031l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: Mast Sky
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00032l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: Mast Orange
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00034l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: Black & Green
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00043l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: Mast test style
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00044l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: Chell Rose
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00036l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: Face Book
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00037l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: mastdunya1
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00038l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: vB4 Default
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00039l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: Mast Dunya (vB3 Style - Incompatible)
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00040l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: SunSet
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00045l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.
Compress CSS: Revolution
Writing latest CSS from the database to disk... Success

Warning: scandir([path]/clientscript/vbulletin_css/style00046l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 237

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 238
-----------------

and here is the error on forum home page
------
The file /home/mast****/public_html/clientscript/vbulletin_css/style00046l/vbulletin.css is missing. This would indicate your forum is not set to save CSS on the filesystem. If you are certain it is, try running Compress CSS again.

To prevent issues, your forum is currently running without optimised CSS as a fallback
-----------

PLz help me to fix this thanks

Darkimmortal 01-31-2010 01:37 PM

You are running 4.0.1 right?

Also you should disable the CSS optimiser until I get round to fixing it :P

argothiusz 01-31-2010 09:14 PM

Quote:

Originally Posted by kall (Post 1967394)
Ditto. Fresh upgrade to 4.0.1, then the latest build of VB:SC.

We had it once, ages ago, it was squashed, now it's back with friends.

Ya, I am having the same problem. It's a conflict with Vbseo. Disable Css optimizer will fix the problem but I don't want to sacrifice the speed lol

kall 01-31-2010 09:55 PM

Quote:

Originally Posted by argothiusz (Post 1971654)
Ya, I am having the same problem. It's a conflict with Vbseo. Disable Css optimizer will fix the problem but I don't want to sacrifice the speed lol

Ahh.

That may also explain why I am getting /clientscript appended to the end of the actual URLs ... for someone, somewhere, because they are showing up in my error_log.

argothiusz 02-01-2010 03:22 AM

Quote:

Originally Posted by kall (Post 1968912)
It looks to be inserting it once for each lot of .css .. I tried to fix it but got nowhere. :P

The others don't seem to have any problems. :)

Let me know if you found a quick fix for the repeat forum title on top of header/logo.

FlameGun 02-07-2010 02:43 AM

Whenever someone logs in on my forums this error appears on the top, any idea how to fix it?

The file /vbulletin.css is missing. This would indicate that your forum is not set to save on the CSS on the file system. If you are certain it is, try running Compress CSS again.

I have checked, it is set to save on the file system, and I have run both compress processes multiple times.

Darkimmortal 02-07-2010 12:43 PM

Known bug, disable the CSS optimiser.

House M.D. 02-10-2010 02:09 AM

any ETA on a fix?

HappyFeet 02-15-2010 06:27 PM

Great mod, it has really added speed to my page loads... I noticed that Vsa Top statistics does not work with this mod active, if I disable it the stats work. If I enable it the stats mod only shows "Loading..."

Anyone else have this issue?

Big-Pete 02-15-2010 06:41 PM

Quote:

Originally Posted by intospain (Post 1966861)
One problem, css optimizer makes domain name run along the top of the page inside forums three times...

http://www.domain.com/http://www.dom...ww.domain.com/

Had to disable ccs optimizer.

Quote:

Originally Posted by kall (Post 1967394)
Ditto. Fresh upgrade to 4.0.1, then the latest build of VB:SC.

We had it once, ages ago, it was squashed, now it's back with friends.

Same problem here, Any idea when an update is due??

Darkimmortal 02-16-2010 10:38 PM

Now that 4.0.2 is out, I'll fire out a vB4:SC update tomorrow :)

For now, make sure you run compress css+js after updating.

argothiusz 02-17-2010 02:06 AM

Quote:

Originally Posted by Darkimmortal (Post 1984139)
Now that 4.0.2 is out, I'll fire out a vB4:SC update tomorrow :)

For now, make sure you run compress css+js after updating.

YES!! I have been looking forward to new release of this for a while ^_^

I missed the CSS compressor lol

cory_booth 02-17-2010 11:31 AM

Updated to 4.02 and the Compress Java reports error with read/write?
Hmmm...
Telnet to site and CHMOD / CHOWN to the two files - still got error.
Never had an issue before...

EDIT...

Disabled Google compressor and now functioning - hmmm....

Darkimmortal 02-17-2010 01:40 PM

Quote:

Originally Posted by cory_booth (Post 1984508)
Updated to 4.02 and the Compress Java reports error with read/write?
Hmmm...
Telnet to site and CHMOD / CHOWN to the two files - still got error.
Never had an issue before...

EDIT...

Disabled Google compressor and now functioning - hmmm....

I got exactly the same issue - I'll look into it.

EDIT: Don't have a clue why it's happening, so just disable closure compiler for now.

Also there are a couple of bugs when saving the CSS files (or pretty much any template), but I'm pretty sure those are caused by vB itself.

argothiusz 02-17-2010 06:57 PM

Downloaded and installed latest version. All the old bugs seem to be fixed but I found new major one.

Error on: Javascript Optimiser
Browser: I.E (it works fine with Opera, Chrome and Firefox)
Description: With javascript optimizer enabled, Edit Post/ Reply to quote ajax functions got disabled. Also, when you enter edit mode or reply mode, you will see html out put instead of just normal bb code. Test it out with I.E and you will see what I meant.

MarkJW 02-18-2010 12:34 AM

Still getting an error saving CSS files. :(

balkanboy 02-18-2010 10:54 AM

tagged wait for a stable release :P :)

cherylferraro 02-18-2010 08:21 PM

Upgraded a forum to 4.02 today and installed this mod for the first time. It really was an easy way to improve the forum's firebug score. I didn't enable the google compressor, will wait for the next release to try it.

Excellent mod, I appreciate your work and thank you for sharing it.

ps2wiz 02-19-2010 03:44 AM

When I enabled the HTML optimizer, it deletes google's ad section targeting that I have setup through vBSEO.

https://www.google.com/adsense/suppo...y?answer=23168

anaksimandros 02-20-2010 08:35 AM

i don't use this hack with valter's advanced forum statics

HappyFeet 02-20-2010 01:46 PM

Quote:

Originally Posted by ps2wiz (Post 1986158)
When I enabled the HTML optimizer, it deletes google's ad section targeting that I have setup through vBSEO.

https://www.google.com/adsense/suppo...y?answer=23168

I don't have vBSEO but it kept mine from working too. I use the Rotating Banner System Mod thru the default vB ad management, those quit working until I disabled the html optimizer.

The most recent thing I found was the Mini Youtube Player in Profile Mod would not work without changing a setting in admin cp, store css as files had to be set to NO, and the Supercharged mod had to be completely disabled.

I feel I'd rather have improved website performance over the Mini Youtube Player, so I guess you can't have your cake and eat it too right? It's a trade off I guess.

I'm running 4.0.2 but haven't upgraded this mod yet, waiting for the next update...

kall 02-20-2010 02:19 PM

Has anyone else noticed 404-type errors in their error_log for .. well, /clientscript/ directories that are too deep? (And, apparently it's looking for stylexxxl (where xxx is the style id)?)

eg:

Quote:

[Sat Feb 20 15:19:10 2010] [error] [client 124.115.4.191] File does not exist: /home/x/public_html/clientscript/clientscript, referer: http://www.nzboards.com/
[Sat Feb 20 15:19:09 2010] [error] [client 124.115.4.191] File does not exist: /home/x/public_html/clientscript/clientscript, referer: http://www.nzboards.com/
[Sat Feb 20 15:18:06 2010] [error] [client 124.115.4.191] File does not exist: /home/x/public_html/clientscript/vbulletin_css/style00321l/clientscript, referer: http://www.nzboards.com/

ChopSuey 02-20-2010 03:52 PM

Ehh, thanks for the update i couldn't get it to work......disabled google thing and works....

literatestylish 02-22-2010 04:29 PM

Quote:

Originally Posted by Darkimmortal (Post 1984139)
Now that 4.0.2 is out, I'll fire out a vB4:SC update tomorrow :)

For now, make sure you run compress css+js after updating.

Sorry for my ignorance (still learning), but how do you run compress css+js?

Big-Pete 02-22-2010 04:34 PM

Quote:

Originally Posted by literatestylish (Post 1988881)
Sorry for my ignorance (still learning), but how do you run compress css+js?


In your Admincp, look at the bottom left, you'll see the VB4 supercharged tab, its in there..

literatestylish 02-23-2010 12:53 AM

Quote:

Originally Posted by Big-Pete (Post 1988887)
In your Admincp, look at the bottom left, you'll see the VB4 supercharged tab, its in there..

Thank you!

PhilG 02-23-2010 07:44 AM

Bug: When "Enable HTML Optimiser" is on, new lines within "code" tags gets stripped..

Great work so far though, i really thing there is great potential for this add-on :up:

ChopSuey 02-23-2010 11:31 AM

An error occurred when saving /home/x/public_html/forum/clientscript/vbsc.js and/or /home/x/public_html/forum/clientscript/vbsc.js.gz. Ensure these files exist and that PHP has permission to write to them (chmod).
=====================================
I have them chmodded to 777 still have a problem.

ChopSuey 02-23-2010 12:22 PM

This has conflict with vMoods

1GTurn 02-23-2010 05:29 PM

Got the following when running compress CCS

Quote:

Warning: Invalid argument supplied for foreach() in [path]/includes/adminfunctions_template.php on line 913
What do I need to do?

MikeWarner 02-23-2010 07:30 PM

Just upgraded to 1.3 nd all is still working perfectly, not sure why others are having so many issues. I've now hosted my images on a CDN too, the site is flying - I just keep clearing my cache so I can see how quick it is! lol. See for yourself:
www.ridehub.co.uk

Big-Pete 02-25-2010 05:56 PM

Quote:

Originally Posted by MikeWarner (Post 1989878)
Just upgraded to 1.3 nd all is still working perfectly, not sure why others are having so many issues. I've now hosted my images on a CDN too, the site is flying - I just keep clearing my cache so I can see how quick it is! lol. See for yourself:
www.ridehub.co.uk

Quite interested in how you hosted images on a CDN, Is it easy to do??

burntire 02-25-2010 07:13 PM

Quote:

Originally Posted by 1GTurn (Post 1989782)
Got the following when running compress CCS



What do I need to do?

I get the same at the top of the page, but the Compress shows as being successful.

Everything seems to be working fine.

Zachery 02-28-2010 01:38 AM

I really like the idea's of these mods, I just wish that they'd actually improve things instead of possibly cause more issues.

If you're already having page load time issues, some of this addon is going to cause even more problems for you.

You should be loading YUI from a remote source, it means that your users only have to have one set of YUI files cache. If they visit any other VB sites that also load remotely they dont have to request the files. It also increases thier browsing speed of the site because their browser can send requests for these files while waiting for your other site files(by default in browsers only do 2 requests per site at a time). Moving it back onto your site mimimized or not isn't helping. FWIW we already compress the files by default for vBulletin unless you download the package sans compressed javascript. -2

Serving Compressed CSS is actually a good idea, +1

Compressing templates in REALTIME (as in every single page load) is a HORRIBLE idea. This is adding COUNTLESS cpu cycles and making php do even more work then it was already doing to make your pages load. FWIW fully gziped/mod_deflated html with whitepsace removal is 3-5% improvement on average. If you really need to squeeze that much preformance, you should do it ONCE and only ONCE ever. When you save the template you can compress its contents. You can also extend the post cacheing system to compress its html whitespace there as well. -5

The attachment optmizer is probably not bad, but I didn't look at the code here. +0


So overall this addon does more to harm your site than help it, at least as it stands now. Just something to think about :)

Darkimmortal 02-28-2010 02:45 PM

Moving Javascript to before </body> +2 (the difference from simply doing that is huge - you don't get those little freezes during page loads)

Google Closure Compiler +1

Compressed HTML I agree that's probably not the best thing for the server CPU :P
I'll make that disabled by default and include a warning in the next version.

Also I could make the YUI files being included in the Javascript cache an optional thing. But still surely almost all the Javascript needed on the majority of pages being compressed into a single file under 70 KB (with GZip) that can be easily cached deserves a +1? :P
Otherwise you end up with a load of separate Javascript files and like you said, it's usually 2 requests at a time (not that it makes much difference without loading them async).

Zachery 02-28-2010 04:21 PM

If you want to compress the html, do it, just do it else where like the template save in the admincp, and change how the pst cache works to compress html there.

The YUI files being on a CND (google/yahoo) are better. Its more likely for your browsers to have the YUI files cached if they were hosted on a central website. Why use your own bandwith and cpu cycles to serve the YUI when you don't need to?

YSlow! 2 said that the average vBulletin page gets a C, which isn't bad.

ps2wiz 02-28-2010 10:52 PM

It states that your mod will use NginxHttpGzipStaticModule if available, but is there a windows version of it?

Thanks.


All times are GMT. The time now is 01:25 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.02278 seconds
  • Memory Usage 1,867KB
  • 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
  • (17)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
  • (40)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