XF 1.5 Putting an ad every Xth post in a thread...

You can use template modifications for that. In template thread_view replace
Code:
<xen:foreach loop="$posts" value="$post">
with something like
Code:
<xen:foreach loop="$posts" value="$post" i="$i">
<xen:if is="{$i} == 1">
   code for ad after second post
</xen:if>
 
Be somewhat careful that you don't end up violating policies, etc.

We found that digital points addon which puts an ad after the last read post ended up converting much better than putting ads in various fixed positions.
 
Top Bottom