• Resolved spiney

    (@steeltape)


    I got two problem.

    1. it didn’t show on popup instead it spawn under footer.
    2. I choose not to hide message even if visitor decline, but no matter how i pick NO, after saving it will change to YES.

    if you want to see my website pls do leave me your email.. thanks

    https://wordpress.org/plugins/anti-block/

Viewing 15 replies - 1 through 15 (of 15 total)
  • cjd

    (@cjd)

    I am also having the exact same problems im using wordpress 3.8.1, tested it in both firefox and chrome just incase it was how the browser handled it however the outcome is the same in both browsers

    Hello!

    Same problem here. Using WordPress 3.8.1. Any help would be much appreciated.

    Thanks

    Plugin Author Buks Saayman

    (@bukssaayman)

    Hi guys

    I think we’re all experiencing the same problem. Adblock has actually gone so far as to block the whole plugin from loading. Therefore you will never see it working. I have logged a ticket but they aren’t responding. The quick solution is to change the directory the plugin files are stored to something completely random that they would not be able to think to block

    Change:
    http://yourwebisteaddress.com/wp-content/plugins/anti-block/

    To
    http://yourwebisteaddress.com/wp-content/plugins/abXXXXx887/

    Log into your site and enable the plugin again. It will then work.

    Thanks for your reply, Buks Saayman! Your solution did the trick. Very much appreciated! 🙂

    Regards.

    Thread Starter spiney

    (@steeltape)

    nope that didn’t fix the problem where I choose NO iff visitors decline and it still saved as Yes..

    spiney,

    I checked, and when you choose NO and save, just the select option changes to YES. The setting actually works as it should when browsing the site.

    Same happens when you chose YES and save, and then the select option shows NO.

    It may be a bug in the config page, but the plugin is working as expected when you visit the site.

    Hope it helps.

    Best regards.

    Thread Starter spiney

    (@steeltape)

    It doesn’t work to me , as the popup close down users can browse away without closing adblock off. making me lose revenue..

    I did check out the coding and found this part

    public function do_not_nag_callback() {
    printf(
    ‘<select id=”do_not_nag” name=”anti_block_settings[do_not_nag]”>
    <option value=”0″ %s>No</option>
    <option value=”1″ %s>Yes</option>
    </select>’,
    isset($this->options[‘do_not_nag’]) && $this->options[‘do_not_nag’] == 1 ? ‘selected’ : ”,
    isset($this->options[‘do_not_nag’]) && $this->options[‘do_not_nag’] == 0 ? ‘selected’ : ”
    );
    }

    From my noob understanding, I have no knowledge in php whatsoever but doesn’t this look like even if we pick NO or Yes the setting still choose to Do not nag?

    spiney,

    I’m sorry that it’s still not working for you. The plugin works just fine in my sites (in both FF and Chrome).

    I’m no expert in php, but I’m almost sure that piece of code refers only to the config page.

    Probably it would be better to wait for the author’s reply to clarify this, but in the meantime, check your other installed plugins for there may be one that is conflicting.

    Best regards.

    Thread Starter spiney

    (@steeltape)

    Hey Aye, I see now what you meant by working.

    In the front end if users/readers choose to click I will disable adblock, the popups will keep on showing and nag till users actually disabled adblock.

    But the twist is, if people choose the other option – I wont disable. The popup will go away and doesn’t harass users.

    When I test this plugin before I only choose “will not disable” , I didn’t test with “I will disable”, because my thought is if I were readers and I wont back down easily for whatever this website asked me to.

    Conclusion, yes it works if readers choose want to disable but didn’t actually disable their plugin. and no it doesn’t work when readers choose no.

    So Aye, did you check with choosing “not” to disable on front end?

    Dear spiney,

    I think you misunderstood the way this plugin is intended to work. What it does is simply showing a warning notice, with a suggestion to turn the adblock off. It’s not intended to restrict all site access for users with adblock. From my personal POV, I do not want that, because I prefer to have the traffic anyway. And probably a visitor who uses adblock would not bother clicking any ad even if it’s displayed.

    With this plugin, when the visitor chooses not to disable adblock, they can either:

    a. surf the actual page they loaded, and see the popup again in every other page they open – when “If the visitor declines to disable ad-blocker, hide the pop-up until his next visit” is set to NO, or

    b. keep surfing the whole site without seeing the popup again, until their next visit (session) – when “If the visitor declines to disable ad-blocker, hide the pop-up until his next visit” is set to YES.

    Maybe what you want is not giving the visitor the choice. Either they turn the adblock off, or leave the site, right? Well, in that case, the alternative is hiding the “Will not disable” button. Add this line to your theme style.css:

    #ab_stop_nagging { display: none; }

    There you have the popup AND no choice. Just the “I will disable” button.

    Hope this helps.

    Best regards.

    Thread Starter spiney

    (@steeltape)

    Hi Aye thanks for the code but I think you misunderstood what I just explained.

    It’s not intended to restrict all site access for users with adblock.

    Currently on my website with this plugin, if a user choose to ” yes I will disable adblock” the page keep refreshing itself and popups of warning notice asking reader to disable keep coming up non stop until we really did disable adblock.

    But if a reader decided to “ignore this msg” , no popups, no more warning, nada.

    if the plugin really intend to not restrict all site access, why did it keep popping up and refreshing page checking if reader did disable adblock? it kinda contradicts with what you said about not restricting above.

    Also, why did it bug readers who choose to disable but not those who choose to ignore it ? <- this is my question to Buks Saayman, the dev.

    Plugin Author Buks Saayman

    (@bukssaayman)

    Hi Spiney
    Let me first address the problem with regards to the plugin not working. The problem was caused by AdBlock actually blocking the CSS and JavaScript for the plugin itself. I have recently released an update that fixes this, please update and test.

    With regards to your question. You have three options.
    1) You ask them to disable AdBlock, they say no, and each page they load, you ask them again.
    2) They say yes they have, upon which the site reloads and tests, if it finds that Adblock is off, the popup goes away. If Adblock isn’t disabled, the plugin alerts them via popup.
    3) You enable the “do not nag” setting in admin which asks them only once, if they say no, they won’t be asked again until they leave your site and come back. (session based)

    Thread Starter spiney

    (@steeltape)

    for option 1, does it mean readers will be able to view the page and the question will only be asked again after readers click to other page then the one they are on?

    Because that’s what I did, open Page A, choose option 1. Page A refreshed, but it no longer asked the question. Click on Page B and anti-adblock notice pops up.

    Tested with the latest version.

    My main concern is it did not ask the question again on the same page.

    Plugin Author Buks Saayman

    (@bukssaayman)

    Hi Spiney

    What you are describing is expected behaviour. If you are on a page and you click the “no” button, the page refreshes and the popup is gone. If you click the browser refresh button, please note the message your browser gives you, Firefox says “To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.” Do you know what this means? Do you know how the internet works? You’re basically posting the contents of the form again, I.E telling the browser to redo your last action, which was choosing the “no” option.

    Thread Starter spiney

    (@steeltape)

    Hi Saayman,

    I’m using the latest version of firefox 33.1 and did not received any message as you said ” “To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.”

    However now I understand that it is the settings of your plugin that it wont ask again after clicking No.

    Thank you for your time in replying.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘bugs and not working properly’ is closed to new replies.