Evaelis
Active member
- Affected version
- 2.1.5
Hello,
In the approval queue, the following code is used when approving a user (actionApprove):
Unfortunately, this behavior does not work well when using a registration filter like StopForumSpam. The user will get to the approbation queue without having his e-mail confirmed. And if you want to approve the user, then his e-mail will get validated. Unless you're an administrator, there is no way to use the forum to approve the user e-mail.
Steps to reproduce:
I don't think it's fair to assume that moderators are able to do e-mail validation manually (sending an email to the user, then what?), especially on big boards. Administrators can reset the validation status but it does require them to use the admin panel
The scenario I would expect is (and the scenario my moderators thought it was):
I'm unsure if this qualifies as a bug (Moderators expect the user to be verified as any other after approval) or a feature request but I hope it is the right forum to post this.
I did not find any thread talking about this.
Is this "as intended"? Is there any way to approve a user and send him a confirmation email at the same time?
Best regards,
In the approval queue, the following code is used when approving a user (actionApprove):
PHP:
$user->user_state = 'valid';
Unfortunately, this behavior does not work well when using a registration filter like StopForumSpam. The user will get to the approbation queue without having his e-mail confirmed. And if you want to approve the user, then his e-mail will get validated. Unless you're an administrator, there is no way to use the forum to approve the user e-mail.
Steps to reproduce:
- Enable SFS
- Create an account with an email like example@gmail.comm
- Account gets blocked by SFS
- Approve the account
- The account is now valid as if the user has verified his e-mail address
I don't think it's fair to assume that moderators are able to do e-mail validation manually (sending an email to the user, then what?), especially on big boards. Administrators can reset the validation status but it does require them to use the admin panel
The scenario I would expect is (and the scenario my moderators thought it was):
- Create an account with an email like example@gmail.comm
- Account gets blocked by SFS
- Approve the account (maybe check a box "force e-mail validation" or enable an option like this in the admin panel)
- Account is now in waiting for email confirmation
- User confirms his email
- The account is now valid as if the user has verified his e-mail address
I'm unsure if this qualifies as a bug (Moderators expect the user to be verified as any other after approval) or a feature request but I hope it is the right forum to post this.
I did not find any thread talking about this.
Is this "as intended"? Is there any way to approve a user and send him a confirmation email at the same time?
Best regards,