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

XF 1.3 Members online moderator showing twice

1BJK903

Active member
#1
Hi all,

Even if I disabled "show staff separate" and my moderator is not showed as staff, it shows me his name on the online user sidebar twice. I guess this is because he is a moderator, but how can I get it to work that staff members ánd moderators will shown only once? Is there a workaround for this?

Do I have to change something in here?

<xen:if is="{$i} <= {$OnlineUsers.limit}">
<xen:if is="!{$user.is_moderator} OR !{$user.is_admin}">
<xen:if is="!{$user.followed}">
<li>
<xen:if is="{$user.user_id}">
<xen:if is="{$widget.options.veravatares}">
<li title="{$user.username}" class="Tooltip"><xen:avatar user="$user" size="s" img="true" class="_plainImage" /></li>
<xen:else />
<a href="{xen:link members, $user}"
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$OnlineUsers.limit}">,</xen:if>
</xen:if>