• Page 1 of 1
  • 1
Tag board user colors
Ed05
Posts: 556
Reputation: 7

Message # 1 | 8:18 PM
Im trying to make this ok but i dont get user color group like it could be, i want in tag board to every user have own color but i cant.i want administrators red,moderators blue,vip green,user light blue. i try with few codes and it wont work so i put this and now every one is with wrong color. my code is this
Code
  <a href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='$NAME$, ';return false;"  <?if($USER_ID$='1')?>style="color:#030DF8;font-weight:bold;"<?endif?><?if($USER_ID$='2')?> style="color:green;font-weight:bold;"<?endif?><?if($USER_ID$='3')?>style="color: #453FFB;font-weight:bold;"<?endif?><?if($USER_ID$='4')?>style="color:#F70C0C;font-weight:bold;"<?endif?><span style="font-weight:bold;">$NAME$</span> </a>

!
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 2 | 11:23 PM
Ed05, it's not possible to conditionally change elements based on user group or user id. You can only conditionally change elements based on a persons username unfortunately. wink
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
Ed05
Posts: 556
Reputation: 7

Message # 3 | 2:47 AM
Paradox, ok there's must be some way to do this. I will figure out. And, this script works for me, the only problem is cause it wont show user group colors correct.Ok too much appreciated cool
!
Post edited by Ed05 - Thursday, 2014-01-30, 2:49 AM
  • Page 1 of 1
  • 1
Search: