Clearer display of "forever" suspensions/silencing

AI-generated summary

The discussion revolves around improving the display of “forever” suspensions in the Discourse UI. ChrisBeach highlights that the current display of a distant future date (e.g., 3020) leads to confusion and snide comments, as it appears arbitrary. The internal system uses 3020 (now + 1000 years) to represent a permanent suspension. Ondrej suggests using a custom text like “This user is suspended until further notice” via the admin settings, but ChrisBeach notes this doesn’t remove the date. Maiki demonstrates removing the date entirely, though ChrisBeach points out this affects all suspensions, not just permanent ones. Codinghorror supports the idea, and Ondrej agrees it would improve clarity. Eviltrout acknowledges the request and suggests a helper function could display a different message for dates far in the future, assigning the task to Roman.

I’ve had a few confused/snide comments about “1000 year” suspensions after people see :

3020 is the year used internally when Discourse records a “forever” suspension (now + 1000 years)

Could the UI be altered so when a suspension period is “forever” (i.e. > 100 years from now) it looks like this?

Hi,
Perhaps you can change

js.user.suspended_permanently

In: admin → customise → text

To: This user is suspended until further notice

This will only apply to permanent suspensions but not sure how well it will help.

Thanks but this doesn’t allow me to remove the date, which is the issue here. On my instance the text is set as follows:

I removed the date:

Screenshot_2020-05-18 talkgroup

Are you receiving an error message?

That would remove the date for all suspensions, not just forever suspensions, wouldn’t it?

Oh , sorry, I misread the screenshot, thought you were trying to change js.user.suspended_permanently and were unable.

Not a bad idea, how much work would this be @eviltrout? Any sufficiently far-future date could be summarized with different text.

Could definitely consider. I think @ChrisBeach has a point. When people see 3020 it looks bad on the user and as Chris said:

So I would welcome the changes should they happen.

I don’t think it would be very hard to add a helper that displays a different message if it’s far in the future. @Roman can you handle it?