• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Add group coloring to user's online list?

DarkGizmo

Active member
#1
How do I go about adding group coloring to the user's online list? Not the Staff Online Now bit, but the actual users online in the sidebar?
 

MattW

Well-known member
#2
Template: sidebar_online_users

Replace:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
with
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUserName, $user}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>