Exlude roles from buddypress members loop This code snippet excludes members, based on the role they have, from the buddypress members loop.