I feel weird to create a topic for a such a detail, but I don't find any related topic.

I am a little stuck (on freeflarum, but I suppose it's the same on the admin panel of flarum) by the three option I have for message edit authorization for users (10 mn / until next answer / always).

"Always" is problematic for me (an user could delete all his messages one day, or troll by changing conversation several days afterwards), but 10mn seems really short (it's not even the time to re-read and check a long message you've written), and "until next answer" can be even shorter in case of a quick conversation.

While I understand the search for simplicity, this is one of the case for which Flarum seems to lack of options. Wouldn't it be possible, instead of "10mn", to just propose a field in which we could enter whatever duration we want?

    TB54 there is currently no UI to enter custom value, but the backend is already designed for custom values.

    To save a custom value you can either edit the database manually (not possible on FreeFlarum) or perform a REST API request to change the value to a different value.

    The easiest solution to perform that API request is to use the browser development tools, go to network, use the Flarum UI to save "10 minutes", click "edit" on the API request, replace "10" with a custom value in the payload, and click "send again".

    I had a look at creating a UI component for custom values in the past but it ended up being more complex than anticipated, so I never managed to finish it. Problem is, there are multiple settings that need such an input and it's difficult to make a re-usable input that works with every setting.

    • TB54 replied to this.

      clarkwinkelmann The easiest solution to perform that API request is to use the browser development tools, go to network, use the Flarum UI to save "10 minutes", click "edit" on the API request, replace "10" with a custom value in the payload, and click "send again".

      If I understand well, you mean that each user should do that in his console? That's too complicated.

      Is there no way to import database in freeflarum? I could maybe export the current database, change the value in it, then re-import it?