XF 2.0 Removing Ads from Specific Nodes

jokeroo

New member
Hi everyone,

We have been trying to block ads from showing up in specific nodes, but using the code that's recommended is not working. Here is the code we are using:

<xf:if is="!in_array({$forum.node_id}, [X,Y,Z])">
Hide content..
</xf:if>

The problem is simple, $forum.node_id is not returning anything. We tested other conditional statements, and everything works. But when it comes to this variable, it just doesn't return any number. We just recently imported our forums from vBulletin.
 
Top Bottom