vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   CSS Sprites implementation (https://vborg.vbsupport.ru/showthread.php?t=240496)

klaus 04-15-2010 06:16 AM

CSS Sprites implementation
 
Is anyone using CSS Sprites with their VB4 installation?

They say its coming with VB4.1 in 2011.

What would it take to implement it today?

Lynne 04-15-2010 02:04 PM

You'd have to edit a bit of CSS to use it today. But, you could probably just list all the changes in additional.css if you didn't want to edit the actual template (assuming you are talking about editor images, status icons, etc. - the ones entered into the page via css). The problem is, most people don't understand how to use sprites. I mean, a lot didn't even understand CSS when vB4 was introduced.

Mooff 07-17-2011 12:31 PM

We are using css sprites with our vB4 installation.

You'll find our addon here:
https://vborg.vbsupport.ru/showthread.php?t=266696


I just wanted to post a quick comment to Lynne. I think vBulletin goes at it the wrong way. As a forum administrator there shouldn't be a need at all to understand CSS.
If i want to change the colors of my board this should be really easy - i click here make it red, i click there add a background etc.
Instead we were told:
- install firebug
- finde the according classname
- search through templates
- find the according stylevar.

This is not the way it should be. Same goes for sprites. They are very usefull, but you shouldn't have to be a tech admin to use them. In fact via our addon you don't have to be. You hit create and search-replace some code in your templates - the latter part wouldn't even be necessary given it would be a vb-default feature. Then the templates would have some if-condition to check whether the board admin chose to use sprites.

And if one does want to change one icon - change it (make it blue, make it bigger, doesn't matter), upload it, hit refresh - new sprite is created - done.

HMBeaty 07-17-2011 01:36 PM

Quote:

Originally Posted by Mooff (Post 2221455)
We are using css sprites with our vB4 installation.

You'll find our addon here:
https://vborg.vbsupport.ru/showthread.php?t=266696


I just wanted to post a quick comment to Lynne. I think vBulletin goes at it the wrong way. As a forum administrator there shouldn't be a need at all to understand CSS.
If i want to change the colors of my board this should be really easy - i click here make it red, i click there add a background etc.
Instead we were told:
- install firebug
- finde the according classname
- search through templates
- find the according stylevar.

This is not the way it should be. Same goes for sprites. They are very usefull, but you shouldn't have to be a tech admin to use them. In fact via our addon you don't have to be. You hit create and search-replace some code in your templates - the latter part wouldn't even be necessary given it would be a vb-default feature. Then the templates would have some if-condition to check whether the board admin chose to use sprites.

And if one does want to change one icon - change it (make it blue, make it bigger, doesn't matter), upload it, hit refresh - new sprite is created - done.

Lynne isn't a vBulletin developer....

Mooff 07-17-2011 01:48 PM

Really? That's what you took out of my post?

I never said Lynne is. I just said her comment on "a lot didn't even understand CSS" does scratch the wrong side.

We are admins on a forum software. We have so many different things to administrate in oder to get users, make them happy and make them stay. Learning CSS, HTML or PHP shouldn't be one of them considering we bought a forum software which should do that for us.
Everyone should be able to use it as a black box. That's all i'm saying and i really do not understand your reply at all.

HMBeaty 07-17-2011 01:54 PM

Ah ok, I figured by this comment
Quote:

Originally Posted by Mooff (Post 2221455)
I just wanted to post a quick comment to Lynne. I think vBulletin goes at it the wrong way

That you were suggesting the code for vBulletin should be modified (which it actually needs to be in some areas and in some ways)

You should be able to do quite a bit from StyleVars as well. Not JUST css, however, trying to find those StyleVars (and if they even work) is a different story

Lynne 07-17-2011 03:51 PM

Mooff, I do agree that it should be waaaaay simpler to change your site colors. However, I do think admins should have a basic understanding of what CSS is, how it works, and how to use firebug in order to make any small changes, and certainly any large changes, to what their style looks like.

8thos 07-30-2011 06:29 AM

Quote:

Originally Posted by Mooff (Post 2221474)
Really? That's what you took out of my post?

I never said Lynne is. I just said her comment on "a lot didn't even understand CSS" does scratch the wrong side.

We are admins on a forum software. We have so many different things to administrate in oder to get users, make them happy and make them stay. Learning CSS, HTML or PHP shouldn't be one of them considering we bought a forum software which should do that for us.
Everyone should be able to use it as a black box. That's all i'm saying and i really do not understand your reply at all.

We should learn a little bit of CSS, HTML and PHP as it will save us money from hiring a coder to do something simple like shrink the size of the search bar when we can easily find the CSS class with firebug.

--------------- Added [DATE]1312011057[/DATE] at [TIME]1312011057[/TIME] ---------------

But I agree, I hate having to learn CSS, HTML and PHP. I have tons of other stuff to do as it is but these are the cards vb owners are dealt with.

brandondrury 01-07-2013 04:54 AM

Quote:

They say its coming with VB4.1 in 2011.
It's 2013. Any progress? I'd be willing to pay for it.

Brandon


All times are GMT. The time now is 09:27 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
  • Page Generation 0.01038 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete