Active
Project:
User Points Contributed modules
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2007 at 22:35 UTC
Updated:
2 May 2012 at 17:46 UTC
OK I'm not sure if this has already been implemented but I looked into all my settings and saw no way to do this.
I am wanting to award user points for members when then complete certain parts of their profile.
so for example a user would get 2 points for choosing their gender, 3 points for date of birth, 1 point for Location, etc kind of like that. I think this would help make members fill in their profiles if they know they are getting something back for it.
Is this possible? has it been done already?
Any help would be welcome
Thanks
Comments
Comment #1
jredding commentedThere is not a contributed module that provides this functionality. It wouldn't be difficult to create one though. Take a look at the README.txt on how to use the API.
I'm sure if you submitted a patch kbahey would be happy to include it as a contrib module. Take a shot at it writing a module isn't that difficult (honest).
Comment #2
chrisla commentedAny chance anyone is willing to take a crack at this?
Comment #3
berdirMoving this to the userpoints contrib module, this is where additional modules belong. (Or another project, if someone wants to do that)
Comment #4
jsibley commentedDid anyone ever create this?
Comment #5
mototribe commentedI'm looking for that functionality as well.
I would think that writing a hook to assign the points wouldn't be too difficult. However, how would we make sure that
a user only gets the points when they fill out a field for the first time? Maybe take away the points when they remove
the field again?
Or would we use the "reference" value?
I took the liberty to change this to the 7x. version, hope that's ok?
Comment #6
fehin commentedYou can do this with rules and userpoints.