Adsense & Ads for phpBB

Extensions & Styles for phpBB 3.1.X maintained and supported by Stoker
overmod
BBCoder I
BBCoder I
Posts: 3
Joined: 15 Oct 2016, 21:38
BBCodes: 1

Re: Adsense & Ads for phpBB

Post by overmod »

Stoker wrote: 22 Oct 2016, 12:51
Its hard to say, I may need a link so I can see what the problem is.
www.overmodding.it
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 »

overmod wrote: 22 Oct 2016, 13:39
Stoker wrote: 22 Oct 2016, 12:51
Its hard to say, I may need a link so I can see what the problem is.
www.overmodding.it
For the Ad Block detector ad code: you need something like this:

Code: Select all

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- BBCodes Prosilver tekstlink -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:15px;"
     data-ad-client="ca-pub-3346231937490093"
     data-ad-slot="6524646627"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Offcourse you should use your own ;)
But it is a link unit where the height is defined. This is a MUST for the ad block detector to work.
Board rules! No PM support
overmod
BBCoder I
BBCoder I
Posts: 3
Joined: 15 Oct 2016, 21:38
BBCodes: 1

Re: Adsense & Ads for phpBB

Post by overmod »

I have this:

Code: Select all

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- banner in basso -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-9967401919899523"
     data-ad-slot="5988654098"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
PS: what is your bbcode editor? :)
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 »

overmod wrote: 22 Oct 2016, 20:01 I have this:

Code: Select all

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- banner in basso -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-9967401919899523"
     data-ad-slot="5988654098"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
PS: what is your bbcode editor? :)
I think the problem is the text you use for adblock text? You cant use some special characters as it needs to be parsed be javascript.
Try with just a simple Hello for adblock text.

Bbcode editor is default phpBB 3.2
Board rules! No PM support
killfrenzy
BBCoder I
BBCoder I
Posts: 3
Joined: 23 Oct 2016, 15:35
BBCodes: 10

Re: Adsense & Ads for phpBB

Post by killfrenzy »

Sir thank you for this extension. I'm using the old version v1.0.4 and I want to know if this ads like in your forum at the left corner also included in the latest versio9? Thanks again for this awesome extension.
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 »

killfrenzy wrote: 23 Oct 2016, 15:44 Sir thank you for this extension. I'm using the old version v1.0.4 and I want to know if this ads like in your forum at the left corner also included in the latest versio9? Thanks again for this awesome extension.
No, that isnt included. It takes manual edits and will probably only be supported for donors
Board rules! No PM support
killfrenzy
BBCoder I
BBCoder I
Posts: 3
Joined: 23 Oct 2016, 15:35
BBCodes: 10

Re: Adsense & Ads for phpBB

Post by killfrenzy »

Ok Sir I try your update but can't view in guest even added permission group "can see add in guest"? My forum www.zyberph.com thanks
killfrenzy
BBCoder I
BBCoder I
Posts: 3
Joined: 23 Oct 2016, 15:35
BBCodes: 10

Re: Adsense & Ads for phpBB

Post by killfrenzy »

Problem solve just because my ads in enable in test mode so that can't view. Thanks later I will donate hope to learn more from you. Thank you
vgeoffs
BBCoder II
BBCoder II
Posts: 5
Joined: 15 Nov 2016, 22:27
BBCodes: 3

Re: Adsense & Ads for phpBB

Post by vgeoffs »

Problem with java script. When I enter java script in for my ads box I get 403 forbidden when I submit it. I have no problems with just plain text. I think I need to authorize java script somewhere. Any suggestions. I have PHPBB 3.1.10 and 1.07 (latest) installed.

http://www.palmerstoncellars.com/phpbb test site
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 »

vgeoffs wrote: 15 Nov 2016, 22:50 Problem with java script. When I enter java script in for my ads box I get 403 forbidden when I submit it. I have no problems with just plain text. I think I need to authorize java script somewhere. Any suggestions. I have PHPBB 3.1.10 and 1.07 (latest) installed.

http://www.palmerstoncellars.com/phpbb test site
NEver heard of that before. Can you post an example of the javascript you try to ad?
Board rules! No PM support
Post Reply