Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #22  
Old 03-24-2015, 03:02 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtauriza View Post
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.
Reply With Quote
  #23  
Old 03-31-2015, 10:32 AM
g00gl3r g00gl3r is offline
 
Join Date: Sep 2005
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't detect Avast Antivirus Adblock.

Any way to get it to work with that?
Reply With Quote
  #24  
Old 04-07-2015, 05:46 PM
Spika's Avatar
Spika Spika is offline
 
Join Date: Jun 2006
Location: Marbella - Spain
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ****
Reply With Quote
  #25  
Old 07-12-2015, 05:55 PM
JoostinOnline JoostinOnline is offline
 
Join Date: Feb 2015
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you still planning to release an update?
Reply With Quote
  #26  
Old 12-24-2015, 01:15 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
Originally Posted by mtauriza View Post
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.
Reply With Quote
  #27  
Old 01-08-2016, 12:43 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #28  
Old 01-10-2016, 03:49 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What the different LITE and PRO version?
Reply With Quote
  #29  
Old 10-14-2017, 02:05 PM
adnedarn adnedarn is offline
 
Join Date: Jan 2007
Location: Tucson, Arizona
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #30  
Old 10-14-2017, 04:50 PM
Sal Collaziano Sal Collaziano is offline
 
Join Date: Dec 2001
Location: Royal Palm Beach, Florida
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adnedarn View Post
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.
Reply With Quote
  #31  
Old 10-26-2017, 07:18 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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 02:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06435 seconds
  • Memory Usage 2,355KB
  • 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
  • (2)bbcode_code
  • (4)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
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)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