WordPress.org

Support

Support » Plugins and Hacks » AdRotate » [Resolved] Adblock Plus

[Resolved] Adblock Plus

  • This plugin is causing issues on my page for users with Adblock Plus with Firefox. Since it disables the ads, it blocks the execution of scripts on the page. I think the issue is with jShowOff. Is there any way to make it so that if users have Adblock Plus enabled, it disables the jShowOff script as well?

    http://wordpress.org/plugins/adrotate/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Arnan de Gans

    @adegans

    AdRotate works just fine alongside AdBlock plus.
    I haven’t noticed any issues with jQuery Showoff and Adblock Plus.

    If you have no dynamic groups you can just disable jQuery Showoff in AdRotate settings if you think it’s an issue.

    I have set the mode to Default and disabled jQuery Showoff in the settings, but it still tries to load jQuery Showoff on the page. Any ideas? Here’s my site:

    http://www.blaserpro.com

    Plugin Author Arnan de Gans

    @adegans

    Matt,

    You should take a look at the site in Safari, all front page text looks mangled and bunched up.
    The library is probably still loaded because you use WP Super Cache. Clear your cache and see what happens then.

    The slider I am using is mangled because the AdRotate plugin stops execution of scripts on my page, which does something funky to the slider. When I disable AdRotate, the slider works fine.

    I have tried clearing the cache. The library is still loaded…

    Not really sure what to do at this point.

    Ahaa! I figured out where the problem was. I had some ad groups that actually weren’t being used. Looking into them, their mode was set to Dynamic, which calls the library. I’m not sure why the plugin would be calling the library anyway, if I’m using a particular group with its mode set to Default. Might be something to look at! Thank you so much for this plugin though 🙂

    Plugin Author Arnan de Gans

    @adegans

    The library is loaded independent of groups. Thats why you turn it on or off in settings.
    Also, because not all plugins/theme honour the correct method of calling such libraries I made it optional to avoid conflicts. (So you can turn them off if a conflict arises).

    I used this line to call group 1:

    <?php echo adrotate_group(1); ?>

    I have set this group’s mode to default.

    However, I have another ad group created with its mode set to Dynamic. But I am not using any PHP to call this ad group. So there should be no reason why the following code is generated on the page:

    <script type="text/javascript">
    jQuery(document).ready(function(){
    	jQuery('#g-2').jshowoff({ links: false, controls: false, effect: 'fade', changeSpeed: 300, speed: 6000, hoverPause: false });
    });
    </script>

    I’m just pointing this out so that other people don’t run into the same problem I did.

    Plugin Author Arnan de Gans

    @adegans

    As I mentioned before, AdRotate works fine alongside adblockers. My safari browser uses them. No conflicts. Nobody else reported issues with this either. And as you can imagine *a lot* of people use an adblocker.

    There must be something else causing this.

    My Safari works just fine too… the problem is with Firefox. There’s no other plugin in my theme that would call the .jshowoff script.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Adblock Plus’ is closed to new replies.
Skip to toolbar