PDA

View Full Version : Username Colors


wipedout
12-04-2011, 03:08 AM
I'm currently trying to change the username color based on a custom profile field, but im not quite sure how to proceed from there. Any ideas?

kh99
12-04-2011, 04:02 AM
You can create a plugin using hook fetch_musername, then check $user[fieldX] and set $user[musername] as needed. Someone else was discussing some code to do the same thing in this thread: https://vborg.vbsupport.ru/showthread.php?t=274705

wipedout
12-04-2011, 04:06 AM
Thanks, this really helped me get it working, onto the next challenge :3