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-01-2010 06:21 AM

Quote:

Originally Posted by Raug (Post 1943788)
Hm, the thanks icon still appears for my reply button :(

Did you remember to recompress the CSS and Javascript?

Raug 01-01-2010 06:22 AM

Yeah, I even uninstalled and reinstalled to make sure it didn't work.

I don't know if it makes a difference, but I moved the hook like Abe1 said to get the thanks button to appear in a different location.

TimberFloorAu 01-01-2010 06:25 AM

Installed. Great work mate !

Darkimmortal 01-01-2010 06:26 AM

Quote:

Originally Posted by Raug (Post 1943791)
Yeah, I even uninstalled and reinstalled to make sure it didn't work.

I don't know if it makes a difference, but I moved the hook like Abe1 said to get the thanks button to appear in a different location.

Well on my test forum which is running an unmodified copy of both vB4:SC and the Post Thank You Hack I see this:

https://vborg.vbsupport.ru/external/2010/01/83.png

(The missing icon is a bug in Post Thank You Hack)

Can I have a link to your forum?

Raug 01-01-2010 06:35 AM

<span style="text-decoration: line-through">Yeah, somehow the image shows up after I run the CSS compressor. The path to the reply icon is still the reply icon, but it shows the thanks icon (which is missing without compression like you see it).</span>

So that was a bug of the thanks hack and an oversight. Thanks for pointing that out.

MikeWarner 01-01-2010 08:21 AM

Looks like this will be a good mod - Bit I'm having the same issues as some above. I get the error "Please run the Compress CSS function of vB4: SuperCharged in your Admin CP. Your forum is currently running without optimised CSS as a fallback."

I have compressed both Javascript and CSS. I've even deleted the vbsc.js and vbsc.js.gz files and tried again (no errors given), but I'm still getting the message. It seems to render in Chrome ok, but it is a mess in IE, so I've disabled the hack for now. I look forward to a fix or pointer on what I'm doing wrong.

Many thanks.

Gnoll 01-01-2010 08:32 AM

Thank you for update :) , upgraded

Darkimmortal 01-01-2010 09:01 AM

Quote:

Originally Posted by MikeWarner (Post 1943828)
Looks like this will be a good mod - Bit I'm having the same issues as some above. I get the error "Please run the Compress CSS function of vB4: SuperCharged in your Admin CP. Your forum is currently running without optimised CSS as a fallback."

I have compressed both Javascript and CSS. I've even deleted the vbsc.js and vbsc.js.gz files and tried again (no errors given), but I'm still getting the message. It seems to render in Chrome ok, but it is a mess in IE, so I've disabled the hack for now. I look forward to a fix or pointer on what I'm doing wrong.

Many thanks.

Link?

Also the mess you described is to be expected with the way it tacks that message on before even <html> :p

MikeWarner 01-01-2010 09:16 AM

I've enabled the plug-in if just for you, let me know when you are done so I can fix or turn off again. Thanks :)
http://www.ridehub.co.uk

Edit - not sure if this matters, but my forum root is the directory route, i.e. it is located in / not /forums/

Darkimmortal 01-01-2010 09:25 AM

http://www.ridehub.co.uk/clientscrip..._vbulletin.css

Looks like Compress CSS hasn't run properly. Were there any errors?

And the folder layout doesn't make any difference - I run it live from / :)

MikeWarner 01-01-2010 09:28 AM

No - but I have fixed it now. I noticed when running the Compress CSS tool that is was for some reason compressing the forum style twice, and the default skin once, which was strange...

So I tried the default skin and it worked fine. The custom skin was a child of the default skin, so I moved it to have no parent. I then reran the Compress CSS tool and it only ran once on that skin. It now works.

Thanks for looking into this though. :)

MikeWarner 01-01-2010 09:33 AM

Update - I moved the custom style to become a child of the default skin, and the error came back. I then changed back to no parent style and it fixed again.

Darkimmortal 01-01-2010 09:36 AM

