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 |
#252
|
|||
|
|||
Version 0.7.2 (06.08.2011)
|
#253
|
||||
|
||||
Quote:
Code:
Warning: mysqli_query() [function.mysqli-query]: (42S22/1054): Unknown column 'language.phrasegroup_sprite' in 'field list' in [path]/includes/class_core.php on line 1352 |
#254
|
|||
|
|||
Hello Crotan,
thanks for the info, i tested something during the deployment of 0.7.2 and dropped this later. But it seems i forgot to remove PHP Code:
I have updated the zip file. Best regards Sebastian |
#255
|
|||
|
|||
Working very well. Thank you.
|
#257
|
||||
|
||||
Awesome! The latest upgrade worked great. Thank you very very much! :up:
Just one very small issue on some of my skins. If you look at the attached screenshots you will see that my little search icon is missing. How can I get that back please? Attachment 131752 Attachment 131753 Thank you! EDIT: I also use this mod: http://www.vbcover.com/icart.php?do=...t&productid=56 and on it's main page the icons are also gone: Attachment 131754 |
#258
|
||||
|
||||
Quote:
|
#259
|
||||
|
||||
Quote:
EDIT: lol, OK, I get it. I am a slow learner. If I remove that part in the additional.css the search icon shows but the little block is gone. Yet I can change the image in forums>images>buttons>search.png, but will that not then change it on all other skins also? |
#260
|
|||
|
|||
Hello Taurus1,
each HTML-Element can only have one background. The css-rule for the sprite is: Code:
.sprite_button_search { background: url("images/sprites/sprite-61-main.png") no-repeat scroll -34px -18px transparent; display: inline-block; height: 22px; width: 22px; } Code:
.globalsearch .searchbutton { background: url("images/Seamus/gradients/back3.png") repeat-x scroll left top transparent; border: 1px solid #1B518F !important; border-radius: 7px 7px 7px 7px; box-shadow: 0 0 2px #1A1A1A; margin-left: -5px; margin-top: -2px; } You need to remove Code:
background: url("images/Seamus/gradients/back3.png") repeat-x scroll left top transparent; Since you will loss your background for the magnification glass if you do this, you can merge your background with the magnification glass, to get it back. And dont forget to refresh the sprite after this. ### For the Ticket-like addon. You need to make an additional template edit for this, based on the one for the threadbit: Code:
Template: threadbit 1c1 < <li class="threadbit {vb:raw thread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}"> --- > <li class="sprite_statusicon_thread_30 threadbit {vb:raw thread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}"> With 0.8.0 this wont be necessary anymore, since the sprite will than use for these icons threadbit and dont need sprite_statusicon_thread_30 anymore. But until than, this needs to be done to get it working Best regards Sebastian |
#261
|
||||
|
||||
OK, I understand. Is it possible to just refresh this one sprite? Or I must just click the refresh button again, refreshing all? Thanks.
PS: What about my second issue with the icons missing on my iSupport page? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|