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)

kall 12-13-2009 03:35 PM

Quote:

Originally Posted by abroad (Post 1929779)
this messed up my whole site. I have RC2

You might want to be more specific as to what the problem is.

Darkimmortal 12-13-2009 03:47 PM

Quote:

Originally Posted by abroad (Post 1929779)
this messed up my whole site. I have RC2

Either give me the link to your site with it like that, or if you can't leave it like that, send the the HTML source in a PM.

Did you definitely run compress css and js after installing?


Also kall, see if 0.5 works for you now :)

RadioErewan 12-13-2009 11:13 PM

Destroys a lot of links. Wrong CSS cached. Popups disappeared. Unable to log out. Unisntalled. (RC2)

Darkimmortal 12-14-2009 12:19 AM

http://images.loqu.com/photos/252/12...g-it-wrong.jpg

I can't debug what I can't see, nor do I have any problems even on my modded installation.

Also did you check the contents of /clientscript/vbsc.js and /clientscript/vbulletin_css/style-whatever/vbsc.css?

SnakeV 12-14-2009 12:41 AM

When i have this plugin enabled with JS, CSS and HTML optimizer the moderation tools don't work.

For example if i select a message with the checkbox at the top corner right of the message it don't select the message.

Also the vbsc.js is being replaced incorrectly, it's being replaced with this:
Code:

<script type="text/javascript" src="/clientscript/vbsc.js"></script>
When it should be without the slash:
Code:

<script type="text/javascript" src="clientscript/vbsc.js"></script>
Thanks.

Darkimmortal 12-14-2009 12:53 AM

Quote:

Originally Posted by SnakeV (Post 1930243)
When i have this plugin enabled with JS, CSS and HTML optimizer the moderation tools don't work.

For example if i select a message with the checkbox at the top corner right of the message it don't select the message.

Also the vbsc.js is being replaced incorrectly, it's being replaced with this:
Code:

<script type="text/javascript" src="/clientscript/vbsc.js"></script>
When it should be without the slash:
Code:

<script type="text/javascript" src="clientscript/vbsc.js"></script>
Thanks.

Yeah I'm able to reproduce that, seems to only happen when the page is loaded via a link rather than refresh though, which is pretty weird.

yahooooh 12-14-2009 01:22 AM

could you release it for 3.8

LPH2004 12-14-2009 03:32 AM

1 Attachment(s)
I'm having trouble with the latest 0.5 release (had it with 0.4 too) and RC2.

The pull down menus from the navigation bar become text. The chatbox stops working.

If I disable javascript and css compression then the site runs fine (leaves html optimization).

I've disabled the plugin, uninstalled it, reinstalled it, reuploaded files.

I've attached a disabled and enabled image to help.

kall 12-14-2009 04:35 PM

Quote:

Originally Posted by Darkimmortal (Post 1929981)
Also kall, see if 0.5 works for you now :)

It does.. well, the issues I reported are gone, but now js compression is adding a little --> before my vBSEO copyright in the footer.

I can actually live with that though. ;)

Darkimmortal 12-14-2009 07:32 PM

Quote:

Originally Posted by LPH2004 (Post 1930286)
I'm having trouble with the latest 0.5 release (had it with 0.4 too) and RC2.

The pull down menus from the navigation bar become text. The chatbox stops working.

If I disable javascript and css compression then the site runs fine (leaves html optimization).

I've disabled the plugin, uninstalled it, reinstalled it, reuploaded files.

I've attached a disabled and enabled image to help.

I've tested 0.6 specifically with the GCBOS mod - let me know if it works for you :)

ArtAttack 12-14-2009 08:31 PM

The css optimizer breaks visitor messages for me. The message boxes go past the forum width.

Darkimmortal 12-15-2009 02:52 PM

Quote:

Originally Posted by ArtAttack (Post 1930758)
The css optimizer breaks visitor messages for me. The message boxes go past the forum width.

Yup I can reproduce that - will fix for 0.7 :)

Darkimmortal 12-16-2009 04:05 PM

Anyone having issues with vB4 turning RTL after upgrading to RC4 might want to check this out: http://www.vbulletin.com/forum/showt...s-go-RTL-again

tl;dr - save any stylevar and it will work again.

Bounce 12-16-2009 07:46 PM

Quote:

Originally Posted by Darkimmortal (Post 1931739)
Anyone having issues with vB4 turning RTL after upgrading to RC4 might want to check this out: http://www.vbulletin.com/forum/showt...s-go-RTL-again

tl;dr - save any stylevar and it will work again.

yip, my style went pete tong :eek:

Saving a stylevar indeed fixed it

I notice if you have this hack enabled on upgrade the install can't find

install/vbsc.php :erm: I realise its not supposed to be in the install folder, just saying lol

