Like the title says... How do I remove the admin (super user) from being displayed in this block?

Comments

kmillecam’s picture

There'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.

walker2238’s picture

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

igorik’s picture

Version: 5.x-1.0 » 6.x-1.x-dev

Hi, 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