The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change username color with a profile field
Hi,
I've made a World of Warcraft board for my guild. Yesterday, I added new custom profile fields like player's name, player's class, player's server... I would like to know if it's possible to attribute specific color to members when then correctly choose their class. For example, if I register to my board and choose "mage", automatically, my name in every forums will be colored in #558A84. To do that, I added the following CSS into additionnal.css file : Code:
/* WoW Color Class ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ .chaman { color:#0070DE; font-weight:bold; } .hunter { color:#ABD473; font-weight:bold; } .warlock { color:#9482C9; font-weight:bold; } .hunter { color:#ABD473; font-weight:bold; } .dk { color:#C41F3B; font-weight:bold; } .druid { color:#ff7d0a; font-weight:bold; } .warrior { color:#c79c69; font-weight:bold; } .mage { color:#69CCF0; font-weight:bold; } .monk { color:#558A84; font-weight:bold; } .paladin { color:#f58cba; font-weight:bold; } .priest { color:#000000; font-weight:bold; } .rogue { color:#fff468; font-weight:bold; } Thank you all in advance. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|