Adsense & Ads for phpBB

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

Re: Adsense & Ads for phpBB

Post by Stoker »

Potku wrote: 09 Aug 2016, 14:16 Awesome! I can verify it works like a charm. Thanks, Stoker!

To many of us who are running boards with no actual commercial supporters, this kind of EXT is golden. Ads are a must to cover the expenses. Also, if a board has donors, I think it's very important they have the option of switching off the ads. To our (very few, unfortunately...) donors that has been the most important aspect of being a donor despite several other benefits.
I agree. That was also the reason for creating and using this on my own boards :thumb:
Board rules! No PM support
User avatar
casterdon
BBCoder I
BBCoder I
Posts: 3
Joined: 22 Mar 2016, 22:14
BBCodes: 2

Re: Adsense & Ads for phpBB

Post by casterdon »

Thanks Stoker, excellent work.
bb3st
BBCoder I
BBCoder I
Posts: 2
Joined: 13 Aug 2016, 17:57
BBCodes: 10

Re: Adsense & Ads for phpBB

Post by bb3st »

Thank you Stoker for this extension!

Also I will add here to et translation. If someone are looking this extension.
et.zip
(5.63 KiB) Downloaded 48 times
Estonian translation for warning text in ACP fields:

Code: Select all

Kasutad reklaamiblokeerijat!<br>Keela see, et vaadata teemasi ja <a href='' onclick='window.location.reload(true);'>Värskenda</a> lehekülge!<br>Samuti tea, et <a href='http://www.sinudomeen.ee'>Toetajad</a> ei näe reklaame ega ka seda sõnumit. 

GITHUB

Regards,
Last edited by bb3st on 27 Aug 2016, 09:36, edited 1 time in total.
charterschoolforums
BBCoder I
BBCoder I
Posts: 3
Joined: 17 Aug 2016, 05:42
BBCodes: 1

Re: Adsense & Ads for phpBB

Post by charterschoolforums »

Thank you so much for this extension!

Quick question...I enabled ads in my header but how do I remove it from appearing on my homepage? I want it in the header on all other pages just not the home page.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Adsense & Ads for phpBB

Post by Stoker »

charterschoolforums wrote: 17 Aug 2016, 05:45 Thank you so much for this extension!

Quick question...I enabled ads in my header but how do I remove it from appearing on my homepage? I want it in the header on all other pages just not the home page.
Its hard to say without knowing what kind of home page/portal you are using
Board rules! No PM support
charterschoolforums
BBCoder I
BBCoder I
Posts: 3
Joined: 17 Aug 2016, 05:42
BBCodes: 1

Re: Adsense & Ads for phpBB

Post by charterschoolforums »

Sorry...fairly new to forum management. What do you mean by what kind of portal I'm using? I'm on 3.1.9. Not sure if I'm allowed to post a link to my site so you can see.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Adsense & Ads for phpBB

Post by Stoker »

You were referrring to the home page. What is that homepage?
Board rules! No PM support
charterschoolforums
BBCoder I
BBCoder I
Posts: 3
Joined: 17 Aug 2016, 05:42
BBCodes: 1

Re: Adsense & Ads for phpBB

Post by charterschoolforums »

www.charterschoolforums.com is the home page.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Adsense & Ads for phpBB

Post by Stoker »

Okay, you want to remove it from forum index.

Open: stoker/adsenseads/styles/prosilver/template/event/overall_header_page_body_before.html Find This may be a partial find and not the whole line

Code: Select all

<!-- IF not S_IN_UCP -->
Replace with Replace the preceding lines with the following

Code: Select all

<!-- IF not (S_IN_UCP or SCRIPT_NAME == "index") -->
Purge cache
Board rules! No PM support
Potku
BBCoder II
BBCoder II
Posts: 21
Joined: 07 Jun 2010, 16:04

Re: Adsense & Ads for phpBB

Post by Potku »

I reread this topic, but I couldn't find an answer to this.

The AdBlock Warning is activated, and page source says so, too. Still there is no warning when using AdBlock. Where did I go wrong? :)

Potku.net - Keskustelujen etusivu
http://potku.net/forum/index.php
Attachments
adblock.png
Post Reply