| :: |
| Author |
Message |
ryanj
Joined: 04 Sep 2007 Posts: 5
|
Posted: Tue Sep 04, 2007 4:37 am Post subject: Implementing Google Adsense code into a phpBB2 page |
|
|
I am a very basic publisher. I have used google adsense for over a year and made a nice little profit from running it on content based websites all written in html.
I have just started using forums and phpbb to assist in growth in my new business and thought it would be great to add google adsense on to my forum pages.
Having only ever used dreamweaver and having basic coding and ftp knowledge, I have caught a little snag when trying to place ads in my forum.
Any help would be greatly appreciated. Thanks in advance |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
coyote phpBB SEO Team

Joined: 11 May 2007 Posts: 72
|
Posted: Tue Sep 04, 2007 9:30 pm Post subject: Re: Implementing Google Adsense code into a phpBB2 page |
|
|
The only thing I don't like about putting it in the overall_footer is that few people scroll down that far. I prefer to put at the bottom of index_body (between the last forumrow table and who is online), and the bottom of viewforum and viewtopic above the pagination. If you're really dedicated, you can put it at the bottom of all the search pages, profiles and memberlist, too!
If you have Dreamweaver, you're all set! .tpl files are just .html files with a different extension. |
|
|
| Back to top |
|
 |
ryanj
Joined: 04 Sep 2007 Posts: 5
|
Posted: Fri Sep 07, 2007 2:13 am Post subject: Going well so far-minor glitch |
|
|
Hey dcz, Thanks for last post and fast reply! very much appreciated and great help.
I finally managed to get adsense displaying both horizontal and vertical on my forum. I prefer the horizontal ad banners for sure. I am however having a minor glitch no matter which way I place the ads (mods or templates).
When I go to view the ads the 'POST NEW TOPIC' and 'REPLY TO TOPIC' buttons dissapear. The links remain however, when I click the links it says the page can not be found.
Do you know where I might find answers to this issue?
Thanks again |
|
|
| Back to top |
|
 |
ryanj
Joined: 04 Sep 2007 Posts: 5
|
Posted: Fri Sep 07, 2007 2:17 am Post subject: Re: Implementing Google Adsense code into a phpBB2 page |
|
|
Sorry coyote, I only just saw your post. Thanks for the advice, I had a look at the tpl files, getting a little better with them and easy to use in dreamweaver!
Have you ever encounted the same issue when placing ads as I mention in the above post?
Thanks again |
|
|
| Back to top |
|
 |
coyote phpBB SEO Team

Joined: 11 May 2007 Posts: 72
|
Posted: Fri Sep 07, 2007 1:32 pm Post subject: Re: Implementing Google Adsense code into a phpBB2 page |
|
|
No, I haven't. Unless you somehow got the AdSense code in between
I've done that before, though not with AdSense code. |
|
|
| Back to top |
|
 |
ryanj
Joined: 04 Sep 2007 Posts: 5
|
Posted: Fri Sep 07, 2007 1:42 pm Post subject: Re: Implementing Google Adsense code into a phpBB2 page |
|
|
Im sure I pasted the codes correctly but I could be mistaken, however I did notice some lines of code change when I paste the new code in the viewtopic.tpl file. The lines 4,5 and 6 change to show different code when the mod is added and the code is pasted.
Perhaps il try and paste the code somewhere on the page
Anywho thanks again for the help |
|
|
| Back to top |
|
 |
coyote phpBB SEO Team

Joined: 11 May 2007 Posts: 72
|
Posted: Fri Sep 07, 2007 2:11 pm Post subject: Re: Implementing Google Adsense code into a phpBB2 page |
|
|
which template are you using?
I gotta run off to work--I'll be back in a few hours.  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
ryanj
Joined: 04 Sep 2007 Posts: 5
|
Posted: Sun Sep 09, 2007 1:47 pm Post subject: Thanks guys |
|
|
Thanks guys, all sorted at last! It was just the way that I was saving the files from dreamweaver. All working and very happy! Thanks for all your help  |
|
|
| Back to top |
|
 |
dashken
Joined: 28 Sep 2007 Posts: 1
|
Posted: Mon Oct 01, 2007 8:21 am Post subject: Re: Implementing Google Adsense code into a phpBB2 page |
|
|
Managed to code something up from googling on the Internet. Hopefully this will help those who are looking for the same thing. Just trying to help.
Add Google Adsense to phpBB First Post and Last Post |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
|
|