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

XF 1.4 Conditional Statements

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?



XenForo moderator
Staff member
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