Active
Project:
User Points Top Contributors
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2008 at 02:06 UTC
Updated:
26 May 2010 at 20:15 UTC
Like the title says... How do I remove the admin (super user) from being displayed in this block?
Comments
Comment #1
kmillecam commentedThere's a supporting module that I believe still comes with User Points called "userpoints exempt" it basically keeps your site's admins and managers from earning roles (by designating a role or roles that don't earn points).
This would be a way to keep the superuser from earning points and therefore from showing up on the top contributors lists.
Comment #2
walker2238 commentedHey thanks but I tried that. From what I'm seeing it does not exclude the super user account... It seems to exclude whatever role you have created, but not the super user. I also tried adding a WHERE uid != 1 and also pretty much the same thing WHERE uid > 1 which does work except the problem becomes the ranks... so if the superuser was ranked 5... him/her would be removed and thus making that top rankings go 1, 2, 3, 4, 6, 7, 8, 9, 10, 11... Leaving the 5 out... Which does look bad if your title says top 10...
Comment #3
igorik commentedHi, subscribe, it would be really great and useful to have an option to remove some users and some roles from userpoints_top_contributors list.
thanks
Igor