XF 2.0 visitor.isMember

Graham Smith

Active member
Am writing a small customisation widget for our forum, and I want to display a message to users who belong to of ANY of these usergroups, but my code isn't working correctly.

Any ideas?

<xf:if is="$xf.visitor.isMemberOf(13,14,17)">
<p>This is the message to display</p>
</xf:if>
 
Back
Top Bottom