This is a simple patch to upgrade hook_user to 6.x, to make 'mypoints' work on user profile page.
Let me know if this kind of piecemeal patch is ok. I don't have big chunk of time working on 6.x upgrade, but may find time for small patches like this one.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | userpoints_mypoints_default.patch | 1.96 KB | dami |
| userpoints_mypoints_6.x-dev.patch | 1.9 KB | dami |
Comments
Comment #1
kbahey commentedAll correctly formatted, working and tested patches are appreciated regardless of size.
Committed to 6.x-1.x-dev.
Thank you.
Comment #2
dami commentedA patch is on its way to change default back to 'uncategorized' points, see discussions at: http://drupal.org/node/252176
One questoin: do we have a finer permission control to only allow access to user's own myuserpoints page? I am using userpoints_acess_my_points() in the patch, and it opens or blocks everybody's myuserpoints/ pages to all registered users.
Comment #3
dami commentedHere is the patch, changed default back to 'uncategorized' points to be consistent with 5.x version.
Comment #4
kbahey commentedCommitted.
Thank you, and looking forward to the other patch that makes the "my points" a configuration option (list only uncategorized points, list a sum of all points, list specific categories only).
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.