CabCon
Active member
Hello, I'm searching a way to display member of my "Premium" group. One time on the sidebar on the forum index, secound time on the member list. Like the Staff Online. In my way Premium Users Online.
Like I have one more catergory:
Also I think someone can simply modify this, it is the staff online. Just set the "Stuff Ids" to the Premium group IDs ? Or how can I do this?
Thank you,
Your @CabCon.
Like I have one more catergory:
Also I think someone can simply modify this, it is the staff online. Just set the "Stuff Ids" to the Premium group IDs ? Or how can I do this?
PHP:
<!-- block: sidebar_online_staff -->
<xen:if hascontent="true">
<div class="section staffOnline avatarList">
<div class="secondaryContent">
<h3><a href="{xen:link members, '', 'type=staff'}">{xen:phrase staff_online_now}</a></h3>
<ul>
<xen:contentcheck>
<xen:foreach loop="$onlineUsers.records" value="$user">
<xen:if is="{$user.is_staff}">
<li>
<xen:avatar user="$user" size="s" img="true" />
<xen:username user="$user" rich="true" />
<div class="userTitle">{xen:helper userTitle, $user}</div>
</li>
</xen:if>
</xen:foreach>
</xen:contentcheck>
</ul>
</div>
</div>
</xen:if>
<!-- end block: sidebar_online_staff -->
Thank you,
Your @CabCon.