Page 1 of 1

Best place and file to put adsense codes on?

Posted: Sat Dec 01, 2007 8:16 pm
by namkyahai
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?

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

Posted: Sat Dec 01, 2007 10:16 pm
by ChrisRLG
I would suggest either the overall_footer or the overall_header - both in the style/templates folders.

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

Posted: Sat Dec 01, 2007 10:31 pm
by BondGamer
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.

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

Posted: Sun Dec 02, 2007 12:27 am
by Tom@S
i have codes in view_topic and looks good near to reply button

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

Posted: Sun Dec 02, 2007 2:15 am
by Phil
index_body, view_topic, and view_forum are generally the best places, as they full abide by Google's Terms of Service.

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

Posted: Tue Jan 01, 2008 4:03 pm
by sa_20v
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?

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

Posted: Fri Jan 04, 2008 8:51 pm
by Tom@S
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