|
Recaptcha in Lost Password
|
|
12-26-2011, 02:43 PM
(This post was last modified: 12-26-2011 06:20 PM by maozao.)
Post: #1
|
|||
|
|||
Recaptcha in Lost Password
Hello.
Some spambots are attacking my forum sending a lot of Lost PW e-mails, this way my e-mail host block the service for 1 hour. I want to add a re-captcha to that page or to allow a IP to use the Lost PW once in an hour, or anything that can stop them. Someone can help me with that? Thanks. |
|||
|
12-26-2011, 08:59 PM
(This post was last modified: 12-26-2011 09:04 PM by Dennis Tsang.)
Post: #2
|
|||
|
|||
RE: Recaptcha in Lost Password
Ok I haven't tried this out so make sure you have appropriate backups in case it doesn't work:
First you'll need to download the recaptcha libraries from their site. http://code.google.com/p/recaptcha/downl...lib-Latest And put the recaptchalib.php in the inc/ folder of your forum. In member.php, find: PHP Code: $plugins->run_hooks("member_lostpw"); Below it, add: PHP Code: require_once('inc/recaptchalib.php');Find: PHP Code: $plugins->run_hooks("member_do_lostpw_start"); Below it, add: PHP Code: require_once('inc/recaptchalib.php');In your member_lostpw template, find: Code: <tr>Code: <tr>Dennis Tsang :: MyBB Developer Follow me on Twitter: @dennistt |
|||
|
12-26-2011, 09:18 PM
(This post was last modified: 12-27-2011 03:47 AM by maozao.)
Post: #3
|
|||
|
|||
RE: Recaptcha in Lost Password
Worked great!
Thank you so much!!!!! Hello again. Looks like that the spambots are sending the "Resent activation code" e-mail too. There is a way to do something about that too? Thank you again. Sorry, I could fix that using the same way. Thank you! |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help


Recaptcha in Lost Password 

