F fredrikse Active member Licensed customer Feb 13, 2016 #1 Hi, What configuration is necessary to get an AdSense Ad after the first post in a thread?
F fredrikse Active member Licensed customer Feb 13, 2016 #2 Currently I use the following templates: ad_thread_view_above_messages ad_thread_view_below_messages Upvote 0 Downvote
wang Well-known member Feb 13, 2016 #3 I think you can do that with this code: HTML: <xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND {$thread.reply_count} > 0"> adsense code </xen:if> Upvote 0 Downvote
I think you can do that with this code: HTML: <xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND {$thread.reply_count} > 0"> adsense code </xen:if>
F fredrikse Active member Licensed customer Feb 13, 2016 #4 Thanks, @wang. I will give it a try. Upvote 0 Downvote
F fredrikse Active member Licensed customer Feb 13, 2016 #6 In what template should I put this code? Upvote 0 Downvote
P Paul B XenForo moderator Staff member Licensed customer Feb 13, 2016 #7 Point 10 here: https://xenforo.com/community/resources/responsive-adsense.2084/update?update=18207 Upvote 0 Downvote