Closed (fixed)
Project:
User Points
Version:
5.x-2.9
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2007 at 20:39 UTC
Updated:
15 Jun 2007 at 04:46 UTC
Jump to comment: Most recent file
How can we use the manual administration of points feature without knowing a user's ID? In version 4.6, the user ID (uid) appeared in administer >> users. The ID number is no longer shown in newer versions. Apparently, it was considered by some to be a bug and that column was removed from the user list.
Attached is the way the user list is shown now - the user ID column used to be to the left of the user name. And a view of the userpoints add screen where it asks for the user ID.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | userpoints_username.patch | 2.56 KB | dami |
| userlist-addpts.gif | 17.34 KB | irishsuperfly |
Comments
Comment #1
kbahey commentedUnless you are using pathauto for user aliases, you can just mouse over the user, and it will have /user/UID. Use that UID.
Another option is we include an Ajax user lookup by name, but I don't have the time to do that now.
Anyone who cooks up a working and tested patch for that is welcome to submit it and I will include it.
Comment #2
dami commentedBump this to HEAD. Patch attached:
1. Point management by username using autocomplete, instead of uid.
2. For easier management, on each user's profile page, the userpoints now is a link pointing to 'admin/user/userpoints/add/$uid'.
Comment #3
kbahey commentedThanks.
Committed to HEAD and 5.x.
Comment #4
(not verified) commented