Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Digital Point Better CSS Details »»
Digital Point Better CSS
Mod Version: 1.02, by digitalpoint (Coder) digitalpoint is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (3 votes - 4.67 average) Installs: 72
Released: 10 May 2011 Last Update: 12 May 2011 Downloads: 594
Supported Uses Plugins Additional Files  

About
This is something we use on digitalpoint.com to make the CSS better and more efficient.

Installation
  • Upload the contents of the upload folder to your installation
  • Install the product-digitalpoint_css.xml product under AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product
You can see a live version in action here (on any page really): http://forums.digitalpoint.com/

Details
Rounded Corners
vBulletin 4 only supports rounded corners for Firefox, Chrome and Safari. This plug-in makes rounded corners also work in Opera and Internet Explorer.

Gradients
It appends some CSS markup to your primary CSS file that makes use of CSS3 gradients (gradients defined right in the CSS file itself). vBulletin uses 5-7 gradient images per page view normally, and this eliminates the need for the browser to download those images. CSS3 gradients are supported in Safari, Firefox, Opera and Chrome. For browsers that don't support CSS3 gradients, they will simply fall back to the normal image-based CSS gradients that vBulletin uses by default.

Notes
This plug-in is useful for sites that use vBulletin 4 default styles, or at least styles that utilize the same classes and methods for doing things within the CSS files.

This plug-in does NOT add any extra CSS files, nor does it edit your existing ones. Instead it appends some new info to the end of your main CSS file that comes from it's own template. It also adds an attribution link.

You can find more info here: http://products.digitalpoint.com/vbulletin-css.php

Changes
1.0.2
  • CSS3 Gradient support for IE10 (early, I know... but it's there)
  • Handles gradients in vB Suite Blog and CMS
  • Works properly for CSS stored as files

Uninstallation: Automatic uninstallation is a bit of a catch 22... you need to compile templates to uninstall it, but vBulletin has no function built in to compile a group of templates. So uninstalling it removes the code needed to uninstall before the uninstall code is executed. So in order to uninstall this, disable just the one plug-in that is part of this product at the template_compile location, and then run Compile CSS Templates option under AdminCP -> Maintenance -> Update Counters. Once you do that, you can uninstall the whole product without any problems.

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Digital Point Ad Positioning digitalpoint vBulletin 4.x Add-ons 206 06 Apr 2014 16:45
Digital Point Chat digitalpoint vBulletin 4.x Add-ons 101 06 Dec 2013 03:31
Digital Point Spy digitalpoint vBulletin 4.x Add-ons 439 12 Sep 2013 07:51

Comments
  #2  
Old 10 May 2011, 06:31
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Really want to check this out. However I get this when installing:

Fatal error: Maximum execution time of 60 seconds exceeded in /home/windows/public_html/includes/vb_template.php on line 51

Edit:

Tried it again, overwriting, but got this now:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 161575271 bytes) in /home/windows/public_html/includes/vb_template.php on line 51
__________________
For custom designed Windows 7 Visual Styles/Themes, please visit CreativX!
Reply With Quote
  #3  
Old 10 May 2011, 06:57
Kolbi's Avatar
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Real name: Matthias
Will definitly have a look on it
Reply With Quote
  #4  
Old 10 May 2011, 07:01
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Originally Posted by Taurus1 View Post
Really want to check this out. However I get this when installing:

Fatal error: Maximum execution time of 60 seconds exceeded in /home/windows/public_html/includes/vb_template.php on line 51

Edit:

Tried it again, overwriting, but got this now:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 161575271 bytes) in /home/windows/public_html/includes/vb_template.php on line 51
How many styles do you have installed? Curing installation, it does go through your *.css templates and recompiles them, but it should be fairly quick unless you have just a ton of styles I would think.
Reply With Quote
  #5  
Old 10 May 2011, 07:03
giorgino giorgino is offline
 
Join Date: Dec 2009
I installed this, but non rounded corners in IE7
Thank you
Reply With Quote
  #6  
Old 10 May 2011, 07:12
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Only IE9 supports border-radius CSS, sorry.
Reply With Quote
  #7  
Old 10 May 2011, 07:29
Kolbi's Avatar
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Real name: Matthias
Shawn, a little question on your product site you tell us something about traffic which is produced by the original css.

Do you know with possitive effect your modification can have in regarding loading times?

30-40kb can be saved on each page? Are you sure that it is so much?
Reply With Quote
  #8  
Old 10 May 2011, 08:00
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
It certainly will make load times slightly faster on the front-end since there's less files to load, but it's not going to be a huge amount. If you are having speed issues, you should be looking more at backend stuff I would suspect.

It's not 30-40kb saved per page, but it's the equivalent of a 30-40kb document since a document can be compressed, and HTTP headers can't, so there is about 500% more network traffic for HTTP headers vs. the document itself.
Reply With Quote
  #9  
Old 10 May 2011, 08:03
CK CK is offline
 
Join Date: Dec 2007
Real name: http://xenforo.com/
Hey DP,

This is great, I'm using HTC border radius to get the rounded corners. In your mind which would be better to use, your method of the one I'm using at the moment?
Reply With Quote
  #10  
Old 10 May 2011, 08:09
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
HTC border raidus will work for some older versions of IE... personally I opt for not supporting old browsers and adding overhead of the HTC file itself. The newest version of IE supports border-radius, so if a user wants to use an outdated browser, I let them (they just won't get any of the new stuff that newer versions support)... {shrug}

But entirely up to you... but I don't personally cater to outdated browsers.
Reply With Quote
  #11  
Old 10 May 2011, 08:11
CK CK is offline
 
Join Date: Dec 2007
Real name: http://xenforo.com/
I'll give this a go and see what happens. Thanks!
Reply With Quote
  #12  
Old 10 May 2011, 09:09
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Originally Posted by digitalpoint View Post
How many styles do you have installed? Curing installation, it does go through your *.css templates and recompiles them, but it should be fairly quick unless you have just a ton of styles I would think.
Yes, I have many styles installed. Is there something else I can do here?
__________________
For custom designed Windows 7 Visual Styles/Themes, please visit CreativX!
Reply With Quote
  #13  
Old 10 May 2011, 09:35
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
How many styles do you have installed? I suppose you could up your PHP execution time and memory limit temporarily since it only needs to go through them all once.
Reply With Quote
  #14  
Old 10 May 2011, 11:13
CK CK is offline
 
Join Date: Dec 2007
Real name: http://xenforo.com/
Hey DP,

Sorry to rain on your parade but I just noticed this adds a link to the footer, can I have permission to remove that please?

Last edited by CK : 10 May 2011 at 13:09.
Reply With Quote
  #15  
Old 10 May 2011, 12:55
billstelling billstelling is offline
 
Join Date: Apr 2011
did not work, and what the hell is with the ++++ing footer links. I get rid of any mod that has them. if not there would be 20 links in my footer.. you all need to quit with the frickin links. We will tell everyone if your stuff is good. this mod did zip.. nada.. home page still squared in explorer.. had high hopes for this one, but even if it worked, I would still be uninstalling it..

Last edited by billstelling : 10 May 2011 at 13:03.
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 04:32.

Layout Options | Width: Wide Color: