I'd like the user to be able to choose their password on the initial registration screen and then have to validate their account through an email link.
On the logintoboggan settings page there is a checkbox with a name of 'Set Password'. In the description of this checkbox it reads "this setting is merely a mirror of the Require e-mail verification when a visitor creates an account setting". This sentence seems to be false because when I choose 'Set Password' it allows the user to set their own password but it doesn't require email verification*. If I select the 'Require e-mail verification' checkbox in the default Drupal user registration settings then it overrides the requirement for the user to choose their own password. In other words, it is not possible for a user to set their own password AND have to validate their account by email.
*The 'Set Password' option sends out the email message 'Welcome, no approval required'. If you look at the default 'Welcome, no approval required' email sent out by Drupal there is no link/text in the email by which a person can validate their account.
Comments
Comment #1
hunmonk commentedplease re-read the help section for the module. if you enable 'Set password', you should also edit the welcome message as indicated.
this does in fact give you the functionality you want.
Comment #2
pedrospYou can edit and change the "welcome email with no approval" using the help template.
But, I have the same problem, there is no welcome email sent automatically after a registration.
If the user click in his user/edit page, the link send correctly the welcome email to verify the adress and upgrade the user role.
Not very usable: if you assign a pre-registering role, so you want the user to verify his email, right?
Let's send this welcome/validation email during first login, instead of waiting for the user to ask for it.
In the meantime, I will set a trigger/action rule with the same "welcome email" template.
Comment #3
pedrospWell, it tooks me a couple of minutes to remind a related issue with localemail module #633476: No email generated by the module
There is a variable in core to set the sending of welcome email.
In my case, I have just put the following line, at the beginning of the logintoboggan.module (quick and dirty, yes I know...)
variable_set('user_mail_register_no_approval_required_notify', true);