I have installed realname and it's work well. However I have just been informed by a new use that the username in their 'new account' email wasn't working.
It turns out that the username given in the email was not the username I had assigned them, but their real name presumably overridden by the realname module.
Am I doing something wrong or is this a bug?
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | realname_user_activate.patch | 1.03 KB | nancydru |
Comments
Comment #1
nancydruThis is going to be a tough one because my Windows test site doesn't send emails...
Comment #2
nancydruI just made a small change which might help with this. Please test the new -dev version after midnight GMT.
Comment #3
break9 commentedI would like the realname to be used as the username when the account is created is this possible?
Comment #4
mbiddlecombe commentedThis dev version seems to have fixed the problem. Thank you.
Comment #5
nancydruGreat. Thanks for the update.
Comment #6
robin.crosson commentedHi,
When the initial "Welcome" email is sent out the username is used. (i.e. they are anonymous users)
However when an "Account Activation email" is sent out it uses Realname not username. (They are now authenticated users)
Any ideas on a fix?
Robin
Comment #7
nancydruYes, it is probably a different form name. It's probably as simple as adding a new form name in a "case" statement.
Comment #8
nancydruWell, I can't track down where that email gets sent, so I can't begin to find a fix.
Comment #9
nancydruWell, there's more than one way to do things in Drupal. Since I couldn't find where it was coming from, I just grabbed it before it gets sent. Please try this patch and see if it resolves your problem. In case you aren't sure how to test it, you can block then unblock a user to get the mail to go out.
Comment #10
nancydruFix committed to 6.x only.
Comment #12
peter.milan commentedwhy was this commited to D6 only ?