Page 1 of 11
uCoz Community » uCoz Modules » Forum » Make the names of Administrator or Moderator with color
Make the names of Administrator or Moderator with color
JayCrane
Posts: 2
Reputation: 0

Message # 1 | 8:10 AM
i just want to make the names of Administrator or Moderator with color just like my name in forums i want to make it red,but how?
Paradox
Posts: 3276
Reputation: 145

Message # 2 | 8:17 AM
JayCrane, you can do this through using conditional operators and having the span the same class as the names at the bottom of the forum.

Hope this helps, happy

Developer, Designer, Communicator.
Been here for 6 years and counting.
Visit me at alexmoloney.me.
JayCrane
Posts: 2
Reputation: 0

Message # 3 | 8:35 AM
still i cant somebody teach me please?
Natashko
Posts: 3366
Reputation: 171

Message # 4 | 8:41 AM
JayCrane,Go to CP->Design->Design management (templates)->Forum->Appearance of entries->find:
Code
$USERNAME$
and substitute it with:
Code
<?if($GROUP_ID$ = 4)?><span style="color:red;">$USERNAME$</span><?else?>$USERNAME$<?endif?>
The color for Admin is red. Do it yourself for other groups.
See more about conditional operators here: http://forum.ucoz.com/forum/37-471-1#36483 and continue discussion about them in the provided thread.
Btw you informative thread names, do not break forum rules (changed)
Expert1510
Posts: 92
Reputation: -2

Message # 5 | 5:13 AM
Hey, I can do it for the admin... but I cant do more than one, or else it will come out repeatedly,
can you please give me the total code for moderators and admins
Susmoy
Posts: 185
Reputation: 6

Message # 6 | 5:16 AM
Expert1510, Did You Use <?else?> ??
If I Help you then Please +Rep and Awards
Expert1510
Posts: 92
Reputation: -2

Message # 7 | 5:16 AM
Yes Im pretty sure I did, can you help me by putting up the code?
Natashko
Posts: 3366
Reputation: 171

Message # 8 | 10:23 AM
Expert1510,
Quote (Expert1510)
Hey, I can do it for the admin... but I cant do more than one, or else it will come out repeatedly,
can you please give me the total code for moderators and admins

Use this code for both moderators and admins:
Code
<?if($GROUP_ID$ = 4)?><span style="color:red;">$USERNAME$</span><?else?><?if($GROUP_ID$ = 3)?><span style="color:blue;">$USERNAME$</span><?else?>$USERNAME$<?endif?><?endif?>
Zevoxa
Posts: 237
Reputation: 4

Message # 9 | 9:26 PM
Natashko, this is not working for me.
I would prefer if you called me ErraticFox. ^_^
Paradox
Posts: 3276
Reputation: 145

Message # 10 | 4:28 AM
Poptart, where are you placing this script?
Developer, Designer, Communicator.
Been here for 6 years and counting.
Visit me at alexmoloney.me.
Zevoxa
Posts: 237
Reputation: 4

Message # 11 | 10:37 PM
Added by: <span>$USER$</span>
I would prefer if you called me ErraticFox. ^_^
Paradox
Posts: 3276
Reputation: 145

Message # 12 | 3:11 AM
In what template to be more exact? The forums or otherwise?
Developer, Designer, Communicator.
Been here for 6 years and counting.
Visit me at alexmoloney.me.
Expert1510
Posts: 92
Reputation: -2

Message # 13 | 2:01 AM
How can you make the usernames of admins and mods with different colors on member page?

Attachments: 1456551.png(85Kb)
Post edited by Expert1510 - Thursday, 2012-08-09, 2:02 AM
Sunny
Posts: 9296
Reputation: 456

Message # 14 | 3:22 PM
Expert1510, by standard means it is not possible.
I'm not active on the forum anymore. Please contact other forum staff.
uCoz Community » uCoz Modules » Forum » Make the names of Administrator or Moderator with color
Page 1 of 11
Search: