Private Member?
-
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:
action=members_filter&cookie=bp-activity-oldestpage=1&bp-members-scope=all&bp-members-filter
=active&object=members&filter=active&search_terms=&scope=all&page=1&template=
Thanks!
- You must be logged in to reply to this topic.