Looks like you need to upgrade Flarum to beta 13
askvortsov Oh no, that would take time.
Please help me fix this for now without upgrading to beta 13
In the meantime, you could downgrade to the previous version (v0.1.5), or remove the extension till you have time to upgrade?
askvortsov Ok sir, help me downgrade to previous version or remove the extension
I tried it but don't know how to
Try running composer require askvortsov/flarum-moderator-warnings v0.1.5
composer require askvortsov/flarum-moderator-warnings v0.1.5
askvortsov Thank you, got it working with the downgrade ♥️
Translations seem to be broken...
I guess you are using app.translator.trans() where there should be app.translator.transChoice().
(There may be more places where there is this bug than what you see on the screenshot, I haven't tested everything.)
iPurpl3x Have you tried refreshing cache?
iPurpl3x rob006 are you both on the latest version? I didn't announce it, but I pushed an update to all of my extensions yesterday with some JS cleanup
Huh thanks for letting me know, I'll do some digging.
I just tested this and it works fine in my case:
I'm pretty sure this is cache-related issue.
askvortsov I'm on v0.1.8.
askvortsov are you both on the latest version?
I have updated (I somehow was on 0.1.5...) and now it's working fine. Thank you.
It looks like v0.1.6 does not have assets compiled: https://github.com/askvortsov1/flarum-moderator-warnings/commits/v0.1.6
Yep, that's why I was releasing new versions yesterday 😃
[HELP] I can't figure where to find the settings to suspend the user after X warnings!
That feature doesn't exist yet, but it's on my to do list.
askvortsov Looking forward. Also, I wanna thank you guys for the amount of work you put into this, you are on your way to stability! 😃
composer require askvortsov/flarum-moderator-warnings:^0.2.0
php flarum migrate
php flarum cache:clear
The migrate step is required: if not done, there will be errors.
askvortsov A bunch of UI tweaks
Absolutely loving the new UI