Jump to content

Download: (EJ33) ad block Blocker


Poison Light

Recommended Posts


if i were really mad i would ban them, how ever i think that maybe the confirmOverlay div could be named dinamycally with, lets say Date(milliseconds) or some dinamic/random string... that would make their work a bit harder...




Lol that is exactly what i'm gonna do :tongue:
Link to comment
Share on other sites

  • Replies 89
  • Created
  • Last Reply

no, not really, maybe a entry field to skip specific users or user-agents, but this is just an idea nothing i need to be honest or even bether, but way more complex, skip check if user made X thread todays?




I will see what i can do.
I gonna go now, will release the next version tonight.
So suggestions are welcome :)
Link to comment
Share on other sites

anyone had problems with the latest version? mine is acting weird:

popup time: 0
nag screen: yes
yes/no buttons send me to the board rules URL


nag screen: no
ok button does not close the dialog :|

also in the HTML there is no random string

i had RE uploaded the hook, the files and rebuilt skin cache, also creared cache...

Link to comment
Share on other sites

I installed the latest version 1.0.3, and have an issue.

When you click on either "I will" or "Never", with nag screen off, it goes to my terms and conditions page (forum rules), instead of the instructions and deny page's.

Not sure why this is happening, the following is the url, that it is going to (not sure if that is intended or not):

index.php?app=forums&module=extras&section=boardrules&do=adblock&a=1



Here is a short video of the issue:

http://www.screencast.com/t/4VjHdZBL

Any advice?

EDIT: Looks like it is not only me!

Link to comment
Share on other sites


anyone had problems with the latest version? mine is acting weird:



popup time: 0


nag screen: yes


yes/no buttons send me to the board rules URL




nag screen: no


ok button does not close the dialog :|



also in the HTML there is no random string



i had RE uploaded the hook, the files and rebuilt skin cache, also creared cache...




Cannot Reproduce. Also checked on the demo board.



I installed the latest version 1.0.3, and have an issue.



When you click on either "I will" or "Never", with nag screen off, it goes to my terms and conditions page (forum rules), instead of the instructions and deny page's.



Not sure why this is happening, the following is the url, that it is going to (not sure if that is intended or not):



index.php?app=forums&module=extras&section=boardrules&do=adblock&a=1



Here is a short video of the issue:

http://www.screencast.com/t/4VjHdZBL

Any advice?

EDIT: Looks like it is not only me!



Fixed
Link to comment
Share on other sites

somehow im still having problems...
the clasick "yes/no" work as expected,
nag screen=yes

but witch nag screen=no i can not close the dialog :S

yes, i upgraded to the .3.1

here you have some source code i was able to find near the end of the page


   <style type="text/css">

#confirmOverlay{

width:100%;

height:100%;

position:fixed;

top:0;

left:0;

background:url('ie.png');

background: -moz-linear-gradient(rgba(11,11,11,0.1), rgba(11,11,11,0.6)) repeat-x rgba(11,11,11,0.2);

background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(11,11,11,0.1)), to(rgba(11,11,11,0.6))) repeat-x rgba(11,11,11,0.2);

z-index:100000;

}

</style>

<script type="text/javascript"> 

  if (typeof jQuery === 'undefined') 

	 document.write(unescape("%3Cscript src='http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js' type='text/javascript'%3E%3C/script%3E")); 

</script>

  <script src="http://www.site.com/public/js/3rd_party/adBlock/blocker.js"></script>

		 <script src="http://www.site.com/public/js/3rd_party/adBlock/advertisement.js"></script>


<script type="text/javascript">


var defaultCookieTime = 0* 60;


jQuery.noConflict();

jQuery(function($){


if($.adblock){

		    if($.cookie('adblockPopup') == null){

				  var activeCookieTime = new Date();

    activeCookieTime.setTime(activeCookieTime.getTime() + (defaultCookieTime * 1000));

    $.cookie('adblockPopup', true, { expires: activeCookieTime, path: '/' });

  $.confirm({

   'title'  : 'Bloqueo de publicidad activo',

   'message' : 'Hemos detectado que estás bloqueando las publicidades en tu navegador<br />Si deseas puedes ayudarnos desactivando esta funcion, ya que nos mantenemos gracias a las ganancias de la publicidad. Gracias&#33;&#33;',

					    'redirect' : '1',

   'buttons' : {

						    'Ok, gracias' : {

	 'action': function(){			


	  window.location = 'http://www.site.com/index.php?app=forums&module=extras&section=boardrules&do=adblock&a=1';


	 }

    },

    'Nunca!' : {						   

	 'action': function(){


	  window.location = 'http://www.site.com/index.php?app=forums&module=extras&section=boardrules&do=adblock';


	 }

									 }

				 }

			   });

			    }

	 }   

});

</script>

  </div>



</body>

</html>




BTW: shouldnt nag screen setting being inverted? :|

Link to comment
Share on other sites

  • 3 weeks later...

(Question from review):


I have a little problem with this mod. I have Google Adsense on my site and I actually ask everyone to disable his Adblocker, except for Donators and Subscribers. Now Google Adsense tells me, that it no longer can crawl the site. Can the author maybe add support for Bots like the Google/Google Adsense bot, to exclude those from the check?




Does anyone else have this problem?
Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...