Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2010, 06:16 AM
klaus's Avatar
klaus klaus is offline
 
Join Date: Mar 2002
Location: Huntington Beach, CA
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 04-15-2010, 02:04 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 07-17-2011, 12:31 PM
Mooff Mooff is offline
 
Join Date: Mar 2010
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
Crotan
  #4  
Old 07-17-2011, 01:36 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mooff View Post
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....
Reply With Quote
  #5  
Old 07-17-2011, 01:48 PM
Mooff Mooff is offline
 
Join Date: Mar 2010
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 07-17-2011, 01:54 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah ok, I figured by this comment
Quote:
Originally Posted by Mooff View Post
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
Reply With Quote
  #7  
Old 07-17-2011, 03:51 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 07-30-2011, 06:29 AM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mooff View Post
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.
Reply With Quote
  #9  
Old 01-07-2013, 04:54 AM
brandondrury brandondrury is offline
 
Join Date: Oct 2005
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Brandon
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:51 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04572 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete