XF 1.4 Conditional Statements

Sambish

Member
Hi everyone,

Recently I've been trying to display a certain message on member's profiles if they're a member of a certain group. This content will be visible to everyone, but it will only appear on a member's profile if they're part of a certain group. A while back I did this, but forgot how I did it. How would I go about achieving this using a conditional statement?

Thanks,
Sam.
 
How can I show content to a specific user group?
<xen:if is="{xen:helper ismemberof, $visitor, x}">
This content will show to members of user group x
</xen:if>
 
Top Bottom