Adsense after the first post - why is it not working?

Discussion in 'Programming' started by kempos, Jun 30, 2009.

  1. #1
    kempos, Jun 30, 2009 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    Maybe you added adsense in the loop
     
    Bohra, Jun 30, 2009 IP
    kempos likes this.
  3. kempos

    kempos Well-Known Member

    Messages:
    689
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Hi,

    Thanks for help again. Reputation on the way :)

    I will paste the code here later, so if you could have a look at it, I would really appreciate it.
     
    kempos, Jun 30, 2009 IP
  4. kempos

    kempos Well-Known Member

    Messages:
    689
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Hi,

    here is what it looks like, it cause my adsense to show after every post not only after the first one :(



    <!-- IF ($postrow_i == 0) -->

    <table class="tablebg" width="100%" cellspacing="1">
    <tr class="row2">

    <td align="center" valign="middle">
    <b class="postauthor" style="color:#1845ad;"> G<span style="color:#ad1400;"> o</span> <span style="color:#c69e99;"> o</span> g<span style="color:#31b639;"> l</span> <span style="color:#ad1400;"> e</span> </b>
    </td>
    <td width="100%" height="25">
    <table width="100%" cellspacing="0">
    <tr>
    <td class="gensmall" width="100%"> &nbsp;</td>
    </tr>
    </table>
    </td>
    </tr>

    <tr class="row1">

    <td valign="top" class="profile">
    <table cellspacing="4" align="center" width="150">
    <tr>
    <td align="center"> </td>
    </tr>
    </table>

    </td>
    <td valign="top">
    <table width="100%" cellspacing="5">
    <tr>
    <td>

    <div class="postbody">

    <script type="text/javascript"><!--
    google_ad_client = "pub-4163156362332029";
    /* 728x90, created 6/30/09 (1) */
    google_ad_slot = "1588968893";
    google_ad_width = 728;
    google_ad_height = 90;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>


    </td>
    </tr>
    </table>
    </td>
    </tr>

    <tr>
    <td bgcolor="#D1D7DC" colspan="2" height="1"> </td>
    </tr>
    </table>
    <!-- ENDIF -->
     
    kempos, Jul 1, 2009 IP
  5. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #5
    thats your google_ads_after1stpost.html ? rite
     
    Bohra, Jul 1, 2009 IP
  6. kempos

    kempos Well-Known Member

    Messages:
    689
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Yes, it is. and it shows after each and every post :(
     
    kempos, Jul 1, 2009 IP
  7. kempos

    kempos Well-Known Member

    Messages:
    689
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #7
    Hello,

    I would really appreciate some hlp on this :)

    thanks,

    kempos
     
    kempos, Jul 3, 2009 IP