NATS4 Password Retrieval
NATS can send lost passwords to your members. The password retrieval script asks either a username and email address combination or the NATS member I.D. number, retrieves the user's email from the NATS database, and emails them their password. You can either post directly to this script or you can enable the password retrieval form template.
Automated Password Retrieval
Use either of the following methods to retrieve a member's password using your own script.
Retrieving Passwords by Username and Email
To retrieve the member's password using the member's username and email address, send a HTTP GET to the following URL:
- http://linkdomain/signup/password.php?siteid=~siteid~&username=~username~&email=~email_address~
Make the following replacements:
- Replace linkdomain with your linkdomain
- Replace ~siteid~ with your site's I.D. number.
- Replace ~username~ with the member's username
- Replace ~email_address~ with the member's email address
Optional: Instead of siteid=~siteid~, you can use siteids=~siteids~:
- Replace ~siteids~ with a comma-separated list of siteid you wish to search on. NATS will use the first siteid found on this list to determine which member to send the reminder to.
Retrieving Passwords by Member I.D.
To retrieve the member's password using the member's member I.D., send a HTTP GET to the following URL:
- http://linkdomain/signup/password.php?siteid=~siteid~&memberid=~memberid~
Make the following replacements:
- linkdomain with your linkdomain
- ~siteid~ with your site's I.D. number
- ~memberid~ with the member's I.D. number
Retrieving Passwords through the Built-in Template
Surfers can submit their information to the password retrieval template included with NATS. NATS checks their submission and sends the lost password email if appropriate. Just send your members to the following URL:
- http://linkdomain/signup/password.php
Replace linkdomain with your linkdomain.
Three templates found in your Sites Admin are associated with this feature:
- member_password -- Members enter their username and email on this template, and NATS redisplays this page if there was an error on submission.
- member_password_sent -- Members see this template after the reminder mail is sent.
- mail_member_password -- This is the body of the reminder email.