Google AdSense (General)

by bboy121, Tuesday, February 02, 2010, 11:34 (5212 days ago)

Ok guys, I need to be frank here. My knowledge of php is quite limited. i am good with the syntax but dont have much experience working with php functions. I just downloaded MLF. I like it alot but I want to place google ads on my forum. I know I can place the google code inside the template.html file but thats not the problem. The problem is that, the ads are being displayed on the login and the register pages too and that does against googles TOS. So I need a work around to that. From inside the template.html file, I need to check if the page being called is login.php or register.php. If it is, I dont want the ads to be displayed, or else I want them to be. Please, I need to do this soon. I just replaced my old forum with this one. I get alot of visitors on my website.

Thanks in advance to whoever helps me out

locked
4751 views

Complete thread:

 RSS Feed of thread