Add group coloring to user's online list?

DarkGizmo

Well-known member
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?
 
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>
 
Back
Top Bottom