<xf:if is="!in_array($__globals.forum.node_id,['1','2','3'])">
<div style="margin:3px 0 3px 0;">
### your ad code ###
</div>
</xf:if>
Updated this article with some more examples of conditionals you can use to show / hide ads in specific situations.
After 2 months, any update?If anyone is curious, my earnings had drooped lately and this thread really brought things back. Thank you!
Red is essentially eligible page views, yellow is ads displayed and blue is earnings.
View attachment 200403
<xf:if is="{$__globals.thread} AND {$__globals.post} AND {$__globals.thread.first_post_id} == {$__globals.post.post_id}">
After 2 months, any update?![]()
How can we use this special condition on Widgets > Display condition? Thanks!count($__globals.posts)>4
We use essential cookies to make this site work, and optional cookies to enhance your experience.