Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,871
- Creating & Extending
- 25,907
- Requests & Feedback
- 9,550
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,179
-
@somethingelse doing if ( $wp_user->roles[0] == 's2member_level3' ) inside the loop is great but you might find your pagination doesn’t take your condition into account. For that you’ll need to hook into the bp_ajax_querystring filter
See the technique in action on the BuddyDev website:
Exclude Users from Members directory on a BuddyPress based social network