Active
Project:
User Referral
Version:
7.x-1.x-dev
Component:
Code: referral_userpoints
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Jan 2012 at 14:53 UTC
Updated:
20 Jun 2012 at 13:13 UTC
Hi
I want that user point will be added to the referral account when a user activate his account. Not just during registration. How can I do that.
If not possible then plz add this feature
Comments
Comment #1
IWasBornToWin commentedYou should be able to do this through rules--firing a rule when the user activate--and then rewarding the referred user with points.
Comment #2
sharif.tanveer commentedhi,
I was looking for same thing as well, but could not find the referral user (who referred the logged in user) entity to select from the tokens or replacement pattern. It only showing me the logged user (current user). Moreover, I want to give the referrer 20% of referred users point each time user gets a point. but in rules I can not put % or (.) sign in that field. It said, it is only valid for integer field.
Can anyone tell me how to do it with rules? any module, patch , ideas are most welcomed. thanks in advance
I have posted more details hereComment #3
IWasBornToWin commentedFor identifying the referrer - You can create a field for users - text or integer field, call is maybe - referred by field, and when a new user is activated, using the rule - after a new referral is recorded - do a set data action and assign the field the user id of the referring user. Now, anytime a person earns points or any other things you want to do, you can fetch a user by id (pointing it to the id in the field) and then assign that user points or 20% of the points, etc.
For paying in decimals - you're correct....can't use decimal...yet. But go to this thread, http://drupal.org/node/1165256 where i paid Masterchief for a decimals module and it's working great. Then you will be able to do the percentage.
Comment #4
sharif.tanveer commented@IWasBornToWin
thanks for your support. i managed the referrer in your system, but can not find any module or any patch to solve the decimal problem. Do I have to pay for it? both patch and module? I seen one patch there though, but think only applicable after installing that module created by Masterchief.
Comment #5
IWasBornToWin commentedMasterchief can give it to you. Did you contact him? Or did you post a comment in the decimals issue. He should see the comment there if you do.