MyBB Community Forums

Full Version: Ads only after the first post.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to display ad's after the first post only like in this thread.
http://mcmines.com/Thread-1-6-Soon-Join-...748#pid748

How can I do so? Here is the code I am using.
<div style="padding: 6px 0px 0px 0px">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> 
  
<tr>
<td class="thead">
Sponsored Links
</td>
</tr>
<tr>
<td class="alt1" align="center">
{myadvertisements[zone_3]}
</td> 
</tr>
</table>

This is at the very bottom of the postbit template. This is using My Advertisements (1.9.2) by Pirata Nervo

[center]NVM I GOT IT![/center]
I used this to fix it.
<if ($postcounter - 1) % $mybb->settings['postsperpage'] == "0" then>
<div style="padding: 6px 0px 0px 0px">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> 
  
<tr>
<td class="thead">
Sponsored Links
</td>
</tr>
<tr>
<td class="alt1" align="center">
{myadvertisements[zone_3]}
</td> 
</tr>
</table>
</if>
Download the file in the second post and it is english adsafp,that means ads after first post.

Its a plugin....install it.

www.soportemybb.com/tema_¿Cómo-puedo-obtener-los-anuncios-después-de-primer-post-aquí-como-en-este-sitio

I am using it on my forum www.mimspace.com