Closed (fixed)
Project:
User Points Contributed modules
Version:
6.x-1.x-dev
Component:
Code: userpoints_invite
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2009 at 10:57 UTC
Updated:
22 Aug 2009 at 04:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
divagater commentedI resolved this by editing userpoints_invite.module and changing the 3 places where you see this:
To just this:
Basically the code is saying that is you have this cookie dont set the points. I happened to always have the cookie. Haven't found any problems with the updated code yet.
Cheers,
Billy
Comment #2
kbahey commentedHansR
Can you implement the change suggested and see if it fixes your problem?
If it does, then I will make it a permanent fix in the code.
Comment #3
HansR commentedHi...
first comment : you mention 3 places... hehehe... could only find 2 places to change it. So I did.
How my system is set up:
Reward 50 points for every invite you send.
Reward 25 points to the one that is invited and accepts the invitation.
Reward 500 points to the inviter when the invitation is succesful and results in a registration.
What worked before: registering the invitation. the other 2 didn't work.
Now after these 2 code changes, I'm happy to let you know that everything (the 3 rewards) are registered, can be moderated, approved and then show up in the accounts of the respective members.
Added the screenshot for your reference.
So... THANKS A LOT !
Comment #4
kbahey commentedCommitted.
Thanks. Should be in the tarball in about 9 hours from now.
Comment #5
HansR commentedthanks a lot