Adding Adsense Help!

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
gobbly2100
Registered User
Posts: 76
Joined: Fri Nov 03, 2006 12:44 am
Location: UK
Contact:

Adding Adsense Help!

Post by gobbly2100 »

How can I add adsense above the forum sections?

Diabetes Forum

I thought I just needed to adjust the overall_header.html like I did with PHPBB2 but that don't seem to work.
User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm
Contact:

Re: Adding Adsense Help!

Post by Phil »

You'll need to edit the appropriate template file and refresh the cache. Although, if you add the Adsense code to overall_header.html, you will be violating the Adsense ToS (for serving it on a non-content page).
Moving on, with the wind. | My Corner of the Web
gobbly2100
Registered User
Posts: 76
Joined: Fri Nov 03, 2006 12:44 am
Location: UK
Contact:

Re: Adding Adsense Help!

Post by gobbly2100 »

That is what I have done but it is not working, could you maybe add the code for me or give me other ideas to what the problem is please?

Thanks for your help
User avatar
bbrian017
Registered User
Posts: 726
Joined: Mon Mar 19, 2007 2:20 pm
Location: Canada
Contact:

Re: Adding Adsense Help!

Post by bbrian017 »

Turboxgt
Registered User
Posts: 2
Joined: Thu Jun 28, 2007 1:51 am

Re: Adding Google Adsense in PHPBB

Post by Turboxgt »

this is very easy

Download the File>>
With Adsense overall_header.zip

i also uploaded the original over_all.tpl if in case you want to re modify it again

Open it with notepad and change the "pub-000000000"

then save it http://yourdomain.com/directory_forum/t ... subSilver/

Visit groundzerowing.com if you want to request any tutorial it is free ofcourse
visit also mobile7.us.to thankyou!
Attachments
With Adsense overall_header.zip
Modified Overall_Header
(3.68 KiB) Downloaded 232 times
Original overall_header.zip
Original Overall_header
(3.48 KiB) Downloaded 100 times
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72375
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Adding Adsense Help!

Post by KevC »

Turboxgt wrote:this is very easy

Download the File>>
With Adsense overall_header.zip
Putting ads into the overall header is usually against the google ad terms and conditions because those file display on non content pages (like the login, registration and confirmation to name but three). You should check the terms and where those files display.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
bbrian017
Registered User
Posts: 726
Joined: Mon Mar 19, 2007 2:20 pm
Location: Canada
Contact:

Re: Adding Adsense Help!

Post by bbrian017 »

This is very true, I was just reading this the other day. Thats why you should only add the ads to index_body.html or use the advertisment mod thats available from searching google, http://www.google.ca/search?hl=en&q=%5B ... arch&meta=
Locked

Return to “[3.0.x] Support Forum”