Adsense & Ads for phpBB

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

Adsense & Ads for phpBB

Post by Stoker »

Extension Name: Adsense & Ads for phpBB
Author: Stoker

Description:
The Adsense & Ads for phpBB EXT gives you option to use Adsense and other ads all over your board.
  1. Banner in header, display on all pages except UCP
  2. Banner in footer, display on all pages except UCP
  3. 3 Banners in viewtopic
  4. Banner in all search results
  5. Configuration in ACP
  6. Option for Adblock message, displays for user with Adblock enabled
  7. Option for Noscript message, displays for users with javascript disabled
  8. Admin testmode, only admin can view ads. Good for testing
  9. Permission based. You can set permissions for users and groups to view ads. Default all groups except Bots can view ads
  10. Users with permissions can enable/disable ads in UCP and are allowed to use adblockers. Users without permissions will see the option but will not be able to use it. Will work both on 3.1.X and 3.2.X
  11. Enable/disable the loading.gif
  12. Choose background color for each ad container
  13. Adsense Page-Level ads for mobile content
Please make a Donation

Version: 1.0.7
100%

Demo: This board
adsense_warn.png
adsense_head_search.png
adsense_acp.png
Download:
adsense_and_ads_phpbb1.0.7.zip
Installation:
  1. Copy the entire contents of the repository to ext/stoker/adsenseads/
  2. Navigate in the ACP to Customise -> Extension Management -> Extensions.
  3. Click Enable.
  4. Navigate in the ACP -> Extensions and configure

Older versions

adsense_and_ads_phpbb1.0.6.zip
adsense_and_ads_phpbb1.0.5.zip
adsense_and_ads_phpbb1.0.3.zip
adsense_and_ads_phpbb1.0.2.zip
You do not have the required permissions to view the files attached to this post.
Board rules! No PM support
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense & Ads for phpBB

Post by Stoker »

Version 1.0.3 will have option to block the entire topic when javascript is disabled or users are blocking ads.
This site is demo.
Board rules! No PM support
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

Re: Adsense & Ads for phpBB

Post by martin123456 »

Fix the error in 1.0.2 and i could use 1.0.3 when released adds are off for every one but 1 add still shows
77.png
You do not have the required permissions to view the files attached to this post.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense & Ads for phpBB

Post by Stoker »

martin123456 wrote:Fix the error in 1.0.2 and i could use 1.0.3 when released adds are off for every one but 1 add still shows
77.png
Which one is that?

EDIT: thats the Ad Block detector code. There is no config to disable/enable that one.
Will fix in 1.0.3
Last edited by Stoker on 03 Feb 2016, 10:48, edited 1 time in total.
Board rules! No PM support
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

Re: Adsense & Ads for phpBB

Post by martin123456 »

Version: 1.0.2 lol first post in this topic ;)

all adds are off but one shows on my site take a look.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense & Ads for phpBB

Post by Stoker »

thats the Ad Block detector code. There is no config to disable/enable that one.
Will fix in 1.0.3
Board rules! No PM support
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

Re: Adsense & Ads for phpBB

Post by martin123456 »

:thumb: speed it up then put the joint down :thumb:
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense & Ads for phpBB

Post by Stoker »

Actually 1.0.3 was ready until you reported that error.
Damn you martin ;)
Board rules! No PM support
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

Re: Adsense & Ads for phpBB

Post by martin123456 »

Just use one of the switch's that are there now
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Adsense & Ads for phpBB

Post by Stoker »

Also needs to utf8_normalize to be able to use danish characthers like æøå
Board rules! No PM support