Is it possible to suspend an account forever?
From what I can see you can only suspend for an N amount of days
Maximum you can do is 99999 - which equates to 273 years
The problem with that is Discourse is so awesome that I’ll probably still have it then managed by a SysAdmin in about 10 generations from now.
Also the public profile shows an end date, It’d nice if it could just say FOREVER!
This is intentional, we want “forever” suspension to be a bit more difficult so people seriously think about having actual suspension lengths rather than mindlessly banning people forever.
(Also if “forever” is your goal all the time, then maybe it’s a spammer and you should just delete them with prejudice. That’s completely supported.)
Ban hammer forever?
What to do when someone leaves the company?
The idea is since this is a corporate forums, we have employees who leave and we don’t want to delete their account. However we’d like the user to get flagged somehow so that people who search back see that this user in the forums is no longer with the company.
If you Anonymize them they are effectively Banned
What does the username say on their past forum posts?
AFAIK the number is randomly generated, but except for posts with quotes and ?u= links (and rebuild HTML might change that, I haven’t tested that yet) the account is changed to
I noticed on a forum there is deleted accounts names that!
Why not change the email to an email they do not control and put some information in the “about me” section, you can even add a title to the user “Ex employee” which will show up everywhere. I don’t think banning is what you are after here.
Or Deactivate the account. That is doable and I think prevents it form logging in. And unless they submit a “reset password” request, they can’t reactivate it themselves.
We run Discourse for a community organisation, for discussion between members. If a member leaves the organisation, we need a way of disabling their account. However, we don’t want their posts to disappear.
Is the only way to accomplish this deactivate their account and set their email to some random email? It seems kind of clunky that there isn’t just a button for admins to disable an account.
The problem w delete or anonymize is that they can come back. Near as I can tell.
Our forum is invite only/admin approve, so we don’t have to worry about ex-members coming back, we just need a proper way to disable the account. Deactivating on it’s own doesn’t solve this, since the user just needs to re-verify their email address. Banning doesn’t solve it either, because there’s a mandatory time limit.
This is true.
But if you set it to 99999
the chances are the member will expire before the time limit does.
Just deactivate it. There is a Deactivate button on the Admin User page. They won’t be able to login anymore either (from what I recall). Granted, you may need to customize this text to prevent them from re-sending the activation link (not sure how that works on invite-only systems).