![]() |
[tk] Unblock
http://img23.imageshack.us/img23/1514/tkunblocklogo.gif
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
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 |
Reserved
|
Can this be used for the Firefox adblocker add-on?
|
Quote:
|
Neat modification. Great idea. This however may make some members not want to join & also, some members on a forum may not even know how to disable their ads.
You may want to think about including links to other sites that give guides to removing ads. |
Quote:
|
I don't know if I'm prepared for the firestorm of complaints a plugin like this would generate for me, but I'd definitely find it helpful if it could display how many users it would block if turned on. That would give me a guestimate of the revenue I'm losing, and I could more easily calculate if it's worth the inevitable grief I'd get for turning it on.
|
Nice idea - collecting some stats. I'll add that. I'm also working on adding support to enable or disable by usergroup, and integration with Cyb - Paypal Donate (show a 'donate to re-enable adblock' link in the message).
|
Quote:
May I also suggest that you give some less "aggressive" options. There might be some good reasons to block popups but require display of inline ads. |
The usergroup idea is great, having this only enabled for guests might actually drive up registration.
I also like the idea of a less aggressive option, perhaps not refusing entry to the site but just displaying a message only to adblock users. |
maybe a simple message will be nice :D
" hello Guest many features has been disabled for you on this site since you are using ad blocking script/ plugin" |
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.
|
Quote:
|
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? |
It says "Please disable adblock " but I dont have an adblock..
|
Quote:
|
Update with may new and requested features.
|
mmh doesn't work for me, because of a js-error
Code:
missing ; before statement |
What browser?
|
And did you change the default messages? If there are errors in your html in the messages it could cause problems.
|
I think in the next version I'll install some validation and checks on the input HTML to make sure it won't cause problems.
|
it's calling adframe.js which doesnt exist.....
|
Quote:
|
Quote:
It's corrected now. Thank you! |
Quote:
|
Quote:
|
I installed this, enabled it for unregistered users, logged out, turned on adblock plus, and noticed no difference. It still blocked the ads, but I saw no sign this plugin was functioning.
I uploaded the .js file to the forum directory and manually added the variable to the navbar template. I'm using vb3.8.1 with vbseo (that's the only variable I can think of that might interfere). |
Quote:
Hmmm - tested it - It does not work guests/logged out users. I will get that fixed. Thanks. |
Is it okay to install now? I think this mod is a great idea and want to know if it will work fine at this present time?
|
It works fine, just not for guests/logged out users. It doesn't cause an error, it just does nothing for them. That will be fixed sometime soon probably, so you can wait if you want, or upgrade.
|
I'd like my users to stay; this will cause them to leave.
|
Quote:
I just installed thanks for this hopefully people will start clicking :) in the future is it possible you could do basically the exact same as this but still let guests browse? - just an idea edit: its not working for some reason but I think it might be to do with ad block not working, I blocked the google adsense iframe but nothing changed, am I meant to do something with templateedits-antiadblock.xml? also is the js file definately meant to be in the forums root. |
Quote:
You need to have the variable $blockit at the bottom of your navbar template. If you have the Template Modification System mods installed before you install this product, it will be done automatically for you. Otherwise you can add it manually, or installed the Template Modification System and then use it to import the templateedits-antiadblock.xml file. I hope this helps. |
Glad it's a bug (ie: fixable) and not something in my configuration.
Quick question: does this follow the conventions of vb's secondary usergroup handling? That is, if I have it enabled for one primary group, but a member also belongs to a secondary group with this disabled, will it then be disabled for that user? I hope so, as I currently block ads for paying users via a secondary usergroup, so I'd like those same paying members to have this plugin disabled for them. |
Quote:
|
Quote:
|
I'm juggling three mods all in need of an update release. But it will be done within the next 24 hours I'd guess.
|
Quote:
|
Doesn't work for me 3.8
Have the .js in the right spot and usergroup permissions set. |
What site?
|
All times are GMT. The time now is 04:58 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|