Removing users from directory but keeping their post info

Thanks Jammy! Correct me if I’m wrong but you’re saying that accounts that are suspended will not show when searched for in the user directory, but they must also be deactivated to never display at all?

The jives with what I’m seeing… I can’t find suspended users when I search for them, but they will still display from within the main user directory page.

We used the API protocol to suspend users that expire as members within our WP instance, and it looks like we could add a function to “deactivate” and “activate” in much the same way as we did to “suspend” and “unsuspend.”

https://docs.discourse.org/#tag/Admin/operation/deleteUser

If all that is correct, then I think this would work for us.

Thanks!

1 Like