Page 13 of 21

Re: Adsense & Ads for phpBB

Posted: 22 Oct 2016, 13:39
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

Re: Adsense & Ads for phpBB

Posted: 22 Oct 2016, 17:00
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.

Re: Adsense & Ads for phpBB

Posted: 22 Oct 2016, 20:01
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? :)

Re: Adsense & Ads for phpBB

Posted: 22 Oct 2016, 22:38
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

Re: Adsense & Ads for phpBB

Posted: 23 Oct 2016, 15:44
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.

Re: Adsense & Ads for phpBB

Posted: 23 Oct 2016, 23:30
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

Re: Adsense & Ads for phpBB

Posted: 24 Oct 2016, 05:31
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

Re: Adsense & Ads for phpBB

Posted: 24 Oct 2016, 05:47
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

Re: Adsense & Ads for phpBB

Posted: 15 Nov 2016, 22:50
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

Re: Adsense & Ads for phpBB

Posted: 16 Nov 2016, 08:10
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?