The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Vb Anti ADblock Alert Box Details »» | |||||||||||||||||||||||||||||||
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"> <!-- 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>). <div class="x"><a href=\"/showthread.php?t=450353\"><img title=\"Tutorial zur Deaktivierung von ADblock auf bestimmten Seiten\" src=\"/images/statusicon/cross.png\" alt=\"Close\"></a><\/div><\/div>'; } } } //--> </script> 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:
Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
hunter1985 |
Comments |
#2
|
|||
|
|||
how can I block full website....
|
#3
|
|||
|
|||
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 |
#4
|
||||
|
||||
Danke dir / Thank you
|
#5
|
|||
|
|||
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> |
#6
|
|||
|
|||
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. |
#7
|
|||
|
|||
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? |
#8
|
|||
|
|||
<removed>
|
#9
|
|||
|
|||
sorry it seems there was a missing js start tag
HTML Code:
<script type="text/javascript">
please replace the code. |
#10
|
||||
|
||||
Doesn't work. Try it. Install Adblock plus for firefox, subscribe to the Easylist and block ads.
Ads are blocked. adblock=false. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|