D dutchbb Well-known member Jul 2, 2017 #1 I only show albums to members, how would i not show adsense on those pages? {$xengalleryAlbum.album_id} Would this be correct?
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 Jul 2, 2017 #2 This should do it: HTML: <xen:if is="!{$xengalleryAlbum.album_id}"> <!-- show ads --> <xen:else /> <!-- do not show ads --> </xen:if> Upvote 0 Downvote
This should do it: HTML: <xen:if is="!{$xengalleryAlbum.album_id}"> <!-- show ads --> <xen:else /> <!-- do not show ads --> </xen:if>
D dutchbb Well-known member Jul 2, 2017 #3 Was just testing the same as you posted and works But on this page (also categories) it is still above content. https://xenforo.com/community/media/albums Don't know sure if google allows ads on 'hidden' pages, it is not very clear about some of these things. Upvote 0 Downvote
Was just testing the same as you posted and works But on this page (also categories) it is still above content. https://xenforo.com/community/media/albums Don't know sure if google allows ads on 'hidden' pages, it is not very clear about some of these things.
D dutchbb Well-known member Jul 2, 2017 #4 Correction, on categorie page it is not showing. Upvote 0 Downvote
D dutchbb Well-known member Jul 3, 2017 #5 nvm, that page is still visible for guests so adsense can stay on it. Upvote 0 Downvote