![]() |
Block AdBlock Plus (Kaos)
1 Attachment(s)
Block AdBlock Plus by Kaos What is it? This is a small mod that shows a MessageBox to all persons who use AdBlock Plus and block your advertising. Install 1) Upload the content (antiadblock.js) of compressed file (antiadblock.zip) in the main folder of your forum. 2) Put this code at the bottom in Acp-> Styles & Templates-> Style Manager-> (your style)-> Common Templates-> headinclude: HTML Code:
<script type="text/javascript" src="antiadblock.js"></script> 3) This is the code that you must put in Acp-> Styles & Templates-> Style Manager-> (your style)-> Common Templates-> footer: HTML Code:
<script type="text/javascript"> HTML Code:
<div id="footer_copyright" class="shade footer_copyright"> 4) This is the code that you must put in Acp-> Advertising-> Manage Ads-> (for all your banners) HTML Code:
<div class="AdSense"> Tips: ------------------------------------------------------------------- You can change this part of code as you prefer, it is javascript: HTML Code:
alert("Please Disable AdBlock Plus"); HTML Code:
location.href="usingadblock.html"; Enjoy! If you like it, please support me, click to mark as installed! |
can it full block member viewing if they use adblocker?
|
Tagged. Will take a look 2morrow. Thanks was looking a long time for something like that
|
Quote:
HTML Code:
alert("Please Disable AdBlock Plus"); HTML Code:
location.href="index.php"; |
You currently have this modification tagged.
I will be watching this one very closely http://www.sociallyuncensored.com/fo...ilies/w00t.gif |
Looks good, I know some sites that have this too.
Would you happen to make this mod for vB 3.8.x too? |
This mod works for all sites, forums, blogs, etc.
Follow the steps and will work for vB 3.8.x too. :) |
Works fine. the only Problem is, that u have to add this all the time u made an update/upgrade
And as we all know, this happens to often atm |
Usually when I do an upgrade these templates are not restored, so the changes remain.
|
can you release it as product?
|
At the moment I can not do it as a product in the future but probably release it as such.
|
I would like to see this with an option added so that they only get nagged a few times a day instead of everytime a page loads.
I don't want to scare my users away but I would like to coax them into becoming a paying member to avoid all the ads. :) |
Quote:
I never thought a that thing |
You're not talking about a person, you are talking about at thing. Refer to it as such.
Quote:
|
lol, thx for the correction, thread fixed.
|
Think you can modify it a bit more? To where people using adblock plus can't see links and get informed that it's because they're using the adblock?
|
You can try to follow the Tip, however you can modify the code as you like because this is javascript
|
I would like to have this work so they only see the nag once per visit. (Or maybe have it only pop up on the main forums.php page...)
Any ideas on how to do that? |
Quote:
Either you need to track the user via cookie or user account. The user account your guaranteed to be able to nag X times. With cookies it's tough. Because if they clear them often then you have NO control over X nag times. So you could run this based off adding a cookie |
Adblock users can block antiadblock.js to render this useless.
|
Is there a way that I can make it check the person's registration status before executing the script ?
We display ads to guests, not to members. If a member has adblocker, I don't want to nag them. |
How about making it so that it shows a bar on the top of the forum homepage only?
Anyway to do ths? |
Not if you embed it into the global template so that a .js file isn't called. That way, they would have to block global.php to prevent seeing it.
Quote:
|
Not working correctly if you edit a page
|
Does this block your AdSense code from accidentally clicking on your own ads and generating impressions from you ?
|
All times are GMT. The time now is 03:50 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:
|