Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[tk] Unblock Details »»
[tk] Unblock
Version: 1.5.1, by hambil hambil is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.1 Rating:
Released: 03-04-2009 Last Update: 03-15-2009 Installs: 34
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.



This mod forces users to disable ad blocking software for your site in order to view it. It gives them a nice message, in the style of your board.

Features
  • Blocks several common ad blockers, including AdBlock and AdBlock Plus for Firefox.
  • Uses your forums style and colors.
  • All messages can be customized.
  • Supports both full and partial blocking.
  • Integrates with Cyb - PayPal Donate.
  • Customizable by usergroup.

Upgrade
Uninstall the product-antiadblock.xml file from your admincp product manager, then follow the install instructions bellow.

Install
Unzip [tk] Unblock_1.5.1.zip
Upload the files in the upload directory to your forum folder.
Import the product-antiadblock.xml file from your admincp product manager.
By default all usergroups are set to 'no blocking'. Edit your usergroups to set them to the desired type of blocking (full or partial).

Uninstall
Uninstall the product-antiadblock.xml file from your admincp product manager.

Dependencies
This mod makes use of the Template Modification System.

To use it, install the Template Modification System first, then this mod.

Just in case you don't do that, and decide you want to after the fact, I've included a seperate templateedits-antiadblock.xml file you can import using the Template Modification System.

However, you can also manually add the $blockit variable to the bottom of the navbar, just above $ad_location[ad_navbar_below] if you wish not to use the Template Modification System.

Integrating with Cyb - PayPal Donate
When activated, and if the Cyb - PayPal Donate mod is detected, a customizable donate message and donate link are added to the ad blocking message box. Cyb - PayPal Donate can be configured to move a user to a new usergroup when they make a donation. Enable this ability, and move them to a group that has blocking set to 'no blocking'.

Donations (Thank you!):
Vitaly $50
Niber $30

Show Your Support

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

Comments
  #12  
Old 03-06-2009, 05:44 AM
bhanuprasad1981 bhanuprasad1981 is offline
 
Join Date: Apr 2007
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe a simple message will be nice
" hello Guest many features has been disabled for you on this site since you are using ad blocking script/ plugin"
Reply With Quote
  #13  
Old 03-06-2009, 05:52 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think a less aggressive option is also a good idea, and have added it to the list. It would work (potentially well) with the paypal donation integration.
Reply With Quote
  #14  
Old 03-06-2009, 06:00 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bhanuprasad1981 View Post
maybe a simple message will be nice
" hello Guest many features has been disabled for you on this site since you are using ad blocking script/ plugin"
Something like that already exists Limited Guest Viewing -- Motivate Guests to Register. But I will look into integrating with it so this mod can enable or disable it based on ad blocking.
Reply With Quote
  #15  
Old 03-06-2009, 12:37 PM
hscorp hscorp is offline
 
Join Date: Dec 2007
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice code man

also i need it to site can u tell me a source to code it by my self to my site? or any lil tips?
Reply With Quote
  #16  
Old 03-06-2009, 01:33 PM
tansu's Avatar
tansu tansu is offline
 
Join Date: Apr 2006
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It says "Please disable adblock " but I dont have an adblock..
Reply With Quote
  #17  
Old 03-06-2009, 02:10 PM
Sugoi na Sugoi na is offline
 
Join Date: Feb 2009
Location: Tokyo
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tansu View Post
It says "Please disable adblock " but I dont have an adblock..
Your browser does if your computer doesn't.
Reply With Quote
  #18  
Old 03-06-2009, 03:06 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update with may new and requested features.
Reply With Quote
  #19  
Old 03-06-2009, 04:26 PM
quasan quasan is offline
 
Join Date: Jan 2004
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mmh doesn't work for me, because of a js-error

Code:
missing ; before statement
aab_div.innerHTML='<table class....
Reply With Quote
  #20  
Old 03-06-2009, 06:14 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What browser?
Reply With Quote
  #21  
Old 03-06-2009, 06:18 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And did you change the default messages? If there are errors in your html in the messages it could cause problems.
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 06:42 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.05165 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (2)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete