www.overmodding.it
Adsense & Ads for phpBB
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Adsense & Ads for phpBB
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>
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
Re: Adsense & Ads for phpBB
I have this:
PS: what is your bbcode editor?
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>
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Adsense & Ads for phpBB
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.overmod wrote: ↑22 Oct 2016, 20:01 I have this:PS: what is your bbcode editor?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>
Try with just a simple Hello for adblock text.
Bbcode editor is default phpBB 3.2
Board rules! No PM support
-
- BBCoder I
- Posts: 3
- Joined: 23 Oct 2016, 15:35
- BBCodes: 10
Re: Adsense & Ads for phpBB
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.
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Adsense & Ads for phpBB
No, that isnt included. It takes manual edits and will probably only be supported for donorskillfrenzy 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.
Board rules! No PM support
-
- BBCoder I
- Posts: 3
- Joined: 23 Oct 2016, 15:35
- BBCodes: 10
Re: Adsense & Ads for phpBB
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
-
- BBCoder I
- Posts: 3
- Joined: 23 Oct 2016, 15:35
- BBCodes: 10
Re: Adsense & Ads for phpBB
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
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
http://www.palmerstoncellars.com/phpbb test site
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Adsense & Ads for phpBB
NEver heard of that before. Can you post an example of the javascript you try to ad?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
Board rules! No PM support