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

Discussion in 'vBulletin' started by nhatle84, Jul 2, 2010.

  1. #1
    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:

    <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">
    [COLOR=Red][B][I]ADSENSE CODES........[/I][/B][/COLOR]
        </td>
    </tr>
    </table>
    </div>
    </if>
    Code (markup):
    Any help is greatly appreciated :)
    -Nhat
     
    nhatle84, Jul 2, 2010 IP
  2. DaStarBuG

    DaStarBuG Peon

    Messages:
    621
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hmm I would be interested in this too.
     
    DaStarBuG, Jul 6, 2010 IP