Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Vb Anti ADblock Alert Box Details »»
Vb Anti ADblock Alert Box
Version: 1.01, by Ghostt Ghostt is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.x.x Rating:
Released: 04-22-2011 Last Update: 04-25-2011 Installs: 39
Template Edits
Additional Files Translations  
No support by the author.





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>
3/4. ADD the following Code to bottom of the header template (to show alert on every page) or to the showthread template (If you want to show alert only on thread pages). You can edit the red marked text and ad english translation from the end of this post.
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&Uuml;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>
4/4. ADD this CSS rules to the bottom of "addtitional Style variables" of your Style.

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;}
______________________________OPTIONAL____________ _______________________

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:
  • Anti_ADblock_Alert_Box_Full_Site_Block_v2 | 23.05.2014
  • English translation added | 25.04.2014

Download Now

File Type: zip VB.Anti.adblockalert.box.addon.zip (189.2 KB, 481 views)

Screenshots

File Type: jpg screenshot.jpg (30.8 KB, 0 views)
File Type: jpg Anti_ADblock_Alert_Box_fullsite_block_v2.jpg (37.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
hunter1985

Comments
  #22  
Old 07-27-2011, 01:32 AM
matthew1111 matthew1111 is offline
 
Join Date: Jun 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, sorry but I can't find additional style variables

Can you help me find where it is? Thanks.
Reply With Quote
  #23  
Old 07-28-2011, 03:44 AM
Ghostt Ghostt is offline
 
Join Date: Oct 2009
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

goto "styles and templates" >select> "all style variables " >click "go"
and scroll down to additionall style variables.
Reply With Quote
  #24  
Old 10-12-2011, 04:09 PM
Armadio Armadio is offline
 
Join Date: Oct 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ghostt View Post
goto "styles and templates" >select> "all style variables " >click "go"
and scroll down to additionall style variables.
It's only my problem or this page is tagged "obsolete" and don't have "save" button?
Reply With Quote
  #25  
Old 11-28-2011, 04:39 PM
Ghostt Ghostt is offline
 
Join Date: Oct 2009
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Armadio dont understand you, please describe it with more details.
Reply With Quote
  #26  
Old 11-28-2011, 05:48 PM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, this could come in useful
Reply With Quote
  #27  
Old 11-28-2011, 05:56 PM
Ghostt Ghostt is offline
 
Join Date: Oct 2009
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #28  
Old 12-23-2011, 12:01 PM
ofir24 ofir24 is offline
 
Join Date: Oct 2011
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #29  
Old 12-27-2011, 10:12 PM
karabaja3's Avatar
karabaja3 karabaja3 is offline
 
Join Date: Jan 2008
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so 'adframe.js' needs to be in a block list of AdBlock to get this mod working?
Reply With Quote
  #30  
Old 01-03-2012, 07:03 PM
Ghostt Ghostt is offline
 
Join Date: Oct 2009
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ 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 !
Reply With Quote
  #31  
Old 01-04-2012, 05:25 PM
ofir24 ofir24 is offline
 
Join Date: Oct 2011
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

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 08:47 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.11065 seconds
  • Memory Usage 2,338KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (1)bbcode_html
  • (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
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete