Reply To: [INFO] Useful s2member/buddypress knowledge
Re: Filter Users Displayed in Members Directory by s2member role.
There a couple of ways that this can be accomplished without needing to overload the members loop template and then hack it. One of them is bp_parse_args. Please try using it.
The goal of this new codex page is to provide simple functions that adhere to best practices for WP and BP, that users can easily paste into bp-custom.php or theme/functions.php.
Thanks for creating the page – looking forward to your updates.