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?

CommentFileSizeAuthor
#9 realname_user_activate.patch1.03 KBnancydru

Comments

nancydru’s picture

This is going to be a tough one because my Windows test site doesn't send emails...

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

I just made a small change which might help with this. Please test the new -dev version after midnight GMT.

break9’s picture

I would like the realname to be used as the username when the account is created is this possible?

mbiddlecombe’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

This dev version seems to have fixed the problem. Thank you.

nancydru’s picture

Status: Closed (fixed) » Fixed

Great. Thanks for the update.

robin.crosson’s picture

Status: Fixed » Active

Hi,

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

nancydru’s picture

Yes, it is probably a different form name. It's probably as simple as adding a new form name in a "case" statement.

nancydru’s picture

Well, I can't track down where that email gets sent, so I can't begin to find a fix.

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Needs review
StatusFileSize
new1.03 KB

Well, 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.

nancydru’s picture

Status: Needs review » Fixed

Fix committed to 6.x only.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

peter.milan’s picture

why was this commited to D6 only ?