How do I show an ad in the forum view but not in related threads?

Hi there,

I want to place an ad / text that is only shown in the forum view, but not in the threads below. When I use this conditional below the ad is also shown in all threads (thread views) relating to the specific forum. Thanks for a brief hint!

<xen:if is="{$forum.node_id} == 4" >
Banner B

Jake Bunce

XenForo moderator
Staff member