askvortsov Can you please add a feature of automatic warning expiration after X duration

For example: Warning expires in 30 days or so
With this feature, warned users will learn what they were warned for and yet they will be given a chance to be at ease they've not been warned forever.

This feature is available widely on many sites including facebook.

    HD3D This sounds very useful, yet very tricky. You better not forget who got warned for what, writing down notes about bad-behaving users is usually a good idea (the moderator notes extension should do the job)
    In addition to your suggestion, strikes should decide the duration before a warning gets vanished. For example, 1 strike = 1 week, 2 strikes = 2 weeks, 3 strikes = 1 month and so on... maybe leave it optional for admins to set the duartions. But yeah, definitely agreeing with this 🙂

      Mark73 I'd probably approach this so that the warnings remain permanently, but the strikes themselves expire and no longer count against the user, how's that?

        askvortsov Love it, this will make it unnecessary to write down notes. Though, I wonder when would strikes be any useful and intergate with the suspend extension, any ETA?

        askvortsov Could be great but if the warnings remain permanent but it will create a problem once we get this feature:

        • Suspend integration (automatically suspend if users reach more than X warnings, with X configurable in settings)

        If the warnings are gonna remain permanent then we may get many users suspended over the years.

          HD3D Yeah, I was asking myself about that too, so I guess setting the strikes as the duration deciders would be good, what do you think?

            Mark73 I prefer suspension integration with expire-able strikes as you suggested above instead of warnings if @askvortsov decides warnings to remain permanent.

              HD3D if I make strikes expire, expired strikes would not count towards suspend thresholds.

              I do think that having permanent records is good though, both to help mods and prevent abuse.

                askvortsov That's the point, expired strikes should not count towards suspend thresholds so only new warnings with new strikes should be counted
                And for permanent records I think moderator notes entry will be good enough

                17 days later

                @askvortsov What I currently not understand is the idea of the strikes. If I for example give 5 strikes to a user. What does it really mean? Is a 5 strike more serious than a 4 strike? Or do I count down with each additional warning? Maybe you can explain that a little. Many thx

                  MrB sure! The number of strikes is representative of the severely of the warning. This is exclusively for your use as an admin/moderator. At later times, I may include integrations where users would be automatically suspended after reaching a number of strikes

                  a month later
                  a month later

                  Why not set some preset warning reasons? And you can also add a warning button to the flag bar.

                  a month later

                  Nice extension.
                  In the email the motivation given to the user is showed with some strange strings

                  <t><p>You are spamming!</p></t>

                    17 days later
                    2 months later

                    HuseyinKogo

                    composer require askvortsov/flarum-moderator-warnings:0.3.*
                    5 days later

                    after update to b15 and enable this extension, have an error 500 😉
                    after removing, all return to the "normal"