MG 1.1 Exclude adsense from albums

dutchbb

Well-known member
I only show albums to members, how would i not show adsense on those pages?

{$xengalleryAlbum.album_id}

Would this be correct?
 

Chris D

XenForo developer
Staff member
This should do it:
HTML:
<xen:if is="!{$xengalleryAlbum.album_id}">
 <!-- show ads -->
<xen:else />
 <!-- do not show ads -->
</xen:if>
 
Top