Darkimmortal 12-16-2009 08:58 PM

Quote:

Originally Posted by hIBEES (Post 1931832)
yip, my style went pete tong :eek:

Saving a stylevar indeed fixed it

I notice if you have this hack enabled on upgrade the install can't find

install/vbsc.php :erm: I realise its not supposed to be in the install folder, just saying lol

Yup I noticed that too - I think I'll hold off on fixing it until they implement this hook though :)

MarkJW 12-16-2009 10:14 PM

Not sure if it's due to this mod, but after upgrading from Beta 4 to RC2 and installing this mod, none of attachments work. When I click on them, they take me to "attachment.php?.jpg". The image was a JPG, and the link seems to be correct. Does vB4: Supercharged change how attachment.php works? I've disabled Attachment Optimization and even disabled the entire mod, but nothing changes, so I'm pretty sure it's RC2, but I just wanted to make sure.

Darkimmortal 12-16-2009 10:22 PM

Quote:

Originally Posted by MarkJW (Post 1931918)
Not sure if it's due to this mod, but after upgrading from Beta 4 to RC2 and installing this mod, none of attachments work. When I click on them, they take me to "attachment.php?.jpg". The image was a JPG, and the link seems to be correct. Does vB4: Supercharged change how attachment.php works? I've disabled Attachment Optimization and even disabled the entire mod, but nothing changes, so I'm pretty sure it's RC2, but I just wanted to make sure.

Try disabling Attachment Optimiser in the Plugin Manager - if that doesn't help then it almost certainly isn't being caused by vB4:SC.

EDIT: Wait, you've disabled the entire mod? Maybe it's a bug in vBulletin itself then :/

You could try turning attachment optimiser on as a workaround. :P


EDIT 2: Just checked and my attachments are still working fine, this is on RC4 though with Attachment Optimiser enabled (because I need it :P). And I don't think they were broken on RC2 either.

Dark-Master 12-17-2009 03:54 PM

I will be using this addon in Gold Edition!

merkaz 12-17-2009 08:09 PM

I'll be installing this when vb4 goes gold

MarkJW 12-18-2009 12:39 AM

Quote:

Originally Posted by Darkimmortal (Post 1931928)
Try disabling Attachment Optimiser in the Plugin Manager - if that doesn't help then it almost certainly isn't being caused by vB4:SC.

EDIT: Wait, you've disabled the entire mod? Maybe it's a bug in vBulletin itself then :/

You could try turning attachment optimiser on as a workaround. :P


EDIT 2: Just checked and my attachments are still working fine, this is on RC4 though with Attachment Optimiser enabled (because I need it :P). And I don't think they were broken on RC2 either.

Probably an RC2 bug, but I haven't been able to find anyone with the same problem.

Oh well.

BSMedia 12-18-2009 06:59 AM

My forum went from a 66/100 to a 70/100 after using this.

After some .htaccess work, I've got it up to an 80/100, going to try to see if I can get 100/100 :D


Edit: 90/100 is probably as high as I'm going to go until I can see what the dev's have planned for optimization in their releases following gold.

Darkimmortal 12-18-2009 11:14 AM

I might have a go at tackling "Optimise images", "Specify image dimensions" and some of "Use efficient CSS selectors" in a later release :)

But for now I'm focused on getting fully deferred Javascript.

And I suppose "Parallelise downloads across hostnames" could be done fairly easily with some extra subdomains pointing at the root, along with some code to distribute downloads across them.



I dunno about 100/100, but ticks across the board in the Page Speed Firebug addon is good enough for me :)

lord_of_chaos 12-18-2009 02:02 PM

Hello,
nice add-on you have here, indeed. :)

Did I just over-read it or didn't you mention that the PHP / Webserver needs write access to "/clientscript/vbsc.js" and "/clientscript/vbsc.js.gz"? Took me some time to find that out. Could be added to the first post. :)

BSMedia 12-18-2009 03:33 PM

Quote:

Originally Posted by Darkimmortal (Post 1932852)

And I suppose "Parallelise downloads across hostnames" could be done fairly easily with some extra subdomains pointing at the root, along with some code to distribute downloads across them.

That'll have to be done at the server level, I'm not sure any script or modification can handle it.

