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 |
#172
|
|||
|
|||
I ran the Google Page Speed Test and My score still stinks It suggested that I run Css Sprites even though I put this Hack on and it appears that I have sprites in the Image Directory that was made too.
|
#173
|
|||
|
|||
But i suppose you do see an improvement?
Yes, google will still show up css sprites beeing an issue since gradients can't be included in the sprite since they are highly dependend on styles. But since they are mostly <10px google says you should combine them. In addition, if you have some addons installed google might pick up on pictures those addons include. And there of course is allways the option of using the 'add_custom_image_to_sprite' hook we provide in our addon, where you can add additional custom icons your board uses. Aside that, i have to ask this, did you make the required template changes? Without them your board won't be using the sprite. |
#174
|
|||
|
|||
Hi Moof, can you provide some sort of instruction to add custom icons to your (super-great) plugin?
|
#175
|
||||
|
||||
After running the google speed test, I noticed that there is still 27 images that is not turned into css sprites.
How do I add these as well? Most of them are in my additional.css template. |
#176
|
|||
|
|||
Quote:
GlossyHeader.png collapse.png collapse_40b.png lastpost-right.png search.png widget-comment.png selected-tab-gradient-with-top-alpha.png icon1.png arrow.png bottom-shadow.png event.png facebook_login.gif forum_stats.png legend.png navbit-home.png rss_40b.png tab-collapsed.png forum.png profile.png category-16.png forum_link-16.png forum_new-16.png forum_old-16.png post_old.gif Tough for me to say if there's been an improvement since I didn't run the test before hand. I'm trying to make other optimizations and work on the Leverage caching. My score of 54 is pretty bad |
#177
|
|||
|
|||
Quote:
I'm going to translate the custom_icon_add instructions we have posted on vb-ger.org right now, as a warning. They are what i would call advanced. |
#178
|
|||
|
|||
How-To:
Include custom icons to your sprite: !Warning! very advanced - if you do not know what you are doing. Stop right here. Custom icons are added via plugin and hook
I hope it helps. And do not say i didn't warn you. It is advanced. |
Благодарность от: | ||
archet1337 |
#179
|
|||
|
|||
Quote:
|
#180
|
||||
|
||||
Thanks Mooff, that helps a lot
But some of the images I have to replace is defined in additional.css. Do I have to find where they are called in the forumhome template and add the <span class="sprite....."></span> code there and remove the line from additional.css, or is there another way to do that? |
#181
|
|||
|
|||
Hello archet1337,
please give an full example of your situation, this would help us to give you the best solution Best regards Sebastian |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|