Difference between revisions of "NATS4 Password Retrieval"
m |
TMMStephenY2 (talk | contribs) |
||
Line 3: | Line 3: | ||
}} | }} | ||
− | [[NATS]] | + | [[NATS]] has the ability to send lost passwords to your members. The password retrieval script you will be using will ask for their email address, as well as a NATS [[ID Numbers|member I.D. number]]. It will then retrieve the user's email from the NATS database and email them their lost password. |
+ | |||
+ | If you wish to use this password retrieval script you can either post directly to the script, or enable the password retrieval form template. | ||
== Automated Password Retrieval == | == Automated Password Retrieval == | ||
− | + | You can use either of the following methods to retrieve a member's lost password with your own script. | |
− | |||
=== Retrieving Passwords by Username and Email === | === Retrieving Passwords by Username and Email === | ||
− | + | If you would like to retrieve the member's password by using their username and email address, you can sent a HTTP GET to the following URL: | |
− | address, | ||
− | + | <pre>http://linkdomain/signup/password.php?siteid=~siteid~&username=~username~&email=~email_address~</pre> | |
− | Make the following replacements: | + | Make the following replacements in the above URL to set the variables: |
* Replace ''linkdomain'' with your [[Link Domain|linkdomain]] | * Replace ''linkdomain'' with your [[Link Domain|linkdomain]] | ||
Line 24: | Line 24: | ||
'''Optional:''' | '''Optional:''' | ||
Instead of siteid=~siteid~, you can use siteids=~siteids~: | Instead of siteid=~siteid~, you can use siteids=~siteids~: | ||
− | * | + | * If you use this, replace ''~siteids~'' with a comma-seperated list of siteids you wish to search. [[NATS]] will use the first siteid found on this list in order to determine which member it sends the reminder email to. |
=== Retrieving Passwords by Member I.D. === | === Retrieving Passwords by Member I.D. === | ||
− | + | If you want to retrieve the member's password by using their member I.D., as opposed to their username and password, you can send a HTTP get to the following URL: | |
− | HTTP | ||
− | + | <pre>http://linkdomain/signup/password.php?siteid=~siteid~&memberid=~memberid~</pre> | |
− | Make the following replacements: | + | Make the following replacements in the above URL to set the variables: |
− | *''linkdomain'' with your [[Link Domain|linkdomain]] | + | * Replace ''linkdomain'' with your [[Link Domain|linkdomain]] |
− | *''~siteid~'' with your site's I.D. number | + | * Replace ''~siteid~'' with your site's I.D. number |
− | *''~memberid~'' with the member's I.D. number | + | * Replace ''~memberid~'' with the member's I.D. number |
== Retrieving Passwords through the Built-in Template == | == Retrieving Passwords through the Built-in Template == | ||
− | + | If you do not want to use automated password retrieval scripts, you can instead have [[Ct#Surfer|surfers]] submit their information to the password retrieval template in [[NATS]]. NATS will then check the information in their submission, and send the member a lost password email if the credentials are correct. To direct your members to this form, send them the following URL: | |
− | template | ||
− | the lost password email if | ||
− | following URL: | ||
− | + | <pre>http://linkdomain/signup/password.php</pre> | |
− | + | Simply replace ''linkdomain'' with your linkdomain. | |
− | Three templates found in your [[Sites Admin]] are associated with this feature | + | Three templates found in your [[NATS4 Sites Admin|Sites Admin]] are associated with this password retrieval feature. To access these templates, select the site you wish to affect and click the "Edit Site Templates" icon. |
*''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'' -- Members enter their username and email on this template, and NATS redisplays this page if there was an error on submission. | ||
+ | [[File:Member password.PNG|450px|Member Password Template]] | ||
*''member_password_sent'' -- Members see this template after the reminder mail is sent. | *''member_password_sent'' -- Members see this template after the reminder mail is sent. | ||
+ | [[File:Member password sent.PNG|450px|Member Password Sent Template]] | ||
*''mail_member_password'' -- This is the body of the reminder email. | *''mail_member_password'' -- This is the body of the reminder email. | ||
− | + | [[File:Mail member password.PNG|450px|Mail Member Password Template]] | |
== See Also == | == See Also == | ||
* [[ID Numbers|How to find your site I.D. number]] | * [[ID Numbers|How to find your site I.D. number]] |
Revision as of 16:43, 22 July 2010
NATS has the ability to send lost passwords to your members. The password retrieval script you will be using will ask for their email address, as well as a NATS member I.D. number. It will then retrieve the user's email from the NATS database and email them their lost password.
If you wish to use this password retrieval script you can either post directly to the script, or enable the password retrieval form template.
Automated Password Retrieval
You can use either of the following methods to retrieve a member's lost password with your own script.
Retrieving Passwords by Username and Email
If you would like to retrieve the member's password by using their username and email address, you can sent a HTTP GET to the following URL:
http://linkdomain/signup/password.php?siteid=~siteid~&username=~username~&email=~email_address~
Make the following replacements in the above URL to set the variables:
- 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~:
- If you use this, replace ~siteids~ with a comma-seperated list of siteids you wish to search. NATS will use the first siteid found on this list in order to determine which member it sends the reminder email to.
Retrieving Passwords by Member I.D.
If you want to retrieve the member's password by using their member I.D., as opposed to their username and password, you can send a HTTP get to the following URL:
http://linkdomain/signup/password.php?siteid=~siteid~&memberid=~memberid~
Make the following replacements in the above URL to set the variables:
- Replace linkdomain with your linkdomain
- Replace ~siteid~ with your site's I.D. number
- Replace ~memberid~ with the member's I.D. number
Retrieving Passwords through the Built-in Template
If you do not want to use automated password retrieval scripts, you can instead have surfers submit their information to the password retrieval template in NATS. NATS will then check the information in their submission, and send the member a lost password email if the credentials are correct. To direct your members to this form, send them the following URL:
http://linkdomain/signup/password.php
Simply replace linkdomain with your linkdomain.
Three templates found in your Sites Admin are associated with this password retrieval feature. To access these templates, select the site you wish to affect and click the "Edit Site Templates" icon.
- 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.