I was using the code example at https://codex.buddypress.org/developer/bp_user_query/#code-examples and found it works great for removing users from the Member’s Directory list based on an xprofile field.
However, when I change the order using the default Order By dropdown it seems the user that is removed comes back. I’m using the 2014 theme and default BP templates. Is there something else that needs to be done to get that to persist?
Debug wise, I’ve tried add
The POST source from Firebug below mentions a couple things about scope and filter but I’m not sure if that’s the place to look and why the action bp_before_directory_members doesn’t seem to fire on the Order By update:
- You must be logged in to reply to this topic.