Jaxel
Well-known member
Right now I am doing the following in a template
The problem is that this will return true if a user has any moderator permissions; even if they are a moderator of only one forum. I want this to return true only if a user is a super moderator. How would I check this?
Code:
<xen:if is="{xen:helper ismemberof, $user, 4}">
<li class="ribbonStaff"><div class="left"></div><div class="right"></div>Staff / Moderator</li>
</xen:if>
The problem is that this will return true if a user has any moderator permissions; even if they are a moderator of only one forum. I want this to return true only if a user is a super moderator. How would I check this?