![]() |
Vb Anti ADblock Alert Box
1 Attachment(s)
https://vborg.vbsupport.ru/external/2011/04/1.jpg?4
This Mod is compatible to ALL Versions of the Vbulletin Software! Vbulletin Anti ADblock Alert Box will show a beautiful alert box below the header which is enabled if the user surfs with any advertisement blocking software. The notification is telling the user to disable his adblocking software on your free website which depends on the sponsor earnings. Background info: Adblock is getting more and more popular at the expense of the webmasters. on my friends website are more then 35 % with adblock enabled before he used this mod. That means ca 35 % less earning! (with this addon and for example trendcounter.com you can easily check how much adblock users surfs with that "websites destroying software") IF this addon stops working because of adblock adds a preventive filter for it. Just Reply here we will fix it asap! (v2 cant be removed by preventive filter. ) __________________________________________________ ________________________ Follow the 4 steps to Install the mod: 1/4. Upload the adframe.js file and the icon images to your server. [adframe.js to your root directory, not forum/ directory] 2/4. ADD this html code to the bottom of the header template (or where you want this alert box to apear) Code:
<div class="a"></div> Code:
<script type="text/javascript"> HTML Code:
.blocked{background: #fff6bf url(/images/statusicon/exclamation.png) center no-repeat;background-position: 15px 50%; /* x-pos y-pos */text-align: left;padding: 5px 30px 5px 45px;border: 2px solid #ffd324; margin-left:auto; margin-right: auto; margin-top:5px;} .x {float: right;margin:-10px -7px 0 0;} 5*/4(optional) Open a thread in your forum where you explain the users how to disable adblock on your page. you can use a image like this: http://i.imgur.com/mUzdG.jpg And how it is important to support this free page with disabling the adblocking software on this page which is depend on the advertisment earnings. Then replace the thread id with the green marked number in the code from the 3/4 step ** English translation (replace with red text in code.): Code:
EXAMPLE.COM IS DEPENDING ON ADVERTISEMENT. <b>PLEASE DISABLE YOUR ADBLOCK</b> TO SUPPORT THIS FREE SITE! <a href="javascript:location.reload()"><img src="http://s1.directupload.net/images/140425/8ls6yqpi.png" alt="Reload" title="Reload Page after that" height="16" width="16"></a> Thank you. Advanced Anti_ADblock_Alert_Box_Full_Site_Block_v2 Blocking NOT FILTERABLE for adblock and Increase earning up to 35%, without ads (tested), for only 30$! if you want to buy it, PM me. Screen shot attached. __________________________________________________ ______________________ UPDATES:
|
how can I block full website....
|
Quote:
1. ADD before the red marked text from step 3/4: Code:
<meta http-equiv=\"refresh\" content=\"0; url= http://example.com/forum/adblock.php\"> 2,5* (optional). set the redirection time (sec.) due replacing the blue marked digit |
Danke dir / Thank you :)
|
It works not on my vb4.1.3
the end of my header looks so <div class="a"></div> <!-- var adblock = true; //--> </script> <script type="text/javascript" src="adframe.js"></script> <script type="text/javascript"> <!-- if(adblock) { var allElements = document.getElementsByTagName('div'); for (var i = 0; i < allElements.length; i++) { if (allElements[i].className == 'a') { allElements[i].innerHTML = '<div class=\"blocked\">DIESE SEITE IST WERBEFINANZIERT UND DAHER KOSTENFREI. BITTE UNTERSTÜTZEN SIE WWW.EXAMPLE.COM MIT DER<strong> DEAKTIVIERUNG IHRES WERBEBLOCKERS AUF WWW.EXAMPLE.COM</strong>. VIELEN DANK! (<img src=\"/images/statusicon/cp_help.gif\" height=\"12\" width=\"12\" alt=\"Help\" title=\"Tutorial zur Deaktivierung von ADblock auf bestimmten Seiten\" /> <a href=\"/showthread.php?t=450353\">WIE? und mehr Info<\/a>). <a href=\"/showthread.php?t=450353\"><div class="x"><img title=\"Tutorial zur Deaktivierung von ADblock auf bestimmten Seiten\" src=\"/images/statusicon/cross.png\" alt=\"Close\"></a><\/div><\/div>'; } } } //--> </script> |
Quote:
do you have added the css to your style and uploaded the adframe.js to your root directory (not forum/ directory) ? it might be that adblock has made a new anti anti adblock filter. please check your adblock filter list if adframe.js is blocked by it. if yes. that means all ok. |
hi,
i do everthing what stand in the first post. But i see no alert to turn of the blocker. adframe.js is on the filter list, what i can do know that it work? |
<removed>
|
sorry it seems there was a missing js start tag
HTML Code:
<script type="text/javascript"> please replace the code. |
Doesn't work. Try it. Install Adblock plus for firefox, subscribe to the Easylist and block ads.
Ads are blocked. adblock=false. |
ok please check adblock plus filter if adblock.js is blocked or not.
if not we have to rename/move it. |
I don't know how to use adblock, so I wouldn't know where to look for exclusions.
They specifically have entries in for our site, though. |
Click strg+shift+V when you have the tab of your board in the browser.
then check in the list if the adframe.js is red marked. if yes its right. |
I have lots of keys infront of me now and in the past going back to 1979, and not one has had strg written on it :confused:
|
oh sry strg is german.
english its CTRL |
Got it working in the end, thank you.
I think the key is for each person running a forum to randomly pick the name for their own .js file of a blocked .js file from the main filter list. And then change this every time it breaks. Takes a couple of minutes to do. |
Nice mod, but I have one problem. I don't want to force my visitors to whitelist my site. Is it possible to make a close button on the notification box and making it not show again if closed once?
|
its close automatically when the user disable adblocking sofware.
its better because to keep the user allways in mind to not use this software. this kind of notifaction is not so aggressiv like other anto adblock tools blockig whole site. i suggest to include the script in the showthread.php not in header. |
You need to fix rule 3, have one box for your language and the other for us english users. Thanks. Which according to google translate should be:
Quote:
|
this google translation is very bad.
ok. i will add an english translation in the next days. |
Hi, sorry but I can't find additional style variables :(
Can you help me find where it is? Thanks. |
goto "styles and templates" >select> "all style variables " >click "go"
and scroll down to additionall style variables. |
Quote:
|
@Armadio dont understand you, please describe it with more details.
|
Thanks, this could come in useful :)
|
thanks Gemma
People and webmasters please rate this pluggin! all the haters try to rate this mod low just because they like adblock and share /recommend it with their firends etc. they dont know what a big damage they are doing with this actions to the free sites and webmasters. so please support share and rate this mod! thank you |
i understand your mod just ask from user to disable disable the ad-blocks,
i want to force the user to disable the ad-blocks otherwise he will not be able to sufer in my site, how do i do that? |
so 'adframe.js' needs to be in a block list of AdBlock to get this mod working?
|
@ karabaja3 yes so you can choose every other filter part from the adblock filter list, if adblock does prevent actions.
ps. please rate and mark as installed guys :) ! |
that's amazing, when i ask questions, they see the name "ofir"=israeli, and they don't answer or just because they don't want to answer me which i don't know why, but it's not the first time in "mod" section.
|
@ ofir24
this question is allready was answered. its not possible in this version of plugin |
I try it again and i see no message. :-(
EDIT, now it run, hmm but not when i use tms. but its ok, nice mod, thanks |
Is there any chance to add background image to the text? Something like adblock icon?
|
I've implemented this code and it does not work with "Do Not Track Plus" ad block software, regardless of how many different things we try.
|
Somehow the redirect does not work on mozilla firefox.
It stays on the site. it does show the message but does not redirect after 2 seconds (the time i entered). In chrome it works..chrome got redirected... Any ideas ? |
UPDATES:
english translation added | 25.04.2014 ____________________ @ Budget101 please test with adblock plus or noscript @emp1re will be fixed on enough requests. |
Anti_ADblock_Alert_Box_Full_Site_Block_v2 added
|
Quote:
|
This stopped working recently and not sure why that is...
http://filesharingtalk.com/forum.php Code:
<div class="a"></div> |
Quote:
https://vborg.vbsupport.ru/external/2015/02/19.jpg This is not unusual I've seen it happen before for similarly named scripts like "ad-blocker.js". You need to rename the javascript file to something else and edit the reference to the name in the script above. It should then start to work again. |
All times are GMT. The time now is 06:02 PM. |
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:
|