Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
United-Forum CSS Sprites - ludicrous speed - NOW! Details »
United-Forum CSS Sprites - ludicrous speed - NOW!
Mod Version: 0.7.2, by Osbes (Member) Osbes is offline
Developer Last Online: Feb 2013 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (31 votes - 4.55 average) Installs: 268
Released: 12 Jul 2011 Last Update: 06 Aug 2011 Downloads: 2868
Not Supported Uses Plugins Auto-Template Additional Files Is in Beta Stage  

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:
http://www.united-forum.de

The add on will be supported via this thread. If you have any questions, issues, improvements or feedback regarding this add on, please feel free to post a comment or write us a pm at any time. We are happy to discuss

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 site

on the client side the following parameter were used:
download speed: 5.7 MBit/s
ping: 31ms




css 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.
You can find further information in a great article by Chris Coyier.
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?

A short time ago, Jasper Aguila pointed out that speed is one crucial stickiness factor in his blog on vBulletin.com.
Originally Posted by Jasper Aguila vBulletin Support
The internet has unfortunately contributed to the exponential decrease in attention span for many individuals. That's why this decade is seeing a trend in emerging technologies emphasizing the importance of speed request. It's crucial for your content to be promptly distributed in a timely manner, else bounce rate will increase - making you lose returning visitors. It's also important to note that slow sites may be penalized by search engines.

With better browsers, more powerful processors, and improved technologies constantly releasing each year, it's becoming quite difficult to provide excuses for slow loading pages. Therefore, try optimizing your server for speed. Read up and learn optimization techniques at vBulletin.com's Server Configuration forum.
In addition, the google ranking is influenced by the site speed as well.

Google Webmaster Central Blog
Originally Posted by 09.04.2010 - Google Webmaster Central Blog
You may have heard that here at Google we're obsessed with speed, in our products and on the web. As part of that effort, today we're including a new signal in our search ranking algorithms: site speed. Site speed reflects how quickly a website responds to web requests.
vBseo Webmaster Mert Gökçeimam
CSS sprites is a huge bonus for big boards , any big board owner definately should use it.
Last but not least, not only the user's loading time is reduced, but also does the server load decrease as the server will have to handle a lot less of http requests. This clears available connections and cpu time.
Add on features
In the current released beta version 0.7.2, sprites are available for FORUMHOME and FORUMDISPLAY. Coming up next SHOWTHREAD.

Sprites are created style based for all forum styles and saved in a folder which you can set via the imgdir_sprite stylevar. You have one additional button in the ACP (CSS-Sprites -> Refresh) which automatically creates all sprites, the according css definitions and includes those css definitions in the vBulletin css rollup files.
Installation

First of all, if you didnt want to change the templates manually, install the Template Modification System (TMS). Now proceed with the installation:
  • upload the contents of the upload folder into your forum home directory.
  • import the add on in the ACP
  • upon installation a new stylevar imgdir_sprite will be created. Update this stylevar based on your file structure - default value is the vbulletin sprite directory. Make sure the folder is writable, else the sprites can't be saved!
  • create the sprites via the ACP at CSS-Sprite using the Refresh option.
  • If you have installed TMS, you are done now. This was an easy gained speed up, not? If you didnt installed TMS and didnt want to do it, proceed with the next point:
  • 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.[/b]

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	forumdisplay_default.jpg
Views:	2214
Size:	151.3 KB
ID:	131565   Click image for larger version

Name:	forumdisplay_sprites_070.png
Views:	1614
Size:	70.8 KB
ID:	131566   Click image for larger version

Name:	forumhome_default.jpg
Views:	1305
Size:	145.6 KB
ID:	131567   Click image for larger version

Name:	forumhome_sprites_070.png
Views:	1157
Size:	66.6 KB
ID:	131568  

Click image for larger version

Name:	nachher_forumdisplay.jpg
Views:	1548
Size:	96.6 KB
ID:	131570   Click image for larger version

Name:	nachher_forumhome.jpg
Views:	1165
Size:	94.1 KB
ID:	131572  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #541  
Old 17 May 2012, 12:58
fly fly is offline
 
Join Date: Oct 2003
The fact that it's not checked means that TMS couldn't find it. Those are the broken ones.

edit: OK, I went through and fixed everything but the 'memberaction_dropdown' template. Not sure I fully understand that one. Maybe I'll try to figure it out after work, or someone else is welcome to.

