After installing this module, I had 4 users with points followed by 46 pages of users with zero points. I've modified userpoints.module to only show users who actually have points on this page. Here is my patch.
| Comment | File | Size | Author |
|---|---|---|---|
| userpoints_5.patch | 1.6 KB | jenlampton |
Comments
Comment #1
jredding commentedPatch uses a >0 WHERE clause which will ignore users with negative points.
additionally it may be desirable to display users with a zero point balance as these users must have acquired points in the past to be displayed in the list at all. This would be better implemented if there was an option (either in the admin area or on the page itself) to turn on/off the "hiding" of users with zero points.
Comment #2
jredding commentedAlthough patch is incorrect in current state I implemented the "spirit" of the patch by providing an option to "hide" users with zero points (must be exactly zero and not negative to be hidden). This was checked into cvs tag DRUPAL-5--3. no official release yet.
Comment #3
jenlamptonGreat Idea, thanks! :-)
Comment #4
jredding commentedclosing... hope to finish up version 3.x soon. Life is getting in the way.
Comment #5
Ddorda commentederm.. the bug still affects, using D6. going to be fixed soon?
Thanks! :)
Comment #6
kbahey commentedTry 6.x-1.x-dev. If there is still a problem, open a new issue rather than posting in a closed one.