andrew asher
|
| Posted: 10/29/2002, 1:59 PM |
|
Does anyone have any ideas how to handle this?
When a new user registers I want to send an email to confirm that it is the correct email address. Once the user has received the email they have to click on a URL that confirms their registration. If the registration is not confirmed then the user is unable to login (account not enabled untill confirmed)
Thanks in advance
Andrew
|
|
|
 |
Mutsch
|
| Posted: 10/29/2002, 10:31 PM |
|
This is something pretty straight forward to do in CC. Nevertheless it requires custom event code to handle all the emailing and staus updates.
Basically you have two stati for a new member, like 'registered' and 'confirmed'. After registration a new user has the status 'registered'. How to preset this field can be found in the various examples. In the event code for the registration form you send an email to the user (see the GotoCode example) with a url to a form that does the status update. This form has custom code that updates the user entry directly via an sql statement. Nothing else is happening there. A menu form should be enough.
You can add some security code that makes sure that nobody can call this url just by making it up (maybe some random value that needs to be send back)
I hope this helps a little bit. Anything more whould require me to write some code at 8am 
Mutsch
P.S. Look at the various examples and find the various bits & pieces that provide the needed functionality!
|
|
|
 |
|