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

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

Category: Board Optimization - Version: 3.8.x Rating:
Released: 12-10-2009 Last Update: 12-28-2009 Installs: 32
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

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

File Type: zip Ablock Alert 4.0.zip (4.3 KB, 50 views)
File Type: zip Ablock Alert 4.5.zip (4.4 KB, 35 views)
File Type: zip Ablock Alert 5.0.zip (4.9 KB, 244 views)

Screenshots

File Type: jpg Adblock Alert.jpg (117.8 KB, 0 views)
File Type: jpg Adblock Alert AdminCP.jpg (117.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-13-2009, 10:14 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Q: Why did is it now working?

What kind of question is that?
Reply With Quote
  #13  
Old 12-14-2009, 06:49 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 https://vborg.vbsupport.ru/showthrea...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
  #14  
Old 12-16-2009, 06:31 AM
andrew67 andrew67 is offline
 
Join Date: Dec 2001
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #15  
Old 12-17-2009, 05:26 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #16  
Old 12-25-2009, 07:11 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1.5 released. No more javascript alert. It now uses VBulletin style notices.
Reply With Quote
  #17  
Old 12-25-2009, 10:56 AM
cosy cosy is offline
 
Join Date: Jul 2007
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can u add a option to redirect user to donate/subscription page

this for vb4 will be awesome
Reply With Quote
  #18  
Old 12-25-2009, 02:44 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cosy View Post
can u add a option to redirect user to donate/subscription page


this for vb4 will be awesome
Done with the redirection system; however for 4.0 I can't do unless someone has a 4.0 board I can use, cause I don't have the money for the upgrade.
Reply With Quote
  #19  
Old 12-25-2009, 11:25 PM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything uploaded correctly, and imported. (latest version also) Nothing is showing up. I would really like this to work. Thanks!
Reply With Quote
  #20  
Old 12-26-2009, 02:40 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Taurus1 View Post
Everything uploaded correctly, and imported. (latest version also) Nothing is showing up. I would really like this to work. Thanks!
What is the link to your site? You are aware that by default the modification is disabled for admins, super mods, and mods right?
Reply With Quote
  #21  
Old 12-26-2009, 03:15 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheInsaneManiac View Post
What is the link to your site? You are aware that by default the modification is disabled for admins, super mods, and mods right?
Yes, I am aware of that! I will enable it again now. Here is the link:

http://creativx.net/forums/
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:31 PM.


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.07252 seconds
  • Memory Usage 2,338KB
  • 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
  • (5)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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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