Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-04-2009, 03:29 PM
Scotteh Scotteh is offline
 
Join Date: May 2009
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Replacement colours

How do i replace colours.

The forum sells Black VIP and allows user to set a default text.

However two of the forum backgrounds are black so the text is invisible and a user has to highlight the text in order to see it. And they can't see the users username if its black.

So how would i change it so the black text gets changed to white
Reply With Quote
  #2  
Old 06-04-2009, 04:15 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See these pages in the manual for help in figuring out which class to change - Color Map Reference
Reply With Quote
  #3  
Old 06-04-2009, 04:56 PM
Scotteh Scotteh is offline
 
Join Date: May 2009
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you cared to read my post you'd see thats nothing to do with what i want.

I'm aware on how to edit CSS for a style.

I need the ability to remove a colour from a skin, for example black and replace it with a colour, for example white.

So if a member has a black username and the forum background is black the name will be changed to white while the background will remain black.
Reply With Quote
  #4  
Old 06-04-2009, 04:57 PM
Silver Tiger Silver Tiger is offline
 
Join Date: Oct 2007
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scotteh View Post
If you cared to read my post you'd see thats nothing to do with what i want.

I'm aware on how to edit CSS for a style.

I need the ability to remove a colour from a skin, for example black and replace it with a colour, for example white.

So if a member has a black username and the forum background is black the name will be changed to white while the background will remain black.
Give the guy some respect, not just because he is a moderator but because he is trying to help you.

Not only that he is really good at helping people.
Reply With Quote
  #5  
Old 06-04-2009, 05:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scotteh View Post
If you cared to read my post you'd see thats nothing to do with what i want.

I'm aware on how to edit CSS for a style.

I need the ability to remove a colour from a skin, for example black and replace it with a colour, for example white.

So if a member has a black username and the forum background is black the name will be changed to white while the background will remain black.
Well, now you have confused me and I have no idea how to help you. You need to edit the CSS, but you say you know how to edit the CSS so I don't know what to suggest. Did you apply a class to your usernames? You may change class colors per style.
Reply With Quote
  #6  
Old 06-05-2009, 10:18 AM
Scotteh Scotteh is offline
 
Join Date: May 2009
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok i'll explain it.

Forum sells VIP; various colours including black.
Forum allows people to set a default text colour; including black.

3/8 of the forums skins has a black background, thus you cannot see the text or name of people who have black VIP or black default text.

So i need to remove a colour (black) from the skin so if they have black VIP or black default text the forum automatically changes their name/text colour to white on that skin but on other skins its still black.

So its like the black text colour is forbidden on that specific skin.

I know its possible as i know a forum that does it, but how?
Reply With Quote
  #7  
Old 06-05-2009, 02:28 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I said above, instead of making the usernames a specific color, like black, apply a class to them. Then, change the class color depending on the skin. Do that for any text that you don't want to stay the same color for all skins.
Reply With Quote
  #8  
Old 06-05-2009, 07:44 PM
Scotteh Scotteh is offline
 
Join Date: May 2009
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you explain how, o.0.
Reply With Quote
  #9  
Old 06-05-2009, 09:30 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the html markup for the usergroup, put in <span class="whatever"> in the first box and </span> in the second box and then define .whatever in the bottom of the Main CSS page.
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 03:54 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.08001 seconds
  • Memory Usage 2,237KB
  • Queries Executed 13 (?)
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
  • (2)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
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete