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

XF 1.5 Guide to color usergroups in members online block?

Discussion in 'XenForo Questions and Support' started by MirandaSings, Aug 14, 2015.

  1. MirandaSings

    MirandaSings Active Member

    I forgot the guide for this but on the members online block it will allow me to color members groups, I know it has something to do with sidebar_online_users template. Can anyone help?

    Thanks :D
    Last edited: Aug 14, 2015
  2. Amaury

    Amaury Well-Known Member

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

    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>
  3. vanucci

    vanucci Active Member

    top replaces bottom, or bottom replaces top ?
  4. Lisa

    Lisa Well-Known Member

    Bottom replaces top.
    vanucci likes this.

Share This Page