Customize The Lockout Error
Posted:
August 17th, 2011, 1:58 pm
by cdlambden
Hi, if a user has logged in from too many many ips and becomes logged out, how can i change the message they wee when they try to login again? Thanks!
Re: Customize The Lockout Error
Posted:
August 17th, 2011, 3:46 pm
by foxydot
The text is defined in the plugin file s2member/includes/classes/ip-restrictions.inc.php starting on line 68.
Unfortunately, it's a simple echo statement and not tied to a hook or anything where you could alter it without affecting the plugin core, but it is a simple enough change to the plugin core that if you have some coding ability it shouldn't be too hair raising. Just make a note somewhere, because it will likely revert when you upgrade the plugin.
Re: Customize The Lockout Error
Posted:
August 17th, 2011, 9:43 pm
by cdlambden
Thanks! That's exactly what I was looking for.