PDA

View Full Version : Board Optimization - Adblock Alert


TheInsaneManiac
06-20-2013, 10:00 PM
This is a minor port of my 3.8.x modification found HERE (https://vborg.vbsupport.ru/showthread.php?t=229984).

Demo
http://www.consolediscussions.com/forum/


To purchase and view more information on our pro version of Adblock Alert, please visit my
Products & Services (https://sellfy.com/TheInsaneManiac)!

The pro version has the following features, and includes free updates:
Redirect users of abp
Early Access New Features
All Future Updates To PRO


To-Do
Enable/Disable
Auto Template
Link into default notification system
Usergroup settings
Redirect if ABP detected
Cookie system to only display message once per session
Color of message
Index only option
Add location of message
New type of alert style

This is a minor port, I am working now to fully port everything over along with a premium version.

I use Google Adsense on my website and considering Google Adsense is not malicious, I feel no need for adblocking software of any kind.

Therefor I have created this system which will alert members that ads are used to support the server. Wait... What's that? You don't want to annoy a member with constant alerts? No worries! This system works off of cookies, so once the member views the alert, they won't be bothered by it anymore.


Installation
1.) Upload the contents of the "upload" folder to your forums root directory.
2.) Perform template edits
3.) Mark Installed. =]


Template Edits
In the navbar template find:
{vb:raw notices}
</ol>
</form>
</vb:if>

After add:
<script type="text/javascript" src="abp/adblock_detector.js"></script>
<script type="text/javascript">
if (document.getElementById("TestAdBlock") == undefined)
{
document.write('<br /><div style="background-color: yellow; border-width: 2px; border-style: dashed; border-color: red;"><center><font color="red"><strong>Adblock Plus</strong> detected! Please help support Console Discussions, by disabling ad-blocking software.</font></center></div>');
}
</script>


FAQ
Q: Why is it not working?
A: Make sure you uploaded everything and installed the mod. Also make sure template edits are completed.

Q: How does this work?
A: I've used adblocking software against them. I've made a fake advertisement which is never displayed on the forums, but is within the coding. Since the soul purpose of adblocking software is to of course... block ads. It blocks this advertisement, in which the script checks to see if the advertisement loaded. If not, the alert is displayed.


Changelog
0.3.2
Color now fades when hovering over alert

0.3.1
Cookie system brought to free edition

0.3.0
Changed Alert Style

0.2.0
Auto Template Edit

0.1.0
Release.

Nirjonadda
06-21-2013, 08:22 PM
So Its manual Template Edits modifications? Please make sure your work up To-Do List than try to Release.:up:

davidg
06-21-2013, 10:32 PM
works fine with opera and firefox having adblock plus enabled
dont work with SuperBird browser having adblock plus and Chromeblock from Abine enabled

TheInsaneManiac
06-22-2013, 02:02 AM
So Its manual Template Edits modifications? Please make sure your work up To-Do List than try to Release.:up:
I've already almost completed the Auto Templates by going through a hook. I'm going to try to put the final touches on the cookie script and see where we can go from there. Hopefully will release it shortly.

works fine with opera and firefox having adblock plus enabled
dont work with SuperBird browser having adblock plus and Chromeblock from Abine enabled
I've never heard of that browser, I've tested it in all the known ones, what is it doing in SuperBird? Any screenshots?

davidg
06-22-2013, 04:25 PM
I've already almost completed the Auto Templates by going through a hook. I'm going to try to put the final touches on the cookie script and see where we can go from there. Hopefully will release it shortly.


I've never heard of that browser, I've tested it in all the known ones, what is it doing in SuperBird? Any screenshots?


sorry i dont have screenshots i still did a fast test with IE8 and Superbird and the addon is not working with them(maybe is only me) but works fine with Opera and Firefox.
SuperBird is Chromium based.

TheInsaneManiac
08-13-2013, 10:52 AM
sorry i dont have screenshots i still did a fast test with IE8 and Superbird and the addon is not working with them(maybe is only me) but works fine with Opera and Firefox.
SuperBird is Chromium based.
I've changed the design and a little of the coding, it appears to be showing in those browsers for me now.

