News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Real Popup with AdBlock Detection

Started by dougiefresh, September 25, 2016, 03:29:26 PM

Previous topic - Next topic

dougiefresh

Quote from: Black Tiger on November 17, 2016, 04:28:53 PM
I would also like to use this mod, if it can detect ublock. I found a site which can do that and looked at the page source.

This is a script i found in the page source, could this be of any help to you do adapt the code?
Care to share the website?  I don't understand what it's checking for.....

Black Tiger

Sure, maybe you can find more then I do, I'm no coder.
The website is webwereld.nl it's a dutch languaged site.
Greetings, Black Tiger

PyroTech03

I'm curious if someone can help me understand if this relates to my issue...

I run 4 ad sections on every page that runs some direct sales ads as well as adsense. I was making some money via adsense for this.

I found this mod and installed it. Shows once every 30 minutes to same user.

It seems I have not made any income from adsense from the point I enabled this mod. The ads were still showing up on board.

Is there something with how this ad comes up that adsense is invalidating the impression? Coincidence? Anywhere someone can recommend asking this?

I have disabled the mod to test but was wondering if anyone else has noticed this behavior?

Thanks in advance!
YouTube personality PyroTech03 http://www.youtube.com/pyrotech03stream [nofollow]

Owner of Obtenebration Network, home for YouTube gaming content creators and fans! http://www.obten.net [nofollow]

dougiefresh

I don't know why this would be happening, but I would guess that AdSense is checking the page for the ad code.  Since the ad code technically isn't on the page when it loads, you aren't getting credit for the ad.  So, I'm adding an option to include the contents of the popup inline in the HTML.

PyroTech03

I have/had it set to display immediately, I wonder if using delay would have any effect (if this is in fact what's happening).
YouTube personality PyroTech03 http://www.youtube.com/pyrotech03stream [nofollow]

Owner of Obtenebration Network, home for YouTube gaming content creators and fans! http://www.obten.net [nofollow]

nend

Quote from: dougiefresh on November 25, 2016, 09:04:41 PM
I don't know why this would be happening, but I would guess that AdSense is checking the page for the ad code.  Since the ad code technically isn't on the page when it loads, you aren't getting credit for the ad.  So, I'm adding an option to include the contents of the popup inline in the HTML.
How is your pop up being displayed? If it covers the page then it violates the terms.

I say this because when the Adsense Bot crawls the page it blocks its own ads in the render, so it will see the warning just like if it had a Ad Blocker installed. The same goes for GoogleBot as well.

I ran into my own problems with it.
http://www.sicomm.us/t/229/?start=msg370#msg370

dougiefresh

Interesting....  I guess no changes in the mod will be needed to address this, as it is something that I can't change....

snadge

i cant get this to work on 2.0.12 - when i enabled adblocplus on both firefox or chrome then visit my site i dont get any warning?

thanks

dougiefresh

Quote from: snadge on December 28, 2016, 02:00:04 PM
i cant get this to work on 2.0.12 - when i enabled adblocplus on both firefox or chrome then visit my site i dont get any warning?
Did you enable adblock detection in the mod?  If not, then that's why you aren't seeing anything there.....


nicotoine

Hello,
I love your mod, is it possible to add an option to open the popup from a link
and to be able to open several different ones.
thank you very much.  ;)

BellGab.com


DeveloperMcD

How do you implement a close button?

I wrote up some HTML, and all the other settings work well. I'm getting the pop-up every time I enable ad-block (for the session, always, etc. depending on what I have set in the control panel)

However, there is no way to get rid of the window, aside from turning off AdBlock and hitting "refresh". As tempting as that is, I can't force that on my users at this time.

I tried <ESC>, clicking the window, etc. but nothing will make it go away.

Do I have to put in some custom javascript? And if so, what kind? What do I have to trigger to make the window go away?


dougiefresh

@DeveloperMcD:  Go into the mod settings and check Can close Popup on AdBlock detection?.  That SHOULD allow users to close the popup while using Adblock detection.  If it doesn't, let me know.

PLAYBOY

#34
1- Popup doesn`t show no matter what I did. I applied all those things you said above. I also use enotify and ad management mods. So maybe a conflict there?

2- When you add a Turkish character in opt-in field and save, it removes everything in that field. I think this is a bug. Cause I can`t add any Turkish characters in the popup

KyrrTube

Weird problem, How can I fix these?

andsim

i have a problem
when i changes html to blockadblock.com they provide the code to in ur plugin html it say in as default html as before i put my. also when i turn can "Can close Popup on AdBlock detection?' disable the close when on enabled
by the way in my HTML contents of Opt-In file:
is empty should display nothing


maglix04

Quote from: dougiefresh on October 13, 2016, 08:10:08 PM
Quote from: Kiriakos GR on October 13, 2016, 06:33:33 PM
Is it possible Pop-up this to be a JPG file instead of  HTML code?
No, you must use HTML code to refer to the image, like this:
<img src="/link/to/the/image" />
Congratulations for your mod, but I can't insert image whit code html

<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title></title>
</head>
<body>
<span style="text-decoration: underline;"><img
style="width: 342px; height: 253px;" alt="antiadblock"
src="antiadblock.jpeg"></span><br>
</body>
</html>


Pop-up is empty, Why?

dougiefresh

You don't need the html and body tags, as it isn't a whole webpage you're including.  Try just this:
<img style="width: 342px; height: 253px;" alt="antiadblock" src="antiadblock.jpeg">
Only make sure the full path to the file is included, as relative image links may or may not work.....

maglix04


Advertisement: