google adsense + first post

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • demagh
    Member
    • Oct 2006
    • 43
    • 3.6.x

    google adsense + first post

    i integrated successfully to the forums, the google adsense hack after the first post, problem is, whenever a user is checking a private msg, after the first msg there is google adsense, which is not annoying yet.

    the annoying part, that i limited my forums to 800x600, when the user is in the private msg section, the google ad is extending out the page range i configured, causing ur eyes to bleed.

    what modification should i ad to separate the ad appearance on the forums from the one in the private msgs section?! what should i add to the code, i mean the "if condition" to prevent the ads from appearing on the private page? or may be appear in different size "which would be best"

    thanks in advance
    Attached Files
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    #2
    This is not something we can control, the banner code is that wide, it won't wrap so it will expand. Pick a different adsense code that's not as wide is the only solution i can think of, besides making the forum wider.

    To just display it on showthread.php you can put the code you already inserted inside this conditional:

    <if condition="THIS_SCRIPT == 'showthread'">
    adsense hack here
    </if>

    Comment

    • demagh
      Member
      • Oct 2006
      • 43
      • 3.6.x

      #3
      thanks a million, this solved it.

      Comment

      • Floris
        Senior Member
        • Dec 2001
        • 37767

        #4
        Glad I could help - and thanks for letting me know it worked. Good luck with your forum!

        Comment

        • Mazinger
          Senior Member
          • Jul 2005
          • 2399
          • 3.7.x

          #5
          Thanks, I had the same problem and fixed it.
          $post[signature]

          Comment

          Related Topics

          Collapse

          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