|
|
Forum moderator: Eriko |
uCoz Community uCoz Modules Tag Board Color = Rank System for Tag Board? |
Color = Rank System for Tag Board? |
Does anyone have or know how to code a system that gets the user's rank and force sets the color to this. It would be useful for me because I would Like Admins to be in red, support in blue, moderator in green etc.
|
khamarr3524, unfortunately it isn't possible to do this as far as I have seen by $GROUP$ however it is possible by $USERNAME$ it is somewhat more time-consuming if you have a lot of seperate staff members but it is the only way I have seen.
An example of this would be; Code <?if($USERNAME = "Paradox")?><b style="color:red">Paradox:</b><?endif?> Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
This adds another name line to my name and doesn't change the text color, but thank you for your assistance. I'll see if I can make something real quick but HTML isn't my thing.
Edit: I was able to figure my way around it. It's easier than I thought. A more complex system of checking will be needed, but for me this will work for now I guess. Code <?if($USERNAME$ = "khamarr3524")?><div class="cMessage" b style="color:red;" style "text-align:left;">$MESSAGE$</div><?else?><div class="cMessage" style="text-align:left;">$MESSAGE$</div><?endif?> Post edited by khamarr3524 - Wednesday, 2012-04-11, 6:28 AM
|
Can work this way - it's how we have it @ our chatbox...
TagBoard Appearance of entries... <?if($USER_ID$ = '1' )?>red<?else?><?if($USER_ID$ = '4' )?>(and the user id numbers of the other mods) all others show as orange<div style="text-align:left;color:orange;"> administartors = red mods=green all other members=orange ...works well for us - Ucoz Website Since 2009
|
| |||
| |||