Page 19 of 21

Re: Adsense & Ads for phpBB

Posted: 01 May 2017, 23:25
by Stoker
benjo wrote: 01 May 2017, 17:43 hello, i installed it on my forum and add some ads from adsense
link to topic page with problem


and for some reason i can only see this lines "(adsbygoogle = window.adsbygoogle || []).push({});
" in the places were the ad suppose to be

please advice how to fix this ?

i installed it on different style like prosilver but its name is jprosilver style, i don't know if its the problem, i did add the files to this template
Well, the ad that is placed in the topic is showing up fine. So I guess your code is oncorrect?

Re: Adsense & Ads for phpBB

Posted: 02 May 2017, 10:31
by benjo
benjo wrote: 01 May 2017, 17:43 hello, i installed it on my forum and add some ads from adsense
link to topic page with problem


and for some reason i can only see this lines "(adsbygoogle = window.adsbygoogle || []).push({});
" in the places were the ad suppose to be

please advice how to fix this ?

i installed it on different style like prosilver but its name is jprosilver style, i don't know if its the problem, i did add the files to this template
ok problem solved
joomla firewall striped code from script tag making it <s-cript>

Re: Adsense & Ads for phpBB

Posted: 07 May 2017, 11:52
by MrO
Stoker wrote: 12 Apr 2017, 08:07
anthology wrote: 11 Apr 2017, 17:25
Stoker wrote: 11 Apr 2017, 16:36

Its a missing lang correction. Should be can disable ads
Thanks you. I see it in the ucp but it's greyed out where I can't select it. I've played with numerous permission but can't get it to where I can make a selection.
Some changes where made to the EXT and now the permission thing in incorrect. You need to set it to No.
No gives users option to disable ads i UCP
Morning Stoker, I'm confused with this. phpbb3.2. I've tried different settings on "Can See Ads" and I can't make it allow the UCP switch to stop being greyed out.

I see it works over here. Does it matter if the user is a member of multiple groups?

Cheers

Re: Adsense & Ads for phpBB

Posted: 08 May 2017, 14:04
by Stoker
MrO wrote: 07 May 2017, 11:52
Stoker wrote: 12 Apr 2017, 08:07
anthology wrote: 11 Apr 2017, 17:25

Thanks you. I see it in the ucp but it's greyed out where I can't select it. I've played with numerous permission but can't get it to where I can make a selection.
Some changes where made to the EXT and now the permission thing in incorrect. You need to set it to No.
No gives users option to disable ads i UCP
Morning Stoker, I'm confused with this. phpbb3.2. I've tried different settings on "Can See Ads" and I can't make it allow the UCP switch to stop being greyed out.

I see it works over here. Does it matter if the user is a member of multiple groups?

Cheers
Set permission to NEVER.

Re: Adsense & Ads for phpBB

Posted: 13 May 2017, 13:58
by simplejiro
Hi, i follow the installation exactly but can't see this extension under Extension Management. Please help.

Re: Adsense & Ads for phpBB

Posted: 18 May 2017, 11:24
by delv
I installed this extension on my 3.1.10 forum and after testing more than a week all seems to work perfect :D
But there is one great problem. In Chroome and on mobile everything works perfect, but when using Firefox 52 the ads won't show on my forum and i only see blank blocks :(
My resposive code for the blocks looks like:

Code: Select all

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!—- Blok3 -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-xxxxxxxxxxxxxxxx"
     data-ad-slot="xxxxxxxxx"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Very strange because when i visit this forum i can see the ads perfect with Firefox 52.

Re: Adsense & Ads for phpBB

Posted: 18 May 2017, 11:59
by Stoker
delv wrote: 18 May 2017, 11:24 I installed this extension on my 3.1.10 forum and after testing more than a week all seems to work perfect :D
But there is one great problem. In Chroome and on mobile everything works perfect, but when using Firefox 52 the ads won't show on my forum and i only see blank blocks :(
My resposive code for the blocks looks like:

Code: Select all

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!—- Blok3 -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-xxxxxxxxxxxxxxxx"
     data-ad-slot="xxxxxxxxx"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Very strange because when i visit this forum i can see the ads perfect with Firefox 52.
Thats weird. I use the same code here as you do

Code: Select all

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- BBCodes Responsive Banner -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-xxx"
     data-ad-slot="xxx"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Do you have a link to your board?

Re: Adsense & Ads for phpBB

Posted: 18 May 2017, 12:53
by delv
I'll PM you the url and a testaccount because the extension is set "Only testing for admins" :)

Re: Adsense & Ads for phpBB

Posted: 01 Jun 2017, 23:13
by Lighthope
Where do you set it so certain groups (like donors) can turn off ads? I do see the option in the UCP, but it is greyed out and I can't find where to turn it on for them in the Admin section.

Re: Adsense & Ads for phpBB

Posted: 02 Jun 2017, 16:03
by Stoker
Lighthope wrote: 01 Jun 2017, 23:13 Where do you set it so certain groups (like donors) can turn off ads? I do see the option in the UCP, but it is greyed out and I can't find where to turn it on for them in the Admin section.
Read a couple of the previous posts ;)