vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Want my moderators to have different font color (https://vborg.vbsupport.ru/showthread.php?t=213990)

singa 05-18-2009 04:53 PM

Want my moderators to have different font color
 
Hi
Everyone has the same blue color but I want members to see who is a moderator and who isn't.
How can I get my moderators to have different font color in their name, for example red?
Thanks

wolfstream 05-18-2009 05:22 PM

Quote:

Originally Posted by singa (Post 1813048)
Hi
Everyone has the same blue color but I want members to see who is a moderator and who isn't.
How can I get my moderators to have different font color in their name, for example red?
Thanks

Go to admincp ->usergroups -> moderators

Take a look at username html markup.

Change that to something like this:
Code:

<span class="moderator">
</span>

in the boxes, respectively (ie: the first one gets the first line, the second one gets the second line)

Then go to the template -> main CSS section, and in the very bottom CSS (additional css definitions), add something like this:
Code:

.moderator{
color : #0000FF  ;
font-class : bold;
}

You can do that with all of the usergroups if you like, it's really very simple. If you need color definitions, check out this page

BlueNinjaGo 05-18-2009 05:31 PM

Or just put
Code:

<font color="#0000FF"> </font>
in the html markup.

wolfstream 05-18-2009 05:41 PM

Quote:

Originally Posted by BlueNinjaGo (Post 1813058)
Or just put
Code:

<font color="#0000FF"> </font>
in the html markup.

It's best to do it the other way , for validity purposes. The <font> tag has been removed for quite some time, in favor of css. Yeah, it still works, but as far as validity is concerned, that is NOT valid html.

BlueNinjaGo 05-18-2009 06:11 PM

Quote:

Originally Posted by wolfstream (Post 1813064)
It's best to do it the other way , for validity purposes. The <font> tag has been removed for quite some time, in favor of css. Yeah, it still works, but as far as validity is concerned, that is NOT valid html.

Fair enough. HTML isn't my strong suit, so I'll take your word on that. It just seemed simpler and has worked w/o any issues for me.

But for TC, I'd go ahead and do what wolfstream suggested.


All times are GMT. The time now is 08:15 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.01851 seconds
  • Memory Usage 1,724KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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