phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Implementing Google Adsense code into a phpBB2 page

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Google Forums  » Google AdSense
::  
Author Message
ryanj



Joined: 04 Sep 2007
Posts: 5

Implementing Google Adsense code into a phpBB2 pagePosted: 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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

Implementing Google Adsense code into a phpBB2 pagePosted: Tue Sep 04, 2007 9:39 am    Post subject: Re: Implementing Google Adsense code into a phpBB2 page

And welcome Very Happy

You could start with the code from this post : http://www.phpbb-seo.com/boards/phpbb-forum/discussions-vt1004.html

The simpler alternative would be to just drop your AdSense code in overall_header.tpl (and why not overall_footer.tpl). Templates are pretty close to straight html, you should not have trouble editing theses.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
coyote
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2007
Posts: 72

Implementing Google Adsense code into a phpBB2 pagePosted: 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
Visit poster's website
ryanj



Joined: 04 Sep 2007
Posts: 5

Implementing Google Adsense code into a phpBB2 pagePosted: 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

Implementing Google Adsense code into a phpBB2 pagePosted: 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
phpBB SEO Team


Joined: 11 May 2007
Posts: 72

Implementing Google Adsense code into a phpBB2 pagePosted: 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

Code:
<a href=

and

</a>


I've done that before, though not with AdSense code.
Back to top
Visit poster's website
ryanj



Joined: 04 Sep 2007
Posts: 5

Implementing Google Adsense code into a phpBB2 pagePosted: 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 Confused

Anywho thanks again for the help
Back to top
coyote
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2007
Posts: 72

Implementing Google Adsense code into a phpBB2 pagePosted: 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. Smile
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

Implementing Google Adsense code into a phpBB2 pagePosted: Fri Sep 07, 2007 5:20 pm    Post subject: Re: Implementing Google Adsense code into a phpBB2 page

@ryanj

Maybe be it could be more efficient to talk about this in the concerned thread.
People there tried the code.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
ryanj



Joined: 04 Sep 2007
Posts: 5

Implementing Google Adsense code into a phpBB2 pagePosted: 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 Very Happy
Back to top
dashken



Joined: 28 Sep 2007
Posts: 1

Implementing Google Adsense code into a phpBB2 pagePosted: 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. Very Happy

Add Google Adsense to phpBB First Post and Last Post
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

Implementing Google Adsense code into a phpBB2 pagePosted: Mon Oct 01, 2007 10:33 am    Post subject: Re: Implementing Google Adsense code into a phpBB2 page

Which is what's this code will do as well Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Google Forums  » Google AdSense
Page 1 of 1

Navigation Similar Topics

Jump to: