Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ablock Alert Details »
Ablock Alert
Mod Version: 5.0, by TheInsaneManiac (Coder/Designer) TheInsaneManiac is offline
Developer Last Online: Aug 2018 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (2 votes - 5.00 average) Installs: 29
Released: 11 Dec 2009 Last Update: 29 Dec 2009 Downloads: 233
Not Supported Uses Plugins Auto-Template Additional Files  

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.) Import the product-adblockalert.xml.
3.) Mark Installed. =]


Upgrading
Import the product and select Allow Overwrite.


Template Edits
There are no template edits, however if nothing is working for you, chances are it can't find what it needs to to perform the automatic template edits. If this is the case, disable template edits for the modification via the AdminCP. Then perform these template edits.

In the headinclude template find:
<!-- CSS Stylesheet -->

After add:
$adblockalertheadinclude


Add the following code to the bottom of your navbar template:
$adblockalertnavbar


Add the following code to the top of your footer template:
$adblockalertfooter


FAQ
Q: Why did is it now working?
A: Make sure you uploaded everything and installed the mod. Also make sure it is enabled in the AdminCP.

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
5.0
Added the ability to do manual template edits.
Fixed an issue with a 4.5 template edit.
Updated the AdminCP screenshot.

4.5
HTML is now allowed in both messages.
Changed the automatic template edit for the footer to something more common.

4.0
A customizable page used for the redirection system is now included with the modification.
Updated the AdminCP screenshot.

3.0
Added a redirection system. By enabling or disabling the cookie system you can have the redirection only happen once, or an unlimited amount of times. Also, choosing index only means the redirect will only happen on the index.
Updated the AdminCP screenshot.

2.7
Added usergroup permissions.
Fixed an issue which caused the alert to not display on all pages when wanted.
Updated the AdminCP screenshot.

2.5
Added an option to disable the cookie system.
Fixed the non caching of two templates.
Updated the AdminCP screenshot.

2.0
Option to change the alert message.
Option to change the alert color.
Option to change the alert alignment.
Option to only display alert on the forum index.
No more template edits

1.5
Complete rewrite.
Removed javascript popup and added a VBulletin style alert.
New Demo
New screenshot.

1.2
Fixed an issue where the alerts would sometimes pop up multiple times. This was due to the cookie relying on VBulletin sessions instead of times.

1.1
Disabled the checks for Internet Explorer since the script is unpredictable in IE.

1.0
Release.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Adblock Alert.jpg
Views:	1099
Size:	117.8 KB
ID:	108092   Click image for larger version

Name:	Adblock Alert AdminCP.jpg
Views:	329
Size:	117.8 KB
ID:	108500  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
BB Code Enhancements Alert Box ti07shadow vBulletin 3.7 Template Modifications 93 14 Nov 2012 22:20
Last Reply Alert: Add last reply alert under new reply button calorie vBulletin 3.6 Add-ons 29 02 Mar 2011 00:27

Comments
  #2  
Old 11 Dec 2009, 17:36
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
very nice idea !
__________________
Egypt News website, latest Egyptian news updated instantly.
Reply With Quote
  #3  
Old 11 Dec 2009, 19:24
saadessa's Avatar
saadessa saadessa is offline
 
Join Date: Jan 2008
Real name: saad essa alfallah
very nice hack >>>>thank you
Reply With Quote
  #4  
Old 11 Dec 2009, 19:45
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
nice idea, but that style on your demo gives me a headache
__________________
Web Developer for hire
Webmaster Tools and Articles
Reply With Quote
  #5  
Old 11 Dec 2009, 19:55
yahooooh yahooooh is offline
 
Join Date: Dec 2009
there are strange issue in your site
i login through facebook connect and it make me as user that already registered in your forums
it is: Arachnothor
and i see that i get all permission he has and also i see the e-mail of him as it in his cp
i think u have bad issue and i advise u to disable facebook connect hack that you use
Reply With Quote
  #6  
Old 11 Dec 2009, 20:35
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Originally Posted by yahooooh View Post
there are strange issue in your site
i login through facebook connect and it make me as user that already registered in your forums
it is: Arachnothor
and i see that i get all permission he has and also i see the e-mail of him as it in his cp
i think u have bad issue and i advise u to disable facebook connect hack that you use
You don't have to login to see it. I just disabled it for now, but thanks. I'll check into that.
Reply With Quote
  #7  
