Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Adblock Alert Details »»
Adblock Alert
Version: 0.3.2, by TheInsaneManiac TheInsaneManiac is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: Board Optimization - Version: 4.x.x Rating:
Released: 06-20-2013 Last Update: 08-14-2013 Installs: 59
Uses Plugins Auto-Templates
Additional Files Is in Beta Stage  
No support by the author.

This is a minor port of my 3.8.x modification found HERE.

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


To purchase and view more information on our pro version of Adblock Alert, please visit my
Products & Services!

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
[S]Auto Template[/S]
Link into default notification system
Usergroup settings
Redirect if ABP detected
[S]Cookie system to only display message once per session[/S]
Color of message
Index only option
Add location of message
[S]New type of alert style[/S]

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
Code:
In the navbar template find:
			{vb:raw notices}
		</ol>
	</form>
</vb:if>
After add:
Code:
<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.

Download Now

File Type: zip Ablock Alert V0.2.0.zip (2.2 KB, 39 views)
File Type: zip Ablock Alert V0.3.0.zip (2.7 KB, 19 views)
File Type: zip Ablock Alert V0.3.1.zip (2.9 KB, 30 views)
File Type: zip Ablock Alert V0.3.2.zip (2.9 KB, 284 views)

Screenshots

File Type: png Adblock.png (52.7 KB, 0 views)
File Type: jpg Adblock.jpg (34.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
davidg, Marcin_J_

Comments
  #12  
Old 08-16-2013, 03:46 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheInsaneManiac View Post
Quote:
Originally Posted by final kaoss View Post
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.
Code:
('<div id="stickymsg">
and the <strong> is not working correctly, I just went with a span style:
Code:
[s]<strong>[/s]<span style="font-weight:bold;">Adblock Plus</span>[s]</strong>[/s]
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)
Reply With Quote
  #13  
Old 08-27-2013, 05:07 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bzcomputers View Post
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.
Code:
('<div id="stickymsg">
and the <strong> is not working correctly, I just went with a span style:
Code:
[s]<strong>[/s]<span style="font-weight:bold;">Adblock Plus</span>[s]</strong>[/s]
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.
Attached Images
File Type: jpg Ad.jpg (46.5 KB, 0 views)
Reply With Quote
  #14  
Old 08-27-2013, 10:31 PM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
CharlieDelta
  #15  
Old 08-27-2013, 11:35 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bzcomputers View Post
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.
Reply With Quote
  #16  
Old 01-09-2014, 02:13 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #17  
Old 03-25-2014, 10:17 AM
EliasAlucard's Avatar
EliasAlucard EliasAlucard is offline
 
Join Date: Nov 2009
Location: Sweden
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent stuff, InsaneManiac, just bought the pro version!
Reply With Quote
  #18  
Old 01-16-2015, 08:29 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bzcomputers View Post
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.
Reply With Quote
  #19  
Old 02-05-2015, 07:05 PM
RealitYYY RealitYYY is offline
 
Join Date: Dec 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...

Code:
<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
Reply With Quote
  #20  
Old 02-17-2015, 06:42 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just an update, ABP has released new list which remove adblock warnings. However this script still works.


Quote:
Originally Posted by RealitYYY View Post
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...

Code:
<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?
Reply With Quote
  #21  
Old 03-22-2015, 08:10 PM
mtauriza mtauriza is offline
 
Join Date: Dec 2014
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks!!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05094 seconds
  • Memory Usage 2,378KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete