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
  #52  
Old 03-16-2009, 03:44 PM
Doug Nelson Doug Nelson is offline
 
Join Date: Nov 2001
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I suspect it's vbseo causing the problem, since your plugin works on sections of my site where vbseo doesn't operate. I had to uninstall, but I understand you can't be expected to take all configurations into consideration.
Reply With Quote
  #53  
Old 03-16-2009, 06:19 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, if I know it's an SEO problem that helps. I can look into it with that in mind. Thanks.
Reply With Quote
  #54  
Old 03-16-2009, 06:39 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

amazing mod
Reply With Quote
  #55  
Old 03-18-2009, 07:08 PM
Detomah's Avatar
Detomah Detomah is offline
 
Join Date: Sep 2003
Location: South Shields UK
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged for now. Definately interested, but will see how things go with possible vbseo compatibility before installing, having read what Doug said earlier in the thread.
Reply With Quote
  #56  
Old 03-18-2009, 07:22 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks to a generous donation this mod has found it's way back toward the top of my pile

I plan to check out possible vbseo issues, as well as strength the blocking via a few methods I've been playing with.
Reply With Quote
  #57  
Old 03-19-2009, 06:12 AM
Doug Nelson Doug Nelson is offline
 
Join Date: Nov 2001
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And statistics?
Reply With Quote
  #58  
Old 03-19-2009, 07:00 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, and stats

This is really pretty interesting. I've been playing with all kinds of ideas, and found a few that seem to work well. Of course, for a skilled user it's always a losing battle, but we can make it hard enough to not be worth it for joe/jane user I think.
Reply With Quote
  #59  
Old 03-20-2009, 09:37 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, this has gotten very interesting. I've stumbled on something that seems to be working, I'm just getting out the kinks.

The long and short is, I piggy back on the vbulletin_global.js javascript file to re-insert the removed google ads via ajax. This only works if you are using vbulletin's built in adsense support. But, as far as I can tell it's unblockable (without shutting down all javascript and ajax for the entire forum) - even using noscript.
Reply With Quote
  #60  
Old 03-21-2009, 04:23 AM
Doug Nelson Doug Nelson is offline
 
Join Date: Nov 2001
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now that's seriously cool. And a much more PC solution than blocking users.
Reply With Quote
  #61  
Old 03-21-2009, 08:23 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 Doug Nelson View Post
Now that's seriously cool. And a much more PC solution than blocking users.
Yeah, except it doesn't work *sigh*

lol

Back to the drawing board. I'm learning a lot about ad blocking software at least.
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 10:56 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.04797 seconds
  • Memory Usage 2,305KB
  • 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_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
  • (4)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