Override Suspension Reasons

Hello, I want to change the user suspension reasons in Discourse (replace them with about 10 fixed, hardcoded reasons that are not saved to the database) without modifying the core, by creating a plugin or component. Can you write the code for me? My Discourse version is 3.5.2.

if your asking for work to be done, please move this to Marketplace.

1 Like

(post deleted by author)

please just advise me, thank you

i moved it for you.

how much is your budget? or are you asking for free work?

Then where do you propose that they be stored such that it’s possible to display them? I guess they could be in theme settings, but that’s actually still in the database. But having the 10 hard-coded reasons doesn’t solve how the reason will be connected to the user. I suppose a custom field could be used. That’s still in the database but wouldn’t require changing the schema.

Probably not. It’s very difficult to develop plugins for old versions. It’s also hard to install plugins on old versions of Discourse.

4 Likes