WordPress.org

Ready to get started?Download WordPress

Forums

ecSTATic
[resolved] Got blocked (403) as admin (6 posts)

  1. rwilki
    Member
    Posted 1 year ago #

    I thought this was a perfect plugin. I was logged into the site and was activating a backup on my site and it triggered a 403 status on me. I had to login and manually remove the plugin. I'd love to reinstall but not sure if it's working right for me.

    Thanks,
    Bob

    http://wordpress.org/extend/plugins/ecstatic/

  2. MikeSoja
    Member
    Plugin Author

    Posted 1 year ago #

    It's likely you tripped the "Way Too Fast" blocking option, ie., too many accesses over a short period of time. See the last set of options on the Options page and up the "WTF sample" size to 10, or more. If you were blocked that way, a wait of 15 minutes would have left you unblocked.

    I've repeatedly locked myself out the same way.

    I'll try to add a "Don't block Admins" option, or just hard code it.

  3. rwilki
    Member
    Posted 1 year ago #

    that would be great if you could add this - or - could you post the code I would need to hardcode the plugin to add an option to "not block admins"

    I know I can increase the sample size but it would be cooler if as admin, I would be exempt.

    Thanks,
    Bob

  4. MikeSoja
    Member
    Plugin Author

    Posted 1 year ago #

    If you want to do it, yourself...

    In the file - ecstatic.php - in the function ecstatic_new_hit() which begins around like 540 or so (I've modified some of the functions since last release), the last "if" statement...

    Change it from...

    if ($ecstatic->score > 9) {

    To...

    if ($ecstatic->score > 9 AND !(current_user_can('administrator'))) {

    No admins will ever be blocked.

    I'll probably leave it that way in the next release.

    Thanks for the idea!

  5. MikeSoja
    Member
    Plugin Author

    Posted 1 year ago #

    Oops. "like 540" == "line 540"

  6. rwilki
    Member
    Posted 1 year ago #

    So far so good Mike. Thanks,
    Bob

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.