Old 12 Dec 2009, 15:10
Kolbi's Avatar
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Real name: Matthias
I´m using a adblock tool but no message appears visiting your demo.
Reply With Quote
  #8  
Old 12 Dec 2009, 15:11
Nickfrikscape Nickfrikscape is offline
 
Join Date: Aug 2009
nicely done installed.
Reply With Quote
  #9  
Old 12 Dec 2009, 19:40
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Originally Posted by Kolbi View Post
I´m using a adblock tool but no message appears visiting your demo.
As I said in previous posts, I don't have it enabled anymore. I'm working on new features. Possibly instead of an alert popping up, just a notification from VBulletin.

I just posted a different demo, it's the same concept, but it's not running VBulletin. I use it for testing purposes.
Reply With Quote
  #10  
Old 13 Dec 2009, 20:06
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Anyone who uses this mod, I suggest you check ASAP if your site is accessible via Internet Explorer, because my site won't show up using this mod through internet explorer, this is a serious issue which should be fixed or uninstall this mod, I uninstalled this mod and I'm going to try a different one at http://www.vbulletin.org/forum/showt...ight=adblocker

Instead.
Reply With Quote
  #11  
Old 13 Dec 2009, 23:14
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Real name: Corey
Q: Why did is it now working?

What kind of question is that?
Reply With Quote
  #12  
Old 14 Dec 2009, 07:49
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Originally Posted by Bouncer222 View Post
Anyone who uses this mod, I suggest you check ASAP if your site is accessible via Internet Explorer, because my site won't show up using this mod through internet explorer, this is a serious issue which should be fixed or uninstall this mod, I uninstalled this mod and I'm going to try a different one at http://www.vbulletin.org/forum/showt...ight=adblocker

Instead.
Works fine for me in IE, I just think you are trying to advertise a modification that is no longer supported nor working. I'll do some more tests in older IE versions later today when I wake up, but the newest version of IE works fine.

Anyway the modification that you are referring to does not work thanks to the newest version of Adblock patching it. See the thing is, that modification would block access to your website, which is what Adblock frowns apon. So by not blocking access and only showing an alert which displays once, maybe Adblock would be a little more considerate of those websites out there trying to make an honest living. If not then the developer is an ***.
Reply With Quote
  #13  
Old 16 Dec 2009, 07:31
andrew67 andrew67 is offline
 
Join Date: Dec 2001
A bit of feedback.......

I maintain and update a "largeish"( Is that a word ? ) VBulletin forum and have installed your modification today at the owners request. Unfortunately it hasnt been succesful and a number of members without adblocking software have complained of receiving the popup multiple times.

After having a bit of a play around with multiple browsers, I also received it using IE8 even though I had no adblocker , but didnt receive it using Firefox with Adblocker Plus installed and enabled. Unfortunately I am going to have to uninstall or disable it unless a newer version becomes available which is more reliable. This isnt meant to be a criticism, just honest feedback from a large and busy site.

Thanks
Andrew67
Reply With Quote
  #14  
Old 17 Dec 2009, 06:26
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Originally Posted by andrew67 View Post
A bit of feedback.......

I maintain and update a "largeish"( Is that a word ? ) VBulletin forum and have installed your modification today at the owners request. Unfortunately it hasnt been succesful and a number of members without adblocking software have complained of receiving the popup multiple times.

After having a bit of a play around with multiple browsers, I also received it using IE8 even though I had no adblocker , but didnt receive it using Firefox with Adblocker Plus installed and enabled. Unfortunately I am going to have to uninstall or disable it unless a newer version becomes available which is more reliable. This isnt meant to be a criticism, just honest feedback from a large and busy site.

Thanks
Andrew67
This modification uses auto templates. If you are having trouble with parts of the modification, make sure you have all the search related parts found in the modification such as:
<!-- CSS Stylesheet --> (headinclude)
<!-- /content area table --> (footer)
Reply With Quote
  #15  
Old 25 Dec 2009, 08:11
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
1.5 released. No more javascript alert. It now uses VBulletin style notices.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 11:56.

Layout Options | Width: Wide Color: