When an admin adds user accounts, there should be a checkbox to 'email user account details to new user' so that the new users can see their new login info. Otherwise, it is quite tedious for the for the admin to have to do this.
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | user.module_49.patch | 8.29 KB | m3avrck |
| #15 | user.module_38.patch | 8.62 KB | m3avrck |
| #13 | user.module_36.patch | 8.61 KB | m3avrck |
| #7 | user.module_21.patch | 8.04 KB | m3avrck |
| #6 | user.module_20.patch | 4.76 KB | m3avrck |
Comments
Comment #1
m3avrck commentedOk here's a patch which allows this. When creating a new account while logged in as an admin of users, there is a new checkbox option to notify the user of the new account. This *really* helps out a lot, as all of the Drupal sites I create only the admin can create accounts and everyone needs to know their login (30+ people per site).
Comment #2
Chris Johnson commentedPatch looks good, and this is a needed feature. Have not installed and tested it yet, but hope to get to that tomorrow.
Comment #3
Souvent22 commentedPatched this against head, and works great. created 3 users, and all 3 got their emails. def. need this patch.
Comment #4
killes@www.drop.org commentedThis feature is needed, it always annoys me when I have to compose a separate mail to the users after creating their account. I am wondering if we whould have an extra mail text for this case.
Comment #5
DriesK commentedI agree with killes. This feature is really needed, but we need a different body text for the email. Now it starts with 'thank you for registering at %site', but the user didn't register himself, and may even not have been aware that an admin was going to register him. I think it should say something like 'An administrator of %site created a new account for you blahblah...'.
Comment #6
m3avrck commentedkilles and DriesK, good catch.
Here's a new patch with slightly tweaked email subjects and bodies for accounts created by admins.
Comment #7
m3avrck commentedUpdated patch after talking with Matt.
Comment #8
UncleD commentedTested this user.module_21.patch and it worked properly as described. user received email, was able to login through the url that came through the email, all is groovy.
Comment #9
venkat-rk commentedAny chance this great feature will also be tagged for the 4.6 branch of user.module?
Comment #10
Tobias Maier commentedshort answer: no
because we dont add new features to 4.6 only to 4.7 - the current development version
Comment #11
ronsens commentedI've made a very dirty hack for 4.6.5
This adds no notify-option to user admin menu, I just put the part for new user registration into the section where admin creates new account:
After line (1320)
I've just added
So every time an admin creates a new account, the welcome message for new users will be sent to the new user. Works for me, but isn't elegant.
Comment #12
m3avrck commentedThis patch still applies to CVS and works great, seems like a very useful feature and I need it on a bunch of sites!
Comment #13
m3avrck commentedKeeping up with HEAD.
Comment #14
samo commentedHey m3avrck,
Thanks for maintaining this patch. It is definitely a major add for many administrators.
This patch works well for me. The only changes I could see making would be text changes on the admin/settings/user page.
"Subject of welcome e-mail (created by administrator)" ==> How about "user created by administrator"?
The subject of the message by default is "Account details for %username at %site (admin created)". How about something like "An administrator created an account for you at %site"?
Comment #15
m3avrck commentedsamo great idea! Here's a new patch with updated text.
Comment #16
gerhard killesreiter commenteddoesn't apply anymore.
Comment #17
m3avrck commentedUpdated patch against HEAD.
Comment #18
killes@www.drop.org commentedapplied
Comment #19
(not verified) commented