Instructions: After you install this mod, go into Template-Modifications Manager. Select the [Up-/Download Template-Modifications] link. Import the XML I posted, selecting Allow Overwrite (you may also need to select Ignore Product Version as well).

After that, the majority of the templates should be fixed.
Attached Files
File Type: xml templateedits-sprite.xml (44.0 KB, 172 views)

Last edited by fly; 01 Jun 2012 at 14:53.
Reply With Quote
  #542  
Old 19 May 2012, 08:05
Webrunner's Avatar
Webrunner Webrunner is offline
 
Join Date: Aug 2004
Location: Netherlands
Question

does this have to be installed after installing the mod?
Reply With Quote
  #543  
Old 19 May 2012, 14:17
fly fly is offline
 
Join Date: Oct 2003
Originally Posted by Webrunner View Post
does this have to be installed after installing the mod?
After you install this mod, go into Template-Modifications Manager. Select the [Up-/Download Template-Modifications] link. Import the XML I posted, selecting Allow Overwrite (you may also need to select Ignore Product Version as well).

After that, the majority of the templates should be fixed.
Reply With Quote
  #544  
Old 20 May 2012, 10:45
Darknight99 Darknight99 is offline
 
Join Date: Sep 2011
im getting this error.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #545  
Old 20 May 2012, 12:56
MikaN MikaN is offline
 
Join Date: Aug 2008
You have vB 4.11+ ?

Most likely that's a TMS error - solution -> "vBulletin 4.1.11 or higher is currently not fully supported by TMS. If you use this version please apply the following patch: Attachment 136973"

Here:
http://www.vbulletin.org/forum/showthread.php?t=152931
Reply With Quote
  #546  
Old 20 May 2012, 13:04
MikaN MikaN is offline
 
Join Date: Aug 2008
Originally Posted by fly View Post
edit: OK, I went through and fixed everything but the 'memberaction_dropdown' template. Not sure I fully understand that one.
It seems that those .png's have moved from that memberaction_dropdown template to one of the .css files (forgot which one).
Reply With Quote
  #547  
Old 20 May 2012, 14:11
Darknight99 Darknight99 is offline
 
Join Date: Sep 2011
Originally Posted by MikaN View Post
You have vB 4.11+ ?

Most likely that's a TMS error - solution -> "vBulletin 4.1.11 or higher is currently not fully supported by TMS. If you use this version please apply the following patch: Attachment 136973"

Here:
http://www.vbulletin.org/forum/showthread.php?t=152931
yup, now i have installed it but after refresh it says.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #548  
Old 21 May 2012, 20:53
DonosOdD DonosOdD is offline
 
Join Date: Mar 2011
Thread icons appear as blank after I upgraded to 4.1.12. I already upgraded TMS and applied the patch. Main forum menu appears correctly.


Any solutions? I don't want to uninstall this.
Reply With Quote
  #549  
Old 21 May 2012, 22:53
fly fly is offline
 
Join Date: Oct 2003
Originally Posted by DonosOdD View Post
Thread icons appear as blank after I upgraded to 4.1.12. I already upgraded TMS and applied the patch. Main forum menu appears correctly.


Any solutions? I don't want to uninstall this.
See my posts 541 and 543. I'm interested to know if this actually fixes it for others.
Reply With Quote
  #550  
Old 22 May 2012, 15:39
DonosOdD DonosOdD is offline
 
Join Date: Mar 2011
Originally Posted by fly View Post
See my posts 541 and 543. I'm interested to know if this actually fixes it for others.
Problem solved.

Many thanks!
Reply With Quote
  #551  
Old 24 May 2012, 16:00
doileloi's Avatar
doileloi doileloi is offline
 
Join Date: Oct 2007
hi

I can't fine this line 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}">


On my Thread bib

here my


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

can you help me Thank you
Reply With Quote
  #552  
Old 24 May 2012, 16:24
fly fly is offline
 
Join Date: Oct 2003
Originally Posted by doileloi View Post
hi

I can't fine this line
Use TMS.
Reply With Quote
  #553  
Old 26 May 2012, 11:36
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
pleeeeeeease any relaese for this for vb 3.7?
Reply With Quote
  #554  
Old 26 May 2012, 14:02
doileloi's Avatar
doileloi doileloi is offline
 
Join Date: Oct 2007

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

HI I can't fine any on ftp after install
Reply With Quote
  #555  
Old 29 May 2012, 15:37
markp_2000 markp_2000 is offline
 
Join Date: Jul 2006
You have to create this directory yourself.

Mark
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:07.

Layout Options | Width: Wide Color: