Posted by kungfumaster on May 1, 2008 at 6:09pm
Jump to:
| Project: | User Karma |
| Version: | 5.x-1.8 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi
I have 20 users on a test site. We have defined a role as Good Karma and want to have the top 10 users (based on Karma) in this Role. However, when we set the range 0 - 10, only 1 user is included. If we set the range 0-10000 all are included.
On User Profile pages the users are ranked 1, 2, 3, 4, 5 etc. But the Rank range filtering doesn't seem to reflect this. It seems that the Ranking range filter is seeing a different Ranking number to the User Profile page. I don't know if we are doing something wrong or if this is a bug?
Any help or guidance will be much appreciated.
Thanks
Comments
#1
Hi,
This is not a bug... it's the "unfortunate" way the ranking function works.
Basically, if you have 20 users, and they all have the same karma except one of them, every user apart from the first one will rank the same.
Also, when you change the ranking of users, it's actually changing the rank 1 to 10000. So, people will be spaced out. The point of it is that if you set for example the range 1-1000, you are basically saying "the top 10% rank-wise".
I think I need to some functionality to tell what the user rank in terms of "1-10000" is -- the absolute rank doesn't really help figuring out how may users will get the role. At the same time, if you see that range as a *percentage* (which is what it is), then things will be a little clearer!
Play with it... that's the best thing to do.
Merc.
#2
Great, thanks Merc!!! It's slightly confusing that the User Profile Rank maybe 4, but setting a ranking 0-5 wouldn't include this user. But that's just a documentation/wording thing, the way you've got it working is cool and I can now change it to include enough people.
Thanks for the speedy reply!
#3
Hi,
No worries mate :-D
Merc.
#4