I setup mine last night in about 6 minutes. I made. Then in the image paths for StyleVars i just entered the full path (http://images1.site.com) and everything appears to be working.

images1.site.com (statusicons)
images2.site.com (gradients)
images3.site.com (site_icons)
images4.site.com (misc)
images5.site.com (images)
clientscript.site.com (clientscript)

Then I modified the headinclude template to point the clientscript call to http://clientscript.site.com/blahblah.js?V=whatever

Here is a quick guide on Setting up parallel hostnames for vBulletin optimization & vBulletin 4 optimized .htaccess for vBulletin optimization

BSMedia 12-18-2009 09:21 PM

There seems to be a bug with this mod and CMS sections.

When it's enabled the sections on the CMS don't appear.

When it's disabled, the CMS sections appear just fine.

Darkimmortal 12-18-2009 09:46 PM

Quote:

Originally Posted by BSMedia (Post 1933119)
There seems to be a bug with this mod and CMS sections.

When it's enabled the sections on the CMS don't appear.

When it's disabled, the CMS sections appear just fine.

Can you give me a link to your site where that is happening?

BSMedia 12-18-2009 11:20 PM

Yeah

http://apertureforums.com

It's currently disabled, but I'll enable it for a while so you can see it in action.

Darkimmortal 12-21-2009 05:40 AM

I was able to reproduce the sections bug - it will be fixed in 0.7, which I'm holding off on releasing until after gold. :)

cloferba 12-21-2009 08:41 PM

Quote:

Originally Posted by Darkimmortal (Post 1934412)
I was able to reproduce the sections bug - it will be fixed in 0.7, which I'm holding off on releasing until after gold. :)

this is today...not? :D

Darkimmortal 12-21-2009 10:24 PM

Yeah just give me a sec to install gold on my board to test things out :P

Hornstar 12-22-2009 12:07 AM

I like the sound of this. Tagged for when I upgrade to vb4 ^^

aj8690 12-22-2009 03:08 AM

1 Attachment(s)
Installed.

Having some style issues when CSS optimization is enabled... (This is the post reply page)

milsirhc 12-22-2009 05:39 AM

Happening in new thread too.

Boko577 12-22-2009 10:32 AM

So I moved my CSS.php file from database into the /clientscript. Then when I went to my site it looked totally different. After doing this, I followed the rest of the instructions until #6, compress js and css. I was able to compress js, but css won't compress, I just get kinda a gray bar in the middle of the screen. What am I doing wrong. By the way I'm using 4.0 gold

euantor 12-22-2009 11:02 AM

Looks good. I'll have a go later :)

Darkimmortal 12-22-2009 11:56 AM

Quote:

Originally Posted by aj8690 (Post 1935129)
Installed.

Having some style issues when CSS optimization is enabled... (This is the post reply page)

Reproduced, will fix for 0.8 :)

Quote:

So I moved my CSS.php file from database into the /clientscript. Then when I went to my site it looked totally different. After doing this, I followed the rest of the instructions until #6, compress js and css. I was able to compress js, but css won't compress, I just get kinda a gray bar in the middle of the screen. What am I doing wrong. By the way I'm using 4.0 gold
I'm not sure what way you did it, but you want to go to Options > Style and Language Settings > Store CSS Stylesheets as Files and set it to Yes. Sounds like you were trying to actually move the css.php file? :/ If so, move it back. ;)

cloferba 12-22-2009 04:45 PM

when i click on compress javascript...i recieve this error

Quote:

Warning: file_put_contents(./clientscript/vbsc.js) [function.file-put-contents]: failed to open stream: Permission denied in [path]/admincp/vbsc.php on line 87

Warning: file_put_contents(./clientscript/vbsc.js.gz) [function.file-put-contents]: failed to open stream: Permission denied in [path]/admincp/vbsc.php on line 88

Warning: filesize() [function.filesize]: stat failed for ./clientscript/vbsc.js.gz in [path]/admincp/vbsc.php on line 89
i think is because /clientscript/vbsc.js.gz doesnt exist...but its not on the files you give to download

Darkimmortal 12-22-2009 04:54 PM

Make sure PHP can write to those files :)

You need to do some chmodding or whatever

cloferba 12-22-2009 05:19 PM

ready..i miss to set 777..

but i see my forum as the image:

https://vborg.vbsupport.ru/
whats going wrong?

this skin doesnt uses images...only html to colours, like default vbulletin skin

i see default vb skin same as the image

movslow 12-22-2009 05:54 PM

Mine did the same thing ^^ .

Was forced to uninstall.

The instructions aren't very clear.

Quote:

To users of the previous CSS Optimiser and Attachment Optimiser: Delete both plugins before installing vB4:SC.
Ensure you have CSS stored in /clientscript and not in your database. - HOW ???
Disable Remote YUI if you have it enabled. - HOW ??
Upload the contents of vbsc.zip to your forum root.
Install product-vbsc.xml as a Product.
Run Compress JS and Compress CSS under the vB4: SuperCharged admin menu section.
You're good to go, but you might want to check over the settings first.
:confused:


All times are GMT. The time now is 09:45 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.01699 seconds
  • Memory Usage 1,841KB
  • 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
  • (4)bbcode_code_printable
  • (17)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
  • (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