fattony69
Well-known member
Hey,
I have been trying to work with template conditionals for my advertisements and I have been facing an issue with them.
I am trying to make it so that the advertisement doesn't load in one forum and only certain usergroups can see it. Here is what I have (that doesn't work).
What do I have to change?
I have been trying to work with template conditionals for my advertisements and I have been facing an issue with them.
I am trying to make it so that the advertisement doesn't load in one forum and only certain usergroups can see it. Here is what I have (that doesn't work).
Code:
<xen:if is="!in_array({$forum.node_id}, array(39))">
<xen:if is="{$visitor.user_group_id} == 1 OR {$visitor.user_group_id} == 2 OR {$visitor.user_group_id} == 3 OR {$visitor.user_group_id} == 4">
Enter Code Here
</xen:if>
</xen:if>
What do I have to change?