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

Usergroup styling in users online list

abbychase

Active member
#7
As Brogan posted, make the following changes.... :)

Sidebar Display
In a default installation, user group styling does not apply to the Staff Online Now andMembers Online Now blocks in the sidebar.
To enable styling to show in these locations, the sidebar_online_users template must be edited.
Look for this line of code in the template:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username},
Replace it with this:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUserName, $user},
Results:


Hopefully that works for you :)