Back to vBulletin 4.x Add-ons

Adblock Alert
Mod Version: 0.3.2, by TheInsaneManiac

vB Version: 4.x.x Rating: (5 votes - 4.00 average) Installs: 59
Released: 22 Jun 2013 Last Update: 15 Aug 2013 Downloads: 296
Not Supported Uses Plugins Auto-Template Additional Files Is in Beta Stage  

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

File Type: %1$s Ablock Alert V0.2.0.zip (2.2 KB, 41 downloads)
File Type: %1$s Ablock Alert V0.3.0.zip (2.7 KB, 21 downloads)
File Type: %1$s Ablock Alert V0.3.1.zip (2.9 KB, 32 downloads)
File Type: %1$s Ablock Alert V0.3.2.zip (2.9 KB, 287 downloads)

Screenshots

Click image for larger version
Name:	Adblock.png
Views:	903
Size:	52.7 KB
ID:	145536   Click image for larger version
Name:	Adblock.jpg
Views:	692
Size:	34.0 KB
ID:	145977  

Similar Mods

Add-On Releases Vb Anti ADblock Alert Box vBulletin 4.x Add-ons
Board Optimization Adblock Alert vBulletin 3.7 Add-ons
Add-On Releases Vbulletin Anti ADblock Alert Box Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024