Adsence+PHPBB forum header pages

Discussion in 'Placement / Reviews / Examples' started by yupsolo, Feb 9, 2006.

  1. #1
    Hi!

    I did get a mod to add adsence IN the forum subjets but, I still need to know where to put my adsence code in header pages...


    Many thanks!


    yupsolo
     
    yupsolo, Feb 9, 2006 IP
  2. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #2
    templates/your_template/overall_header.tpl
     
    mdvaldosta, Feb 9, 2006 IP
  3. yupsolo

    yupsolo Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ok but after wich line??


    thanx!
     
    yupsolo, Feb 9, 2006 IP
  4. Dio

    Dio Well-Known Member

    Messages:
    725
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #4
    Can I just point out that unless you put some conditionals in there, you'll be in breach of the TOS by putting it in the overall header. It'll show on non-content pages (login, register, etc.) as well as content pages which is against the TOS for adsense. :)
     
    Dio, Feb 9, 2006 IP
  5. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Then you can put the code in just index_body.tpl, viewforum_body.tpl and viewtopic_body.tpl instead.
     
    mdvaldosta, Feb 9, 2006 IP
  6. Dio

    Dio Well-Known Member

    Messages:
    725
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #6
    Yup - easiest way to get to the meatiest content pages. :)
     
    Dio, Feb 9, 2006 IP
  7. ascensions

    ascensions Active Member

    Messages:
    175
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #7
    PhpBB requires a good amount of SEO work to even begin to get it ready for Adsense... make sure you get a little familar with the Logged in switch to remove alot of nasty stuff that shows up that will skew the ads.
     
    ascensions, Feb 10, 2006 IP
  8. Dio

    Dio Well-Known Member

    Messages:
    725
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    120
    #8
    And its a good idea to remove session IDs for non-logged in guests - like the Google Spider. :)
     
    Dio, Feb 11, 2006 IP