vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Replacement colours (https://vborg.vbsupport.ru/showthread.php?t=215333)

Scotteh 06-04-2009 03:29 PM

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

Lynne 06-04-2009 04:15 PM

See these pages in the manual for help in figuring out which class to change - Color Map Reference

Scotteh 06-04-2009 04:56 PM

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.

Silver Tiger 06-04-2009 04:57 PM

Quote:

Originally Posted by Scotteh (Post 1823425)
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.

Lynne 06-04-2009 05:03 PM

Quote:

Originally Posted by Scotteh (Post 1823425)
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.

Scotteh 06-05-2009 10:18 AM

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? :)

Lynne 06-05-2009 02:28 PM

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.

Scotteh 06-05-2009 07:44 PM

Could you explain how, o.0.

Lynne 06-05-2009 09:30 PM

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.


All times are GMT. The time now is 12:07 AM.

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.01000 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)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