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.

Comments

kbahey’s picture

Status: Active » Fixed

All correctly formatted, working and tested patches are appreciated regardless of size.

Committed to 6.x-1.x-dev.

Thank you.

dami’s picture

Status: Fixed » Needs review

A 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.

dami’s picture

StatusFileSize
new1.96 KB

Here is the patch, changed default back to 'uncategorized' points to be consistent with 5.x version.

kbahey’s picture

Status: Needs review » Fixed

Committed.

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).

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.