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 |
#332
|
|||
|
|||
Quote:
in order to use the sprites, you then will have to edit some templates. The diffs (xou will find it in the do_not_upload folder show which parts you have to delete '<' and which parts to add '>' In addition, on top find the lines in which you will find the respective code. As this instruction I opened file TEMPLATE_CHANGES.diff and saw the code: ## Version 0.7.1 ## Template: search_threadbit 1c1 < <li class="imodselector threadbit {vb:if !$thread['del_username'], $thread['statusstring']}" id="thread_{vb:raw thread.realthreadid}" title="{vb:raw thread.preview}"> --- > <li class="sprite_statusicon_thread_30 imodselector threadbit {vb:if !$thread['del_username'], $thread['statusstring']}" id="thread_{vb:raw thread.realthreadid}" title="{vb:raw thread.preview}"> Template: threadbit_deleted 1c1 < <li class="threadbit deleted<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}"> --- > <li class="sprite_statusicon_thread_30 threadbit deleted<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}"> What I have to do next? The code only for ver.0.7.1???? and how about the code from ver.0.5 to ver.0.7??? ignore them?? Srr for my noob |
#333
|
|||
|
|||
Would you recommend using this mod for a forum line mine? www.47r-squad.com
It's custom built and very graphic intensive.. Not sure if this is going to work for me. |
#334
|
|||
|
|||
@Seductor
I don't know exactly what is causing this behaviour. Someone in this thread had it before, i thought this bug was fixed then. @hanhdn You need to perform all code changes mentioned in the diff file. How to read that file is explained here. https://vborg.vbsupport.ru/showpost....0&postcount=25 But, i would advise everyone to use the TMS, which does those changes for you. @thecore762 The addon will merge a lot of your icons into sprites. So yes, i would recommend using it. |
#335
|
||||
|
||||
@Moof just to say thats the issue I had as well although I have removed the mod for now.
@Seductor what OS and php version do you have? trying to think of causes |
#336
|
||||
|
||||
can't wait to see this for showthread - that's where the majority of my traffic comes in from.
|
#337
|
|||
|
|||
Quote:
I already changed all the default icon and status icon by custom icon and avatars in my forum. I want to know the mod still make my forum faster or not? My forum: http://srsc.com.vn Thank again, |
#338
|
|||
|
|||
Wow, your site takes 30 seconds to load for me on the first go and 18 seconds on the second one. :eek And that is with javascript blocked.
As for images. I don't know what you are using for your forumicons. Unfortunately i doesn't seem to be the build in vb4 version, which also would allow to choose different icons for different forums (see our site) so we can't catch them. Avatars we can't catch at all. Avatars can't be added in a sprite since a board at most will show 20 at a time? And boards like ours have thousands of avatars on them. So it doesn't make sense to transfer the data of thousand avatars to show 20. Forumdisplay you show avatars instead of threadicons, so the addon won't be able to catch those. There are still some http requests you can save using the addon. But do not expect a massive performance increase (i would expect it to shave like 2 seconds off), since most of your loading time is due to your other addons, like huge animated graphics, real time graph creation etc. and that we cannot speed up. |
#339
|
|||
|
|||
This gave me a boost by about 7 points.
I'm still horribly low on 38 points. Page Speed Online by google is still giving me quite a large list of images which can be converted into CSS sprites. They are mostly gradients and/or icons. I was wondering if I've done anything wrong? I have TMS installed. Any help will be greatly appreciated. |
#340
|
|||
|
|||
Please provide a link to your site.
I assume you have some other addons running which add a lot of images to your page. Images the default vb4 installation does know nothing about, and therefore we can't catch them (unless someone uses our plugin hook to include those icons into the sprite). |
#341
|
|||
|
|||
It took me more than 30 seconds :O That is insane!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|