Adsense & Ads for phpBB

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

Re: Adsense & Ads for phpBB

Post by Stoker »

Potku wrote: 09 Aug 2016, 12: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

Post by casterdon »

Thanks Stoker, excellent work.

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
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,
You do not have the required permissions to view the files attached to this post.
Last edited by bb3st on 27 Aug 2016, 07:36, edited 1 time in total.

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.

Re: Adsense & Ads for phpBB

Post by Stoker »

charterschoolforums wrote: 17 Aug 2016, 03: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

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.

Re: Adsense & Ads for phpBB

Post by Stoker »

You were referrring to the home page. What is that homepage?

Re: Adsense & Ads for phpBB

Post by charterschoolforums »

www.charterschoolforums.com is the home page.

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

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
You do not have the required permissions to view the files attached to this post.