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

XF 1.4 How can I show content to more than one member

jamalfree

Active member
#1
i want a small change in this condition if not x and y and z member show content

13. How can I show content to more than one member?

<xen:if is="in_array({$visitor.user_id}, array(x, y, z))">
This content will show to members x, y and z
</xen:if>