Ah, child skins is one thing I never tested D:

MikeWarner 01-01-2010 09:45 AM

Not a problem for now, but I will have a LOT of child styles soon, so a fix would be much appreciated. :)

Thanks

Bounce 01-01-2010 11:25 AM

The file clientscript/vbsc.js is missing???

Never knew there was one?

Big-Pete 01-01-2010 11:42 AM

Quote:

Originally Posted by hIBEES (Post 1943899)
The file clientscript/vbsc.js is missing???

Never knew there was one?


Just done the upgrade and I got the same error message..

Darkimmortal 01-01-2010 01:33 PM

Then run Compress Javascript (and Compress CSS), like it says in the upgrade instructions.

Bounce 01-01-2010 05:37 PM

Quote:

Originally Posted by Darkimmortal (Post 1943981)
Then run Compress Javascript (and Compress CSS), like it says in the upgrade instructions.

Top of my forum shows error..

Warning: filemtime() [function.filemtime]: stat failed for ./clientscript/vbsc.js in /var/www/vhosts/mmmmm.com/httpdocs/xxxx/includes/functions.php(6469) : eval()'d code on line 180


Please run the Compress CSS function of vB4: SuperCharged in your Admin CP.
Your forum is currently running without optimised CSS as a fallback.

When I run Compress Javascript get the error...

An error occurred when saving clientscript/vbsc.js and/or clientscript/vbsc.js.gz. Ensure PHP has permission to write to these files.

There is no vbsc.js in clientscript.

min0taur 01-01-2010 06:58 PM

Thanks for the update ! Installed

relaxiha 01-02-2010 03:50 AM

error
Code:

Warning: filemtime() [function.filemtime]: stat failed for ./clientscript/vbsc.js in [path]/includes/functions.php(6469) : eval()'d code on line 163

Raug 01-02-2010 04:28 AM

Quote:

Originally Posted by hIBEES (Post 1944171)
Top of my forum shows error..

Warning: filemtime() [function.filemtime]: stat failed for ./clientscript/vbsc.js in /var/www/vhosts/mmmmm.com/httpdocs/xxxx/includes/functions.php(6469) : eval()'d code on line 180


Please run the Compress CSS function of vB4: SuperCharged in your Admin CP.
Your forum is currently running without optimised CSS as a fallback.

When I run Compress Javascript get the error...

An error occurred when saving clientscript/vbsc.js and/or clientscript/vbsc.js.gz. Ensure PHP has permission to write to these files.

There is no vbsc.js in clientscript.

Quote:

4. Ensure the files vbsc.js and vbsc.js.gz in /clientscript/ are writable. You may need to create these first, or simply chmod the whole /clientscript/ directory to be writable. Not all servers will need this, but if you encounter errors in Compress JS, this is most likely why.
You have to create it if it doesn't exist.

Darkimmortal 01-02-2010 04:48 AM

Added blank copies of vbsc.js and vbsc.js.gz to vbsc.zip.

EDIT: What the hell, this useless forum sent out an auto update notification for that? D:

Darkimmortal 01-02-2010 06:48 AM

Updated :)

MikeWarner 01-02-2010 08:49 AM

Nice one - seems to work with Child Styles now. Thanks.

Bounce 01-02-2010 10:34 AM

not an error in site lol, thanks Darkimmortal :up:

linuxututs 01-02-2010 06:03 PM

My site flashes like when going from page to page.

Anyway to fix this?

I have clientscripts chmod 777 -R. ( I had already created the files from last time I tried this also, but over-wrote everything on this new install. )

Thanks,

Darkimmortal 01-02-2010 06:06 PM

Link?

linuxututs 01-02-2010 06:16 PM

Oh, sorry. Mysite.

Darkimmortal 01-02-2010 06:31 PM

Oh wow, it's made a horrible mess of your HTML. Would you mind disabling vB4:SC completely so I can see what's causing it?

linuxututs 01-02-2010 06:39 PM

