FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Adsense on phpbb forum

 


truespeed
Ive already searched this and have read differing opinions,one where i can put adsense code into headers and footers and the other where i cant,what i need to know is.. if im not allowed to put the code into the headers and footers? which tpl files do i need to edit to put the code into?

And if your not allowed footer and header code in phpbb forums,would this rule also apply to coppermine gallery? and again if so ,which file would i need to edit there?
wumingsden
truespeed wrote:
Ive already searched this and have read differing opinions,one where i can put adsense code into headers and footers and the other where i cant,what i need to know is.. if im not allowed to put the code into the headers and footers? which tpl files do i need to edit to put the code into?

And if your not allowed footer and header code in phpbb forums,would this rule also apply to coppermine gallery? and again if so ,which file would i need to edit there?


In phpBB:
You are allowed to add anything you wish to the header/footer of phpBB. They do however ask for you not to remove the copyright. Doing so is not illigal, but it will mean that if they find out you have done this then they will not give you support if you need any.

- - - HTML - - -
If you wish for ads to be placed at the bottom of the forum you can place the code in /templates/subSilver/overall_footer.tpl. If you want the ads to be in the header, then add the code to the /templates/subSilver/overall_header.tpl file.

- - - PHP - - -
If the code is in php then it needs to be placed in the corresponding php file. (So, for example, if the code is in php then you will need to add it to includes/overall_footer.php for the ads to be shown in the footer)

- note that you may need to change "subSilver" to the theme name('s) that you use -


In Coppermine:
Although I have used Coppermine before I do not know much about their license agreement. It's more than likely under the GPL, llike phpBB, which means that it is free/available to edit. They probably ask however to keep the copyright in, and if not support may not be given.

- - - HTML - - -
In coppermine, you should add HTML code in /themes/yourtheme/template.html. As said above, I don't know much about coppermine, but the beginning of the file should be the header, the end of the file the footer, so place the code where appropiate.


- - - PHP - - -
In coppermine, you should add PHP/dynamic code in /themes/yourtheme/theme.php. As said above, I don't know much about coppermine, but the beginning of the file should be the header, the end of the file the footer, so place the code where appropiate.

The page here will help you create your own custom php header/footer in coppermine.

- note that you will need to change "yourtheme" to the theme name('s) that you use -
truespeed
wumingsden ive seen a few posts on here where people have said that putting adsense into overall-header.tpl conflicts with google adsense terms and conditions,something about not having code on non content pages,and by putting the code into the header,you will therefore have the code on search and faq pages,therefore this rule is being broken... or so they say,so i just wanted it clarifying.
wumingsden
truespeed wrote:
wumingsden ive seen a few posts on here where people have said that putting adsense into overall-header.tpl conflicts with google adsense terms and conditions,something about not having code on non content pages,and by putting the code into the header,you will therefore have the code on search and faq pages,therefore this rule is being broken... or so they say,so i just wanted it clarifying.


I have been working with phpBB for quite a while (not the actual developers, the software). I do not like ads, and so don't use them, but I do not think that it goes against the terms of google adsense. As long as you don't say, "Please Click on the Ads in the Header", it should be ok. There are millions of forums on the net which have google adsense in their header/footer, and everyhwere else in their forum, so you should be no different.
truespeed
Thanks for your help wumingsden,in the end i decided to use adsense channels and put different code into index_body.tpl ,viewforum.tpl and viewtopic.tpl.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.