I have around 4000 users on my site, and I want to bulk apply them to be exluded from search and directory.
I believe this is controlled by the user_meta table, keys ‘bp_exclude_in_dir’ and ‘bp_exclude_in_search’.
If I manually set these directly editing SQL with the meta_value ‘yes’, this has no effect on hiding the user.
If I set these by using the front end (edit user profile > settings > profile privacy) then this successfully hides the user.
What am I missing when trying to set this manually for thousands of users?
I need to avoid doing this via each of the 4000 user’s profiles… bulk applying using SQL code makes most sense, if I can understand which fields should be set.
You must be logged in to reply to this topic.