I think it’s actually the deactivated account that’s keeping the user from coming up in a search rather than a suspension. Try suspending the user, but activate him.
Yes, and I used that, but Deceased should be a valid default option, and would allow more appropriate treatment of the account automatically.
Unfortunately, this change does not seem possible unless the email is verified - at least when I tried to make the change it immediately told me the user would have to respond to the email. So that would seem to imply it would have to be a valid email at least long enough to make the change.
Are you on the latest version? Perhaps the new search changed this behavior, but on my Discourse which I haven’t updated to the latest version, a suspended and activated user does show up:
I’m on whatever is the latest release version. 2.7.8 ( 18b6f4ecf6 ).
Are you an admin? I believe the behaviour varies depending on if you are an admin (or some other privs) or a regular user. Admin users can still auto-complete the suspended user name, but regular users cannot (on my forum).
I updated to latest - 2.8.0.beta6 (073e5ccd83) and the behavior is like you originally described it: the user autopopulates in search when suspended+active for an admin, but does not autopopulate for a basic user.
So then the question remains, is there a way to include the user in the autopopulation while leaving them suspended.
The user has to stay suspended, obviously, but the user also has thousands of posts that folks want to be able to search for his work easily since, as I mentioned, he was the single most prolific poster on the forum.
I’d really prefer a solution that did not abuse the password and email address to attempt to thwart access to the account. The account should be suspended/deactivated - it just also should be usable in the autocomplete.
Really, the autocomplete should include suspended accounts given their posts are not deleted and still searchable, so I don’t see why they would be excluded unless they are both suspended and have no posts.