Also 0.3.1 is now released! Cookies are added to remember if a users clicks the close button, and will not show the alert again until cookies are cleared. Coming soon is a redirect option, permissions, and more!

Bacon Butty
08-13-2013, 01:46 PM
Looks great so far, well done. I will be sure to keep a close eye on this!

final kaoss
08-13-2013, 02:46 PM
Just something I thought about, what does google think about these messages being displayed to not use adblock, because they have a section that someone can use to report a site for "encouraging users to click ads"?

While your default text doesn't exactly say that, what would happen if a user submitted your site to the adsense guidelines for that rule?

Bacon Butty
08-13-2013, 03:22 PM
Installed and the navbar alert is working just great. How do I have the Red Box along the side as per screenshot and Demo?

TheInsaneManiac
08-13-2013, 07:14 PM
Just something I thought about, what does google think about these messages being displayed to not use adblock, because they have a section that someone can use to report a site for "encouraging users to click ads"?

While your default text doesn't exactly say that, what would happen if a user submitted your site to the adsense guidelines for that rule?
I've already clarified with them, their response was they in no way endorse or support Adblock Plus, and as long as you aren't encouraging to click the advertisements, then they do not care.

They despise abp, remember a few months back they removed abp off Google Play and Chrome market place?


Installed and the navbar alert is working just great. How do I have the Red Box along the side as per screenshot and Demo?
Did you install the 0.3.1 version?

bzcomputers
08-16-2013, 03:46 AM
Just something I thought about, what does google think about these messages being displayed to not use adblock, because they have a section that someone can use to report a site for "encouraging users to click ads"?

While your default text doesn't exactly say that, what would happen if a user submitted your site to the adsense guidelines for that rule?

I've already clarified with them, their response was they in no way endorse or support Adblock Plus, and as long as you aren't encouraging to click the advertisements, then they do not care.

They despise abp, remember a few months back they removed abp off Google Play and Chrome market place?



This sounds about right. The latest news you can search on is Google is actually paying Adblock Plus to show some of their ads. Certainly would be more monetarily beneficial to Google if everyone used an add-on like this.


......


There are a couple issues in the CSS of this addon (v.0.3.2):

