Not sure if this is a invite or a userpoints bug, so I'm posting it in both places.

http://drupal.org/node/93236

Description:

Scenario to reproduce:

A invites B [First Bug: A's Userpoint doesn't go up]
B accepts invite [Second Bug: A's userpoint doesn't go up, instead admin's userpoint goes up!]

[Third Bug: When B joins, a message is displayed stating 'Admin's userpoint is now xx'. This should not be shown to B. Cosmetic bug]

I'm using the latest (cvs) invite module.

Am I the only one seeing these errors? Can anyone else confirm these serious errors?

Thanks,
Zack

Comments

kbahey’s picture

drupalzack’s picture

Thanks kbhay! I understand the link you posted is for scenario 1. But scenario 2 seems to be a different bug:

A invites B [First Bug: A's Userpoint doesn't go up]
B accepts invite [Second Bug: A's userpoint doesn't go up, instead admin's userpoint goes up!]

drupalzack’s picture

I'm not a php guy, but I'll give this a shot.

can you explain from userpoints perspective, what should the invite module do when an invite is send. I mean what table/function of userpoints should the invite populate/call? If you can just tell me the sequence I can try to do the actual coding. It can't be that hard! :)

Thanks! And btw, userpoints is a terrific module. Very neat idea.

drupalzack’s picture

Never mind. The code is the best documentation! :)

jredding’s picture

Component: Code » Code: userpoints
Status: Active » Closed (fixed)

fixed.. closing.