Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2009-08-14 18:21:58

fg123
Member
Registered: 2009-08-10
Posts: 32

google ads

i have google adsense and want to add in the bottom of my forum on my site. does anyone know how to do that? Do i have to edit all the pages?


Never give up.....................Unless you really have to.

Offline

#2 2009-08-14 18:27:41

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: google ads

add it into include/template/main.tpl

Offline

#3 2009-08-14 18:43:43

fg123
Member
Registered: 2009-08-10
Posts: 32

Re: google ads

ok, thanks. is it because every page includes that tpl file?


Never give up.....................Unless you really have to.

Offline

#4 2009-08-14 18:45:01

Paul
Developer
From: Wales, UK
Registered: 2008-04-27
Posts: 1,653

Re: google ads

Really the other way around, that file includes every page.


The only thing worse than finding a bug is knowing I created it in the first place.

Offline

#5 2009-08-14 18:49:36

fg123
Member
Registered: 2009-08-10
Posts: 32

Re: google ads

Paul wrote:

Really the other way around, that file includes every page.

really? how? and it worked. so how do you close this topic?

Last edited by fg123 (2009-08-14 18:51:15)


Never give up.....................Unless you really have to.

Offline

#6 2009-08-14 18:52:51

Paul
Developer
From: Wales, UK
Registered: 2008-04-27
Posts: 1,653

Re: google ads

The template file is read using file_get_contents and then the str_replace is used to replace the placeholders with the generated content.

Topic closed as requested.


The only thing worse than finding a bug is knowing I created it in the first place.

Offline

Board footer

Powered by FluxBB