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.

how to add googleads to PHPBB

Discussion in 'HTML & Website Design' started by Tom Brown, Jan 4, 2005.

  1. #1
    How do I add Google ads to PHPBB2?
     
    Tom Brown, Jan 4, 2005 IP
  2. Josh

    Josh Peon

    Messages:
    893
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you know HTML,
    Go into the templates/yourtemplatename/ folder, and edit the TPL file that applys, i.e. either overall_header.tpl or overall_footer.tpl.


    Josh
     
    Josh, Jan 4, 2005 IP
  3. Redleg

    Redleg Raider

    Messages:
    360
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It may actually violate the Adsense TOS to add adsense to overall_header.tpl or overall_footer.tpl, since the ads will appear on every page of the forum, including the "thank you for registering" etc. pages..

    https://www.google.com/adsense/localized-terms

    You can use Adsense on the viewtopic_body.tpl, viewforum_body.tpl and index_body.tlp files in the template folder instead, just to be sure.. :)
     
    Redleg, Jan 4, 2005 IP
  4. l234244

    l234244 Peon

    Messages:
    1,225
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Or you could block specific pages from being indexed by adsense bot in your robots.txt file.

    Obviously other pages you might want to block due to duplicate content is the "search" "FAQ" "usergroups" and "login" pages. These tend to be very similar to other sites.
     
    l234244, Jan 4, 2005 IP
  5. Will.Spencer

    Will.Spencer NetBuilder

    Messages:
    14,789
    Likes Received:
    1,040
    Best Answers:
    0
    Trophy Points:
    375