Best place and file to put adsense codes on?

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Scam Warning
Post Reply
User avatar
namkyahai
Registered User
Posts: 21
Joined: Sat Oct 13, 2007 6:27 am
Contact:

Best place and file to put adsense codes on?

Post by namkyahai » Sat Dec 01, 2007 8:16 pm

Not intended to be a support question:

Generally speaking, what files and location on your forum you found is the best place to put adsense codes on?

User avatar
ChrisRLG
Former Team Member
Posts: 3420
Joined: Wed Nov 24, 2004 3:18 pm
Location: Essex, UK
Contact:

Re: Best place and file to put adsense codes on?

Post by ChrisRLG » Sat Dec 01, 2007 10:16 pm

I would suggest either the overall_footer or the overall_header - both in the style/templates folders.
phpBB: The All Important Rules - Bertie Bear 3.0 - No support via PM system - use the forums please.
phpBB v2: Retirement (1/1/2009) : phpBB v3: Read Me Topic - Custom BBCodes - Support Template
Matthew 7:7"Ask and it will be given to you; seek and you will find; knock and a door will be opened to you."
My Links: MS MVP (Consumer Security) - Malware Removal:University - Own Forum: Custom BBCode testing

BondGamer
Registered User
Posts: 435
Joined: Mon Dec 15, 2003 7:49 pm
Contact:

Re: Best place and file to put adsense codes on?

Post by BondGamer » Sat Dec 01, 2007 10:31 pm

It is not a good idea to put Adsense code in the overall footer/header because it violates Google's terms of service. You can't have advertisements displaying on confirmation pages, for example after you post a topic. You should add the code in places such as index_body, forum_body, topic_body, etc.
My phpBB3 Mods: - None active =[

Tom@S
Registered User
Posts: 96
Joined: Thu Jul 12, 2007 7:33 pm
Location: SVK
Contact:

Re: Best place and file to put adsense codes on?

Post by Tom@S » Sun Dec 02, 2007 12:27 am

i have codes in view_topic and looks good near to reply button

User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm
Contact:

Re: Best place and file to put adsense codes on?

Post by Phil » Sun Dec 02, 2007 2:15 am

index_body, view_topic, and view_forum are generally the best places, as they full abide by Google's Terms of Service.
Moving on, with the wind. | My Corner of the Web

sa_20v
Registered User
Posts: 31
Joined: Thu Jan 15, 2004 10:53 am

Re: Best place and file to put adsense codes on?

Post by sa_20v » Tue Jan 01, 2008 4:03 pm

There was a hack to include Adsense in the Footer, on all pages except those excluded by Google's TOS on phpBB2. Does anyone know if there is something that could be done for phpBB3?

Tom@S
Registered User
Posts: 96
Joined: Thu Jul 12, 2007 7:33 pm
Location: SVK
Contact:

Re: Best place and file to put adsense codes on?

Post by Tom@S » Fri Jan 04, 2008 8:51 pm

you can use not only mod you can put code in some template file and is it but
http://www.phpbb.com/kb/article/adverti ... in-phpbb3/
or
http://phpbbmodders.net/viewtopic.php?f=35&t=1934
and hopely others

Post Reply

Return to “phpBB Discussion”