I think Mamba more think about php codes inside modules but the topic goes to images.
Anyway about css3 buttons i did some attempts in newbb and i am satisfy with it.
Now i think we can implement that bootstrap way for buttons too. it just need to add a customization method for designers to add more classes. Of course now the classes can be added by designer but it is hardcoded in newbb/class/icon.php like 173
if (in_array( substr($image,0,2),array('t_','p_','up') ) && $extra === "class='forum_icon'") {
$extra ="class='forum_icon forum_button'";
}
so the designer can add the classes required for bootstrap.
but about "sprites" I think it is not good for a general CMS but it is good for a specific high traffic website like FB and yahoo.
did you read these interesting comments?
Quote:
While I understand the principles behind it, it really just doesn’t make a lot of practical sense (aside from the request argument) to do this.
The reason I mainly dislike this probably comes from my bias of having worked on a site using it, that I didn’t originally design. I didn’t have the original graphic files, and it was a pain to have to try to recreate it from scratch (when all I wanted to have to do was change one little icon and not have to worry about the other 4 in the same graphic).
Better site performance, maybe a little. I would say the biggest time hit on most sites are server-side these days, especially with all the database driven platforms out there now.
It’s worth it if you’ve got the time I say, but I say especially if you are under deadlines it could cost you more than it’s worth.
and this:
Quote:
I think there is probably a sweet spot where using CSS sprites is the most beneficial to use. If you have a fairly low traffic site on a decent server…yeah…it probably doesn’t matter to much. If you are running a super high traffic news portal like yahoo.com, there are definite benefits and using them to reduce server requests is a must.
so the customization would be a nightmare for a simple webmaster:D
























