Welcome to vBulletin Guru!


vBulletin is arguably the best community forum software available today. vBulletin Guru is here to offer both free advice on how to successfully build, customize and manage your forum based website as well as offer advice and resources for more advanced topics of forum management such as SEO (Search Engine Optimization), community growth and monetization.
Jul
02

Forum Showing Adsense *Only If There’s" 2nd Post?

By
I already know how to stick adsense after 1st post, however that's not what I want.

For example: If there only ONE POST in a thread - adsense will NOT show under 1st post, but when there's a 2nd post.. the adsense then will appear under 1st post.

So basically, no 2nd post = no adsense.

I'm not sure but does it has anything with the <else> code?

Here's my coding sampling:

Code:

<if condition="in_array($post['postcount'], array(1,9,10,15,20))">
<div style="padding:6px 0px 0px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="alt1" align="center">
ADSENSE CODES........
    </td>
</tr>
</table>
</div>
</if>

Any help is greatly appreciated :)
-Nhat

Comments are closed.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes