Adsense for phpBB 3.1.X

Extensions & Styles for phpBB 3.1.X
Maintained and supported by Stoker

Adsense for phpBB 3.1.X

Post by Stoker »

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.

Re: Adsense for phpBB 3.1.X

Post by dmzx »

and 3 in wiewtopic must be viewtopic

Re: Adsense for phpBB 3.1.X

Post by Stoker »

Its the exact same as I use here. So use this site as demo :)

Re: Adsense for phpBB 3.1.X

Post by RMcGirr83 »

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.

Re: Adsense for phpBB 3.1.X

Post by Stoker »

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.

Re: Adsense for phpBB 3.1.X

Post by RMcGirr83 »

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

Re: Adsense for phpBB 3.1.X

Post by martin123456 »

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

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

Re: Adsense for phpBB 3.1.X

Post by Stoker »

So many funny guys around here tonight :D

Re: Adsense for phpBB 3.1.X

Post by Oyabun1 »

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.

Re: Adsense for phpBB 3.1.X

Post by Stoker »

That never caused me any problems an the adsense team have checked the site.