PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Max failed logins drives me MAD,can't login as admin anymore

s2Member Plugin. A Membership plugin for WordPress®.

Max failed logins drives me MAD,can't login as admin anymore

Postby candy » October 1st, 2011, 8:53 am

Hi,
Last development, I can't login as admin anymore!

"Max failed logins. Please wait 30 minutes and try again."
Coming back after 30 minutes does NOT change anything and does NOT let me in!

Where do I reset the d* thing please?

I could not find anything in the database, please tell me where do I have to go (WITHOUT admin access as quoted above!) through ftp, phpmyadmin, to reset that weird bahaviour?

Need to set it to "unlimited IPs" please!
It's **** urgent guys!

Thank you!
User avatar
candy
Registered User
Registered User
 
Posts: 102
Joined: November 16, 2010

Re: Max failed logins drives me MAD,can't login as admin any

Postby Cristián Lávaque » October 2nd, 2011, 4:01 am

Candy, you could try this:

Create the directory/file /wp-content/mu-plugins/s2hacks.php
Code: Select all
<?php
add_action 
("ws_plugin__s2member_before_ip_restrictions_ok""my_function");
function 
my_function ($vars = array ())
{
    
$vars["__refs"]["restriction"] = false/* Do NOT impose restrictions. */
}
?>


I think that'll remove the restriction so you can login and then reset/edit the Unique IP restriction from the Dashboard. WP Admin -> s2Member -> Restriction Options -> Unique IP

I hope it helps.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron