1. 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?

Discussion in 'Styling and Customization Questions' started by DarkGizmo, Jan 6, 2013.

  1. DarkGizmo

    DarkGizmo Active 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?
     
  2. MattW

    MattW Well-Known Member

    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>
     
    Deriel, Jake Bunce and Shelley like this.
  3. DarkGizmo

    DarkGizmo Active Member

    Thanks Matt. :)
     

Share This Page