NATS4 Password Retrieval
Each NATS Site has a password retrieval page for your members to use in case they forget their NATS password. The script will either use the username and email address or the NATS memberid to grab member information and send an email to the address on file with NATS. You can either use this script in conjunction with your site by posting directly to it, or you can use the template associated with the script to collect the member information.
Posting Directly to password.php
- http://linkdomain/signup/password.php?siteid=~siteid~&username=~username~&email=~email_address~
Replace:- linkdomain with your linkdomain
- ~siteid~ with your site's I.D. number in NATS
- ~username~ with the member's username
- ~email_address~ with the member's email address
OR just use
- http://linkdomain/signup/password.php?siteid=~siteid~memberid=~memberid~
Replace:- linkdomain with your linkdomain
- ~siteid~ with your site's I.D. number in NATS
- ~memberid~ with the member's NATS memberid
Using the Built-in Template
We provide a built-in template where your surfer submits their information, and then NATS will check that information and send the email if appropriate.
To take advantage of this feature, simply send your surfer to:
http://linkdomain/signup/password.php
Replace:
- linkdomain with your linkdomain
There are three templates found in your Sites Admin that are associated with this feature:
- member_password - This template is what your member sees when they first visit password.php. This is where you would collect username/email information. This page is also displayed if there was an error on submission.
- member_password_sent - This template is what your member sees in their browser after the reminder mail is successfully sent.
- mail_member_password - This is the body of the reminder email.