If an invited user registers on a site with the Email Login module installed (i.e. they don't choose a username, but use the email address instead) then the temporary user name is used in the message confirming their number of points.

User ncNpsm4HYX earned 500 points Total now is 500 points.

Instead this message should be pushed further down the hook process so that the user name is instead derived from the provided email address. There was a similar bug logged in the Register Notify module which had a simple fix.

Comments

kbahey’s picture

Status: Active » Needs work

If you use this combination, and made it work, then you can submit a patch that others can review.

See here for how to create a patch http://drupal.org/patch

pauldawg’s picture

Status: Needs work » Postponed (maintainer needs more info)

Sorry I don't have a patch for this, and haven't yet crossed the line into module development, although this is in my near future out of necessity. I've updated the status and will try to provide more information about this. However, I have also discovered several more critical defects in the Invite module which may or may not be related to this, so it might be a little out of my reach. In any case, I will document the additional issues I have found in the next couple of days, including the fact that the invited user gets "stuck" in a permanently logged on state -- the Log Out link cannot be accessed without Logging In.

glekli’s picture

Project: User Points Contributed modules » Userpoints Invite
Version: 6.x-1.x-dev » 6.x-1.0-beta1
Component: Code: userpoints_invite » Code