Adsense for phpBB 3.1.X

Extensions & Styles for phpBB 3.1.X maintained and supported by Stoker
User avatar
Stoker
Site Admin
Site Admin
Posts: 3502
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Adsense for phpBB 3.1.X

Post by Stoker » 15 Nov 2014, 06:08

You probably want to use this version instead! Adsense & Ads for phpBB
That is the current version used here.

Extension Name: Adsense for phpBB 3.1.X
Author: Stoker

Description:
Easy way to display adsense on your forum. It will display one in the header, 3 on forum index and 3 in viewtopic.
On my site I use a link unit in the header

Please make a Donation

Requirements: You need to be able to do the html edits yourself.

Version: 1.0.0
100%
Download:
adsense_3.1.X.zip
Installation:
  1. Open the 3 files in ext/stoker/ads/styles/all/template/event insert your own adsense code, edit the files as you like. In viewtopic a warning will be displayed if the visitor is using an adblocker, you might want to edit this as well. Note that this part doesnt work if you use responsive ad units. If so, you need to remove that part of the code
  2. Copy the entire contents of the repository to ext/stoker/ads/ and images to images
  3. Navigate in the ACP to Customise -> Extension Management -> Extensions.
  4. Click Enable.
  5. Remeber to purge cache each time you edit the templates after the installation
You do not have the required permissions to view the files attached to this post.
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear


User avatar
dmzx
BBCoder II
BBCoder II
Posts: 23
Joined: 02 Mar 2014, 12:30
BBCodes: 0

Re: Adsense for phpBB 3.1.X

Post by dmzx » 15 Nov 2014, 20:59

and 3 in wiewtopic must be viewtopic

User avatar
Stoker
Site Admin
Site Admin
Posts: 3502
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense for phpBB 3.1.X

Post by Stoker » 15 Nov 2014, 21:00

Its the exact same as I use here. So use this site as demo :)
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear

User avatar
RMcGirr83
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 11:17
Favourite MOD: mChat

Re: Adsense for phpBB 3.1.X

Post by RMcGirr83 » 17 Nov 2014, 18:37

Stoker wrote: Open the 3 files in ext/stoker/ads/styles/all/template/event insert your own adsense code, edit the files as you like.
Should be in the ACP instead of requiring files to be altered.

User avatar
Stoker
Site Admin
Site Admin
Posts: 3502
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense for phpBB 3.1.X

Post by Stoker » 17 Nov 2014, 19:14

RMcGirr83 wrote:
Stoker wrote: Open the 3 files in ext/stoker/ads/styles/all/template/event insert your own adsense code, edit the files as you like.
Should be in the ACP instead of requiring files to be altered.
No, this is created for my own use. I only need to edit those files once. ACP and database is is overkill for something like this.
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear


User avatar
RMcGirr83
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 11:17
Favourite MOD: mChat

Re: Adsense for phpBB 3.1.X

Post by RMcGirr83 » 17 Nov 2014, 19:16

Someone told me once that ACP entries should be used for my stopforum spam mod which required less edits than this does.

So what is overkill again?

PS Make a github account you nub! :P

User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 763
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

Re: Adsense for phpBB 3.1.X

Post by martin123456 » 17 Nov 2014, 19:50

:lol: :lol: :lol: Get him Rich.

Oh wait i'l hold him and you kick him ;)

User avatar
Stoker
Site Admin
Site Admin
Posts: 3502
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense for phpBB 3.1.X

Post by Stoker » 17 Nov 2014, 20:46

So many funny guys around here tonight :D
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear

Oyabun1
BBCoder II
BBCoder II
Posts: 10
Joined: 05 Mar 2010, 21:49

Re: Adsense for phpBB 3.1.X

Post by Oyabun1 » 12 Dec 2014, 06:56

Ads shouldn't be placed in the header because that shows on non content pages, which is against the Google Adsense rules:
Ads on thank you, exit, log in, or error pages wrote:Publishers are not permitted to place ads on any non-content based pages like thank you, error, log in, or exit pages. These are pages that visitors see on a site before potentially leaving the domain or after performing a specific action on the site such as a purchase or download.

User avatar
Stoker
Site Admin
Site Admin
Posts: 3502
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense for phpBB 3.1.X

Post by Stoker » 12 Dec 2014, 11:27

That never caused me any problems an the adsense team have checked the site.
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear