Show Ad Between First and Second Post in Every Page [Deleted]

semprot

Well-known member
semprot submitted a new resource:

Show Ad Between First and Second Post in Every Page - ad, ads

This is how to show ad between first post and second post in every page, in every thread.

Go to Template Editor.
Search for "ad_message_below" template.

And use this code
HTML:
<xen:if is="in_array({$post.position} % {$xenOptions.messagesPerPage}, array(0))">
    <div style="clear:both"></div>
    <div style="background-color:#F00;text-align:center">This is ad</div>
    <div style="clear:both"></div>
</xen:if>
Demo :

View attachment 142781
Read more about this resource...
 
Top