![]() |
Digital Point Better CSS
1 Attachment(s)
About
This is something we use on digitalpoint.com to make the CSS better and more efficient. Installation
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
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. |
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 |
Will definitly have a look on it ;)
|
Quote:
|
I installed this, but non rounded corners in IE7
Thank you |
Only IE9 supports border-radius CSS, sorry.
|
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? |
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. |
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? |
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. :) |
I'll give this a go and see what happens. Thanks!
|
Quote:
|
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.
|
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? |
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..
|
Quote:
These mods on the 'org are released for free, some authors choose to add a link, some don't. If you don't like it, don't use it, simple as that - no point getting "irate". |
I can see the effect at DigitalPoint with IE9.
But on my forum, using styles with limited departure from the default, no rounded corners. I don't even get them in the vBulletin default style. Any known conflicts? |
Quote:
|
Quote:
|
Quote:
|
Quote:
Don't want the footer? (1) Contact the author and see if you can make an arrangement to remove it, perhaps for a fee as you do with an unbranded vBulletin license. (2) Uninstall the add-on. What NOT to do? (3) Post some self-righteous rant in the coder's thread making an utter fool of yourself by telling everyone how outraged you are. |
1 Attachment(s)
Quote:
Admin CP >> Settings >> Options >> Cookies and HTTP Header Options Set Disable IE8 Compatibility Mode = No Then rounded corners work. Partially. On the home page but not on all pages. See attachments. |
Error on uninstall:
Quote:
Quote:
|
Quote:
|
Quote:
|
if your going to add a footer link in a mod then it should be included in the product details. It gets old in a hurry when they get snuck in like that. And they serve no purpose to the forum members at all. Just a way to try and make money by forcing us to pay to get rid of them. If its good i will donate all on my own and don't need some lame ass link in the footer to get me to do it.
oh and it was IE9 to the question above. |
Regarding the rounding corners... it doesn't round every corner, only corners that vBulletin rounds normally in Firefox, Safari and Chrome.
For the install issues... had to do some obnoxiously roundabout things to get it to be able to (properly) compile templates on installation/uninstallation. But I think I'm going to change it so there is a separate process to do it that the install gets redirected to. It should solve the installation screwiness for some people. For the attribution link... we don't have a paid/attribution free version (too much work to set up something like that), but people are of course free to not use it of course. The add-on description was changed to mention it. |
I do hope you get this one working as it will be a good add on. What is the deal with IE that it doesn't support rounded corners or shadowing?
|
Quote:
|
For those having issues installing or uninstalling... I simplified it and instead of trying to get "tricky" and making the whole process automatic (which was causing problems for some people), I instead made a function to compile CSS functions that will show up under the "Update Counters" area of the AdminCP. When you install, the system will automatically redirect you there and do it automatically.
Uninstallation is a bit obnoxious though since when you uninstall, you also lose the Compile CSS Templates option, so you can't really automate it. See update in original post for a note on how to (properly) uninstall manually. Doing it this way should eliminate the SQL errors some people were getting as well as PHP memory limits and execution time (since it will process 25 at a time and then start a new batch of 25... resetting PHP execution time and memory in the process). |
^^^ Thanks.
I still got the error messages about /includes/class_core.php when uninstalling the old version (after disabling that plugin as instructed) but it didn't seem to affect anything and the reinstall worked as advertised. |
Yeah, the instructions wouldn't really apply to the old version since well... you can't go in and undo the uninstallation code that was in place with that first version. So just applies going forward with the new version.
|
Can I just update (With overwrite) to the new version?
|
Yep... that should be fine.
BTW - if someone has it running on their site, gimme the URL and I'll skim through your site and see if there are any gradient definitions I missed (possible since there are a ton and we don't use all functions on digitalpoint.com... so things like the sidebar I wouldn't have tested against). |
OK, I installed it now without any problems on my new site. I have 8 custom skins installed here.
http://windows8theme.org/forum/ I will PM you a test account if you want to check it out. I will also install this on my main site, where I have about 25 custom skins installed. And report back on how that installation went. Thanks again for this! |
Quote:
Code:
{Mod Name} by {Mod Author} |
Quote:
Just to triple check! :) I have the first version you released installed.. If I upgrade to the latest build and followed the instructions I would have no issues uninstalling it if I were ever decide I needed to? Say if IB get their finger out and implement it themselves for example. No SQL errors etc? |
Quote:
|
zelnik - correct.
|
I've installed this then disabled it, I gather the disable function doesn't really work, running the first version. I notice now though that the footer link is gone :D
|
All times are GMT. The time now is 03:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|