1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.
  2. Better Analytics for WordPress Get It Free

How To Insert Google Adsense After First Post On Forum

Discussion in 'Placement / Reviews / Examples' started by Constance, Jul 22, 2006.

  1. #1
    Does anyone know the code for inserting a google adsense ad after the first post of a topic? And will it work for IPB?

    Thanks in advance.
     
    Constance, Jul 22, 2006 IP
  2. nriweb

    nriweb Well-Known Member

    Messages:
    422
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    108
    #2
    you need to change the code to insert it. Check for the code ... you will find a loop .. a while loop or a for loop ... use a count variable in the display code ... and when count = 1( depending on ur logic) print the adsense code.. PM me for any help.
     
    nriweb, Jul 22, 2006 IP
  3. bananabob

    bananabob Peon

    Messages:
    90
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    look at our site..we use IPB as well
     
    bananabob, Jul 22, 2006 IP
  4. medusa

    medusa Peon

    Messages:
    349
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    medusa, Jul 22, 2006 IP
  5. vol_freak

    vol_freak Member

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #5
    How did you get that to work on IPB? I have been trying to do exactly that. Would you mind PMing me directions.

    Thanks in advance!
     
    vol_freak, Jul 23, 2006 IP
  6. adsensepublish

    adsensepublish Banned

    Messages:
    154
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    go to IPB for help, i think you will get the answer quickly.
     
    adsensepublish, Jul 23, 2006 IP
  7. MadGoat

    MadGoat Active Member

    Messages:
    162
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #7
    I found this article usefull for phpbb
    http://www.askdavetaylor.com/phpbb_trick_for_including_google_adsense_between_articles.html
    Code (markup):
     
    MadGoat, Jul 23, 2006 IP