jamalfree Active member Jan 19, 2018 #1 how merge two conditions in one Code: <xf:if is="!in_array({$forum.node_id}, [X,Y,Z])"> <xf:if is="!in_array($xf.visitor.user_id, [x, x, x, x])">
how merge two conditions in one Code: <xf:if is="!in_array({$forum.node_id}, [X,Y,Z])"> <xf:if is="!in_array($xf.visitor.user_id, [x, x, x, x])">
Jeremy P XenForo developer Staff member Jan 19, 2018 #2 HTML: <xf:if is="!in_array({$forum.node_id}, [X,Y,Z]) and !in_array($xf.visitor.user_id, [x, x, x, x])"> ... </xf:if> Upvote 0 Downvote
HTML: <xf:if is="!in_array({$forum.node_id}, [X,Y,Z]) and !in_array($xf.visitor.user_id, [x, x, x, x])"> ... </xf:if>