The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
United-Forum CSS Sprites - ludicrous speed - NOW! Details »» | ||||||||||||||||||||||||||||||||||||||||||||||
United-Forum CSS Sprites - ludicrous speed - NOW!
Developer Last Online: Feb 2013
tl;dr Makes your forum faster.
Want an easy one-click installation for this addon? . Vote for this jira-entry Add on currently is in beta stage When visiting a website, speed is a very important factor not only for users but crawlers as well. Long loading times are a nuisance since your time is basically wasted during the waiting period. Hence, we are trying everything we can in order to speed up our site. One great way to improve loading times is by the use of css sprites. Unfortunately these are not implemented by vBulletin. We therefore decided to develop our own css-sprite add on for vBulletin boards and want to share this code with the worldwide vBulletin community. Live demo The add on is permanently running in our vBulletin board ( > 2.000.000 posts), take a look:vBulletin performance using css sprites Our tests are based on version 0.7.0. We used the analytic tools firebug network utility and the googlelabs.com page speed sitecss sprites - what are they? The intention behind css sprites is the bundling of many small graphics into one large graphic in order to decrease the number of required http requests. This shortens the loading times of the given website. In addition, the the accumulated size of all small graphics is higher than the size of the sprite due to reasons of compression.What is the gain in using css sprites? Aside from the technical implementation, the question on how much one actually does gain by using css sprites is of the most interest. Obviously they decrease loading times - but how important are small loading times and what is the impact on vBulletin overall loading times?Add on features In the current released beta version 0.7.2, sprites are available for FORUMHOME and FORUMDISPLAY. Coming up next SHOWTHREAD.Installation First of all, if you didnt want to change the templates manually, install the Template Modification System (TMS). Now proceed with the installation:
Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
17 благодарности(ей) от: | ||
archet1337, baktabul, doctorsexy, Fuhrmann, Gnoll, iask, Juggernaut, Kolbi, mathforum, misericorde, neil00027, rodriiverduguez, Skaut, smsma.net, SWSUSA, xorex, yilmaz |
Comments |
#352
|
|||
|
|||
I see.
The addon does know you have GD installed and it is working (partly) as shown here: Quote:
As for the errors. That particular error does hit here: Quote:
In your case i assume (unfortunately the error message doesn't show us which image type due to an oversight) that your gd version doesn't support *.gif files. So the fix would be to update your GD version. Regards Mooff |
#353
|
|||
|
|||
I will have a go at updating GD but I do not want to have to recompile PHP.
That is why ImageMagick in my opinion is a much better solution than GD. EDIT ---------------------- gd GD Support enabled GD Version bundled (2.0.34 compatible) GIF Read Support enabled GIF Create Support enabled PNG Support enabled libPNG Version 1.2.44 WBMP Support enabled XBM Support enabled ----------------------- It seems I have GIF enabled ? Mick |
#354
|
||||
|
||||
Will there be an updated version soon that incorporates more images in the sprite?
|
#355
|
|||
|
|||
Will this be updated to vbcms too?
|
#356
|
|||
|
|||
@Mickie D
untested: in the admincp/sprite.php file find that code: Code:
else if(~imagetypes() & $imageinfo[2]) { echo '<span style="color:red">Error occurred:</span> Your System does not support ' . image_type_to_mime_type() . '.<br />'; } Code:
else if(~imagetypes() & $imageinfo[2]) { echo '<span style="color:red">Error occurred:</span> Your System does not support --- Imageinfo:' . $imageinfo[2]. '<br />'; } @klaus FORUMDISPLAY and FORUMHOME are pretty much final. I think 0.8.0 does add 3 icons there. Next big release will be SHOWTHREAD with 0.8.0. On our board we have a 0.8.0alpha already running for some weeks now. Unfortunately it's a bit harder to use sprites on SHOWTHREAD. We had to use :after and :before css classes and the css in the default vbulletin version has a lot {vb:math 2/3*{vb:stylevar padding}/{vb:world}*sqrt(275)} expressions in there - which are kinda hard to reproduce for backgroundimages. So in order to release a version here, we have to debug that a lot, so we can be sure it doesn't look off in custom styles where the icons are bigger, or the font is different and so on. One of those graphic bugs can be found on our live board using chrome - the top button is broken in german language there (look for "nach oben"). And some other bugs like the notices box, or problems in the profile. In addition i can't really say when we will have the time to polish 0.8.0 since we are really packed codingwise right now. My spare time gets eaten up by a secret project which should be done in about a month or so - and after that 2 other projects are waiting. As for Osbes, he is currently working on our new server, which does include optimizing that new box a lot, since that is the only time we can actually squeeze more performance out without an additional downtime. After that we will prolly finally go for 4.1.(7)(8) which is scary cause we need to convert our 10 years old vbulletin database to utf8 and there is of course the new editor, which scares me a lot. That aside the addon as of right now does provide a hook you can use to include your own icons into the sprite. And we will continue to provide support on here, we just can't release a new version in the near future. @bearwurz vbcms support isn't planned as of right now since there aren't that many icons which can be caught - for example previewimages and avatars can't be supported, since that doesn't make sense. Icons like quote, reply and so on will be automatically included once 0.8.0 is out i think, not 100% sure, depends on if they use the same css classes as showthread. In addition the cms is prolly different for every site, depending on what widgets you use and do not use - and it doesn't make sense to include icons for widgets which won't ever be used on your site. But as posted above, the addon does have a hook, where you can add your own icons into the sprites. |
#357
|
|||
|
|||
how is the Update looking? lol
|
#358
|
|||
|
|||
After adding the https://vborg.vbsupport.ru/showthread.php?t=152931 My forum icons stop showing....default and custom style too.
|
#359
|
|||
|
|||
The scripts look very very good.
If you can do it with an installer for add in the Products/addons in ADMINCP, and with information for the people that can´t be so technical or the people that doesn´t know very much about sprites will be EXCELENT!!! I will wait for non beta version!! |
#360
|
|||
|
|||
@thecore762
What is your question? If you have issues with the TMS you should ask in the TMS thread. @Gato This is already a producs/addon ACP modification. You have two ways of installing it: a) Install it and then do the template edits manually b) Install the TMS first, then install the sprites addon and everything should work out of the box. This behaviour cannot change. As for beta or no beta. Codingwise not that much will change in a non beta version (when ever that will be ready). Basecially you should do the same as you do with all addons, install it on your testboard first and then if you experience no bugs (or fixed them) port it to your liveboard. What i'm trying to say - we have some high standards before we would ever call something gold or final. In addition with every new vb4 version new bugs might show up in every addon, so basecially it might never pass beta state. :P But it's fully functional on both forumhome and forumdisplay. |
#361
|
|||
|
|||
Google Site Speed increased from 56 to 60 ;-). So nice but not fascinating ;-)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|