Done. Thanks for the help to BTW. :)

Thanks,

MikeWarner 01-03-2010 10:49 AM

I also installed this - seems to have further helped by adding further compression:
https://vborg.vbsupport.ru/showthread.php?t=178286

Darkimmortal 01-03-2010 12:15 PM

Yeah that is all stuff any good server would have anyway :p

Darkimmortal 01-03-2010 01:41 PM

Quote:

Originally Posted by linuxututs (Post 1945208)
Done. Thanks for the help to BTW. :)

Thanks,

I thought the JS Optimiser was your problem, but I put your site's html through it in my test environment and it came out just fine :/

See if you can eliminate which optimiser is causing your issues and I'll see what I can do to fix it (although most likely it's one of your mods that's causing the problem).

linuxututs 01-03-2010 04:47 PM

Yeah, I got to thinking about it, and I have My Server tweaked to the Max already server-side and figure that could/is the problem as well Mate.

Great Mod and wish I could use it, but my sites already fast as lighting, I was just looking for a little more if you get what I mean. ( I'm also an overclocker...hahaha )

Thanks Darkimmortal,

slimshotty 01-03-2010 11:33 PM

I am getting an error. This appears at the top of site:

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 4762
The file ./clientscript/vbulletin_css/style00009/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 fallbac
k.

I get these errors when running Compress CSS:

vB4 Default Style ... (Templates) (StyleVars) () ()

Warning: Invalid argument supplied for foreach() in [path]/includes/adminfunctions_template.php on line 1035
(Controls) Done.


Warning: file_get_contents(./clientscript/vbulletin_css/style00009/vbulletin.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/popupmenu.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/vbulletin-chrome.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/components.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/vbulletin-formcontrols.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/postlist.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/attachment.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/attachments.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/editor.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/forumbits.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/threadlist.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/tagcloud.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208

Warning: file_get_contents(./clientscript/vbulletin_css/style00009/forumhome.css) [function.file-get-contents]: failed to open stream: No such file or directory in [path]/admincp/vbsc.php on line 208
DarkVision ... (Templates) (StyleVars) () ()
Warning: Invalid argument supplied for foreach() in [path]/includes/adminfunctions_template.php on line 1035
(Controls) Done.


I chmod 777 the vbulletin_css directory.

Can you tell me how to resolve?

Thanks,

Slim

slimshotty 01-04-2010 03:32 AM

I resolved my issue by re-applying 4.0 PL1 and enabling vbsc. It works great now.

supportMM 01-04-2010 05:53 AM

Sweet, it got rid of that nagging side bar jerk on open.

Installed. Thanks :)

abroad 01-06-2010 10:07 AM

Quote:

Originally Posted by slimshotty (Post 1946601)
I resolved my issue by re-applying 4.0 PL1 and enabling vbsc. It works great now.

how does re-applying work as I get the same error

Darkimmortal 01-06-2010 12:22 PM

Quote:

Originally Posted by abroad (Post 1948607)
how does re-applying work as I get the same error

Make sure you have CSS set to be saved on the filesystem (see the installation instructions).

bfdzio 01-06-2010 12:38 PM

I saw one guy ask and read like 12 pages after but can't find any answer to this.

I made two changes to my CSS before I had decided to give this a shot. I lost one of them. I had changed it so my link color INSIDE of posts only was a different color than the text, and I changed the color of my thread prefixes. The thread prefixes color is still the one I changed it to, but the one inside of threads does not work anymore. I disabled the mod and turned off storing CSS, and none of it is working. Is there any reason why only one change would stop working, and what can I do to fix this?

EDIT: Nevermind, fixed it finally. This always happens. I try for a day and then ask the question. Then I figure it out. For some reason I had my 'additional css' comment causing the problem. Just removed it even though it was commented out and it works now.


All times are GMT. The time now is 10:41 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.02055 seconds
  • Memory Usage 1,832KB
  • 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
  • (1)bbcode_code_printable
  • (10)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
  • (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