Need some quotes around the div id. This is currently stopping the new opacity change from working.
('<div id="stickymsg">and the <strong> is not working correctly, I just went with a span style:
<strong><span style="font-weight:bold;">Adblock Plus</span></strong>

Also setting the cookie for 365 days seems excessively long. If someone is going to install this add-on they don't want users using an adblocker. If I understand it correctly once the first warning is closed a cookie is set, and with the current coding it appears the warning will not come up again for 365 days (or until the cookie is cleared). This may be something that should eventually be an option the user can adjust but until then maybe something like 7-14 days would be a better number.


Edit: This also does not work in the CMS section. (same as your TOR Alert)

TheInsaneManiac
08-27-2013, 05:07 PM
This sounds about right. The latest news you can search on is Google is actually paying Adblock Plus to show some of their ads. Certainly would be more monetarily beneficial to Google if everyone used an add-on like this.


......


There are a couple issues in the CSS of this addon (v.0.3.2):

Need some quotes around the div id. This is currently stopping the new opacity change from working.
('<div id="stickymsg">and the <strong> is not working correctly, I just went with a span style:
<strong><span style="font-weight:bold;">Adblock Plus</span></strong>

Also setting the cookie for 365 days seems excessively long. If someone is going to install this add-on they don't want users using an adblocker. If I understand it correctly once the first warning is closed a cookie is set, and with the current coding it appears the warning will not come up again for 365 days (or until the cookie is cleared). This may be something that should eventually be an option the user can adjust but until then maybe something like 7-14 days would be a better number.


Edit: This also does not work in the CMS section. (same as your TOR Alert)
Yea I had the opacity fixed in tor alert, but haven't gotten around to fixing it in Adblock alert yet. I'm a one man army here haha. I will have to find a different hook to latch into for the CMS. <b> would also work too, but I believe <strong> was retired in newer versions of html, so that is why I believe it does not work. I will replace in future versions. That shouldn't be a problem. I'll actually probably pull some features from Proxy Alert aka Tor Alert into Adblock Alert. I'll also see about adding an option to change the days the cookie stays for those who are looking for a lesser persistent option. Also below you will see attached a screenshot where Google states that this modification is golden in their eyes.

bzcomputers
08-27-2013, 10:31 PM
You may even want to include that email screenshot with the mod download. I believe this mod would be much more popular if everyone wasn't so paranoid about Google Adsense dropping them from the program for using it. There are some horror stories out there about people breaking Google Adsense Terms Of Service and being dropped. The email screenshot should set many at ease.

Now for my numbers and conclusions...
I've been running this mod for about 3 weeks now and I can say over that time my Adsense pageviews are up a minimum of 3%. I calculate this by taking my Google Analytics pageviews and comparing them to my Google Adsense pageviews and concluding the difference in reported pageviews are from those that use ad blocking software. This is as accurate as could think of doing it considering all my pages have at least one ad. This difference in pageview counts between the two decreasing 3% means an additional 3% of my pages are now showing ads. In addition, over this same period of time that my adsense pageviews are up 3% my CTR has also been up about 12%. From this I can also conclude that those who have now turned off their ad blockers for my site are now clicking on ads at least as often or at an even higher rate than those who didn't have it turned on to begin with. So, at a minimum I can conclude my profits are up somewhere over 3% for a five minute install of this mod.

In actuality...
I believe the above mentioned 3% is a very conservative number. I believe the actual impact is even higher but I can't prove it outright. The reason I believe it is higher is that many adblockers also block analytics tracking code (i.e. block Google Analytics) which many of you may not have known. For instance Ad Blocker Plus by default on install will completely block Google Analytics tracking code. So, not only are Ad blockers not allowing your ads to show but your site analytics are off too because ad blocking programs are also blocking your site tracking code from working. Considering that, I can also conclude that at least some on the increase in overall pageviews shown on Google Analytics over this same 3 week time period are also related to users disabling their adblocking software.

I don't have the busiest site on the net, but I do have thousands of visitors daily and haven't had one comment or complaint so far about the anti-adblock pop-up this mod displays. I currently have the code set to show once a week - so those repeat visitors who have not shut off there adblocker (yet!) have seen it 3 times now - still no complaints.

TheInsaneManiac
08-27-2013, 11:35 PM
You may even want to include that email screenshot with the mod download. I believe this mod would be much more popular if everyone wasn't so paranoid about Google Adsense dropping them from the program for using it. There are some horror stories out there about people breaking Google Adsense Terms Of Service and being dropped. The email screenshot should set many at ease.

Now for my numbers and conclusions...
I've been running this mod for about 3 weeks now and I can say over that time my Adsense pageviews are up a minimum of 3%. I calculate this by taking my Google Analytics pageviews and comparing them to my Google Adsense pageviews and concluding the difference in reported pageviews are from those that use ad blocking software. This is as accurate as could think of doing it considering all my pages have at least one ad. This difference in pageview counts between the two decreasing 3% means an additional 3% of my pages are now showing ads. In addition, over this same period of time that my adsense pageviews are up 3% my CTR has also been up about 12%. From this I can also conclude that those who have now turned off their ad blockers for my site are now clicking on ads at least as often or at an even higher rate than those who didn't have it turned on to begin with. So, at a minimum I can conclude my profits are up somewhere over 3% for a five minute install of this mod.

In actuality...
I believe the above mentioned 3% is a very conservative number. I believe the actual impact is even higher but I can't prove it outright. The reason I believe it is higher is that many adblockers also block analytics tracking code (i.e. block Google Analytics) which many of you may not have known. For instance Ad Blocker Plus by default on install will completely block Google Analytics tracking code. So, not only are Ad blockers not allowing your ads to show but your site analytics are off too because ad blocking programs are also blocking your site tracking code from working. Considering that, I can also conclude that at least some on the increase in overall pageviews shown on Google Analytics over this same 3 week time period are also related to users disabling their adblocking software.

I don't have the busiest site on the net, but I do have thousands of visitors daily and haven't had one comment or complaint so far about the anti-adblock pop-up this mod displays. I currently have the code set to show once a week - so those repeat visitors who have not shut off there adblocker (yet!) have seen it 3 times now - still no complaints.


I am happy to hear my modification has increased revenue in your website, I will be continuing to develop the modification to bring more features here soon. I have already added an option to change the time the cookie is stored. This will be in the next version. I def appreciate the feedback, I know with use on my forums (I use almost all my mods I create on my forums) I saw an increase in revenue as well. Instead of me getting checks every 2 months, I now get checks every month. So that's definitely handy. I will make sure to include the screenshot with future versions when these other projects I am working on die down. Thank you for the idea and suggestions. :)

bzcomputers
01-09-2014, 02:13 AM
Had to disable this mod. Google has started to use this mods text as the description for many of my sites pages.

Edit: Happened to be just a result of the keywords that were searched (the domain name) that was causing this.

EliasAlucard
03-25-2014, 10:17 AM
Excellent stuff, InsaneManiac, just bought the pro version!

TheInsaneManiac
01-16-2015, 08:29 PM
Had to disable this mod. Google has started to use this mods text as the description for many of my sites pages.

Edit: Happened to be just a result of the keywords that were searched (the domain name) that was causing this.

That is strange, in the next update I'll apply a conditional for the bots to not index that text.

Also it looks like Adblocks newest update allows to block Alert Messages. I will do further research to see if this affects my product in terms of the alert or blocking method.

RealitYYY
02-05-2015, 07:05 PM
Had another version that had stopped working recently and was pointed to this. This works very well and have added some things including an ad we have normally to it. Wondering how wede code to rotate another ad with it...

<script type="text/javascript" src="abp/adblock_detector.js"></script>
<script type="text/javascript">
if (document.getElementById("TestAdBlock") == undefined)
{
document.write('<br /><div style="background-color: white; border-width: 2px; border-style: dashed; border-color: white;"><center><span style="color:#FFFFFF"><span style="color:#FF0040">Turn AdBlock OFF and this will NOT show!! The ads on FST are NOT obtrusive.<span style="color:#FFFFFF"><br><a href="http://affiliate.astraweb.com/10797-3-1-14.html" target="_blank rel="nofollow"><img src="http://a.fststatic.com/aw.gif" alt="" /></a><br><a href=\"/showthread.php?t=125697\"><img src=\"/images/statusicon/cp_help.gif\" height=\"12\" width=\"12\" alt=\"Help\" title=\"READ THIS\" /><span style="color:#3366FF"> -> How to Disable AdBlock for This Site since the ads are NOT obtrusive. <- <\/a><a href=\"/showthread.php?t=125697\"><img title=\"How To Close This\" src=\"/images/statusicon/cross.png\" alt=\"Close\"></a></center></div>');
}
</script>

http://filesharingtalk.com/forum.php

TheInsaneManiac
02-17-2015, 06:42 AM
Just an update, ABP has released new list which remove adblock warnings. However this script still works.


Had another version that had stopped working recently and was pointed to this. This works very well and have added some things including an ad we have normally to it. Wondering how wede code to rotate another ad with it...

<script type="text/javascript" src="abp/adblock_detector.js"></script>
<script type="text/javascript">
if (document.getElementById("TestAdBlock") == undefined)
{
document.write('<br /><div style="background-color: white; border-width: 2px; border-style: dashed; border-color: white;"><center><span style="color:#FFFFFF"><span style="color:#FF0040">Turn AdBlock OFF and this will NOT show!! The ads on FST are NOT obtrusive.<span style="color:#FFFFFF"><br><a href="http://affiliate.astraweb.com/10797-3-1-14.html" target="_blank rel="nofollow"><img src="http://a.fststatic.com/aw.gif" alt="" /></a><br><a href=\"/showthread.php?t=125697\"><img src=\"/images/statusicon/cp_help.gif\" height=\"12\" width=\"12\" alt=\"Help\" title=\"READ THIS\" /><span style="color:#3366FF"> -> How to Disable AdBlock for This Site since the ads are NOT obtrusive. <- <\/a><a href=\"/showthread.php?t=125697\"><img title=\"How To Close This\" src=\"/images/statusicon/cross.png\" alt=\"Close\"></a></center></div>');
}
</script>

http://filesharingtalk.com/forum.php

Do you mean two notifications?

mtauriza
03-22-2015, 08:10 PM
Hi, I'm already using this alert but the message continues appearing after the adblock has been desactivated. Why?

Thanks!!

bzcomputers
03-24-2015, 03:02 AM
Hi, I'm already using this alert but the message continues appearing after the adblock has been desactivated. Why?

Thanks!!

More than likely a caching issues - could be internet cache or a caching system you are using with vBulletin. Make sure they are cleared.

g00gl3r
03-31-2015, 10:32 AM
This doesn't detect Avast Antivirus Adblock.

Any way to get it to work with that?

Spika
04-07-2015, 05:46 PM
I Have tested this version and after I purchased the pro version in your page, and I can see that this version is the 0.3.0 and here you have the 0.3.2.

And in your website https://sellfy.com/p/ifCL/ you write that the version is 3.0 ?????

The code of the navbar template in the pro version does not work, nothing appears, I had to put the old code of this mod


****NO SUPPORT -> MONEY LOST -> UNINSTALLED ****

JoostinOnline
07-12-2015, 05:55 PM
Are you still planning to release an update?

TheInsaneManiac
12-24-2015, 01:15 AM
I Have tested this version and after I purchased the pro version in your page, and I can see that this version is the 0.3.0 and here you have the 0.3.2.

And in your website https://sellfy.com/p/ifCL/ you write that the version is 3.0 ?????

The code of the navbar template in the pro version does not work, nothing appears, I had to put the old code of this mod


****NO SUPPORT -> MONEY LOST -> UNINSTALLED ****

I can issue a refund if you would like. I am still yet to figure out why I do not receive vBulletin emails for mods I have developed. I get all other emails from vB.org. If you would like shoot me a PM and I can troubleshoot the problem or issue a refund.

Hi, I'm already using this alert but the message continues appearing after the adblock has been desactivated. Why?

Thanks!!

Do you have vBoptimize installed? If so please flush your cache.

Nirjonadda
01-08-2016, 12:43 PM
Where are the setting option for this mod? How i can Adblock Alert Pro New in version 3.0? Only getting download Adblock Alert 0.3.0

Nirjonadda
01-10-2016, 03:49 PM
What the different LITE and PRO version?

adnedarn
10-14-2017, 02:05 PM
I see Usergroup settings on the to do list, so does that mean at this point there is no way to disable this for a usergroup? They are a paid group and all ads are set to not show to them, but this alert still shows up. Clearly I can't use this mod if the alert is showing up to people that already pay for an ad free experience.
Thanks!

Sal Collaziano
10-14-2017, 04:50 PM
I see Usergroup settings on the to do list, so does that mean at this point there is no way to disable this for a usergroup? They are a paid group and all ads are set to not show to them, but this alert still shows up. Clearly I can't use this mod if the alert is showing up to people that already pay for an ad free experience.
Thanks!

Well. One way to think of it is - if there are no ads for them - they could/should turn off their ad blocker. Then they would not see the message.

moonclamp
10-26-2017, 07:18 PM
Are there any options for this? I can't find anything in the ACP

Also, users are reporting a pop up on their Chrome browsers on mobile devices, even without any adblock.

adnedarn
03-04-2018, 11:40 PM
I installed this again, and had to do the template edits myself since the code was not added to the navbar template... so this means I uninstall the product, right? With the code manually entered and the product uninstalled, the yellow/red alert shows even without an adblocker running, and my ads are showing on the page fine. I'll also note that the product was showing my version was 0.3.1 even though the one I downloaded and installed was 0.3.2.
Thanks!

djbaxter
04-21-2018, 01:53 PM
No. If you want it to work correctly, re-import the product XML file.

Cem01
05-08-2018, 10:36 AM
It works great! Thank you

dany_danay
05-12-2018, 12:56 PM
What adblocks detects?

djbaxter
06-09-2018, 09:09 PM
Warning: Uninstalling this product does not undo the automatic template edits (or at least it didn't for me). You still need to go to the bottom of the navbar template and remove the notice.