Thanks Dave
Works a treat, although I did have to reset the banned and email confirmation usergroups back to "not shown on members list"
Quick question, If I change this line "
user.usergroupid IN (3,8)" to "
user.usergroupid >= (2)" will that select all usergroups equal to and above usergroup 2?
I have tried it, and it appears to work, but I would prefer to know that I have done this correct .