MattR
Sun 27th May '01, 1:46pm
I would like it for all of my users to have a valid e-mail address. Seems pretty simple because vB e-mails them a URL that they need to click to get in. However what happens if a user then goes into their cp and changes their e-mail to a bogus value?
Nothing.
So what I propose (and what I went and implemented on my forums):
if you set "validate e-mails" to ON in the CP then upon user signup don't ask them for a password.
When you insert their information into the DB then generate a password (e.g. 6 to 10 characters, random letters and numbers which aren't ambiguous, no 1 or I etc.) and e-mail THAT to them instead.
That way the user is already "active" in that vB doesn't need to do anything else; once the e-mail arrives the password is in it and then they log in. Simple and doesn't require an UPDATE user SET usergroupid = X when (if) the user clicks on the link.
This method also removes the problematic "I couldn't click on the link" from some of our less computer-savvy users.
After they are registered if the user then tries to change their e-mail address let them know this will reset their password to a random one (again 6-10 chars, etc.) and then mail it to their new account.
We need this mainly to ensure that if we want to e-mail a user we have an address that we know they at least checked ONCE :) -- if they violate the CS I send them a PM and an E-mail but PMs aren't always checked that often.
Nothing.
So what I propose (and what I went and implemented on my forums):
if you set "validate e-mails" to ON in the CP then upon user signup don't ask them for a password.
When you insert their information into the DB then generate a password (e.g. 6 to 10 characters, random letters and numbers which aren't ambiguous, no 1 or I etc.) and e-mail THAT to them instead.
That way the user is already "active" in that vB doesn't need to do anything else; once the e-mail arrives the password is in it and then they log in. Simple and doesn't require an UPDATE user SET usergroupid = X when (if) the user clicks on the link.
This method also removes the problematic "I couldn't click on the link" from some of our less computer-savvy users.
After they are registered if the user then tries to change their e-mail address let them know this will reset their password to a random one (again 6-10 chars, etc.) and then mail it to their new account.
We need this mainly to ensure that if we want to e-mail a user we have an address that we know they at least checked ONCE :) -- if they violate the CS I send them a PM and an E-mail but PMs aren't always checked that often.