Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When a new user is awaiting administrator approval, he still receives the same message as normal sign-up. This is very confusing for the new user who might think that the account is approved already and the email is announcing it. Two ways to improve this:
1. Just delay that email until the administrator approves the application.
2. Send two emails, one as a feedback sign-up request received / approval pending and another one that is send when the administrator has approved the request with login info.
Comments
Comment #1
webchickThere actually is a "pending approval" email which you can edit under admin/settings/user to not look the same as the "I just created an account" e-mail. But I agree that "normal" e-mails should be sent out when the user is actually approved. The tricky part here is that there's no way to determine when a blocked user moved to active signifiies approval by an admin or whether you've just unbanned a user, to my knowledge..?
Comment #2
LAs4n CreditAttribution: LAs4n commentedStill a feature request?
Moving to cvs.
Comment #3
ñull CreditAttribution: ñull commentedEven though you can change the text of the message, the administrator still needs to warn the user manually that he is approved. There is no automatic facility for that in Drupal.
The problem of distinguishing can be solved when you allow a user to have a deactivated "Authenticated user" role. You then get the following states:
1. User anonymous never signed up, never logged in. No user record
2. User signed up but not yet approved by Admin: User is Active but "Authenticated user" role is not set so he has no other roles then an anonymous user.
3. User signed up and approved by Admin: User is Active, "Authenticed user" role is active (and any other role the Admin activated ). Turning on "Authenticated user" role should trigger the warning message that the user was approved.
4. User signed up or not, but Admin decided to block him: User is inactive, the roles can be active but became without effect. A block message can be sent when there was a change from Active to Blocked.
With this scheme Active / Blocked takes on a unique meaning of being banned from login or not, while the (undeletable default) role "Authenticated user" takes on the meaning of being approved or not.
So with this solution I think it is still a valid feature request. Please keep it.
Comment #4
valthebaldComment #7
dpiBoth Drupal 7 and 8 have:
Account details for [user:name] at [site:name] (approved) and Account details for [user:name] at [site:name] (pending admin approval) templates.