Page 9 of 21

Re: Adsense & Ads for phpBB

Posted: 09 Aug 2016, 14:22
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:

Re: Adsense & Ads for phpBB

Posted: 09 Aug 2016, 20:55
by casterdon
Thanks Stoker, excellent work.

Re: Adsense & Ads for phpBB

Posted: 13 Aug 2016, 18:08
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 57 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,

Re: Adsense & Ads for phpBB

Posted: 17 Aug 2016, 05:45
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.

Re: Adsense & Ads for phpBB

Posted: 18 Aug 2016, 05:35
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

Re: Adsense & Ads for phpBB

Posted: 18 Aug 2016, 06:33
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.

Re: Adsense & Ads for phpBB

Posted: 18 Aug 2016, 12:33
by Stoker
You were referrring to the home page. What is that homepage?

Re: Adsense & Ads for phpBB

Posted: 18 Aug 2016, 21:12
by charterschoolforums
www.charterschoolforums.com is the home page.

Re: Adsense & Ads for phpBB

Posted: 19 Aug 2016, 03:37
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

Re: Adsense & Ads for phpBB

Posted: 08 Sep 2016, 04:57
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