When I opened it with PHP 8.1, the website reported an error and was unable to enter.
I don't think it supports PHP 8.1.
When I opened it with PHP 8.1, the website reported an error and was unable to enter.
I don't think it supports PHP 8.1.
I'm on PHP 8.1 and it works. Although there are some warnings now whenever I execute flarum clear.
There's a problem with this extension: I've been using it for quite some time and it worked perfectly until today. My case: assign users to either "newbies" or "regulars" based on their number of posts. However today I created manually a new user group (unrelated to the newbie-regular distinction) and assigned a user to it. As a result, he lost his membership of "regulars" (managed by AutoModerator) but he's not "newbie" (managed by AutoModerator) either. I executed "php flarum criteria:recalculate" but it doesn't help. Basically creating manually a new user group on Flarum and assigning a user to it messes with the AutoModerator managed groups. This is really critical, the user is now basically a non-"regular" which means he is limited and I don't know what to do. I will try removing the new manual group and the permissions I created for it and hope this helps but that can only be temporarily.
Is anyone maintaining this extension? Seems like @askvortsov is not working for Flarum anymore and I'm not keen on using an obsolete and possibly buggy extensions like this one if it's not maintained. But then there's no alternative... Any ideas?
Please help, this is critical now! One of my trusted members is affected by the above situation. As I explained, I have AutoModerator assigning the following two groups automatically:
These are groups managed by AutoModerator and so I can't select them manually for users. However this user lost both of them when I assigned him to a third group I created manually. I executed the command to recalculated the criteria of AutoModerator but it doesn't help. I deleted the new group but the user is now marked as not having any group memberships, none of the two AutoModerator managed groups above. I will appreciate a fast response because the situation is rather critical since that user is now limited (because he's not a "regular" and is thus restricted) and I don't want to mess up all my permission system because of this bug.
Please help!
OK, I managed to solve the issue, I deleted the record from criterion_user
that had user_id
for the affected user, after which I recalculated the criteria through php81 flarum criteria:recalculate
.
Hope that helps. But this extension needs a fix. Currently I cannot use manually created groups in Flarum and assign users to them because that would mess up the AutoModerator managed groups.
I hope to get 30 favorite users to automatically get some management permissions. User groups have been created and permissions have been configured. How should I configure the automatic moderator?
I tried to use "X≥30 (minutes)", but it didn't seem to work.
Please help!
Someone help me links this extension https://discuss.flarum.org/d/27869-level-ranks with https://discuss.flarum.org/d/27306-flarum-automoderator
Hello, I have a doubt since the official documentation does not contemplate it. I want my users to be moderated in the following way:
If he posts more than 50 post he goes up to a rank that allows him to see a limited forum.
If he is warned 3 times by a moderator, he will be removed from that group.
I want the system to start from scratch for that user and earn him/her back into the group he/she left. What happens when he/she is removed from a group he/she was added to? Can he/she automatically re-enter if he/she posts those 50 posts?
Oshvam If he posts more than 50 post he goes up to a rank that allows him to see a limited forum.
this can be done by : set another group of member have more access, but default group has limited access. then adding members who have posted more than 50 to the specific group by using this extension
Teddan Yes, but if another rule removes you from that group, could you automatically re-enter if you meet the requirements again? Imagine a group that you access after 50 posts, but you are removed from that group by automoderator if you get 3 warnings from a moderator. I want the user to be able to re-enter that group again if they post another 50 messages.
encountered error after upgraded. to 1.7.1
here is the log:
<b>Deprecated</b>: Required parameter $lastEditedBy follows optional parameter $settings in <b>/www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/askvortsov/flarum-auto-moderator/src/Action/ActivateEmail.php</b> on line <b>30</b><br />
<br />
<b>Deprecated</b>: Required parameter $lastEditedBy follows optional parameter $settings in <b>/www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/askvortsov/flarum-auto-moderator/src/Action/ActionDriverInterface.php</b> on line <b>37</b><br />
<br />
<b>Deprecated</b>: Required parameter $lastEditedBy follows optional parameter $settings in <b>/www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/askvortsov/flarum-auto-moderator/src/Action/AddToGroup.php</b> on line <b>34</b><br />
<br />
<b>Deprecated</b>: Required parameter $lastEditedBy follows optional parameter $settings in <b>/www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/askvortsov/flarum-auto-moderator/src/Action/RemoveFromGroup.php</b> on line <b>36</b><br />
<br />
<b>Deprecated</b>: Required parameter $lastEditedBy follows optional parameter $settings in <b>/www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/askvortsov/flarum-auto-moderator/src/Action/Suspend.php</b> on line <b>40</b><br />
<br />
<b>Deprecated</b>: Required parameter $lastEditedBy follows optional parameter $settings in <b>/www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/askvortsov/flarum-auto-moderator/src/Action/Unsuspend.php</b> on line <b>32</b><br />
<br />
<b>Deprecated</b>: Required parameter $lastEditedBy follows optional parameter $settings in <b>/www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/v17development/flarum-user-badges/src/AutoModerator/Action/GiveBadge.php</b> on line <b>50</b><br />
<br />
<b>Deprecated</b>: Required parameter $lastEditedBy follows optional parameter $settings in <b>/www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/v17development/flarum-user-badges/src/AutoModerator/Action/RemoveBadge.php</b> on line <b>35</b><br />
<br />
<b>Fatal error</b>: Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:20
Stack trace:
#0 /www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(42): Laminas\HttpHandlerRunner\Exception\EmitterException::forOutputSent()
#1 /www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(21): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput()
#2 /www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(75): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit()
#3 /www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#4 /www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/public/index.php(26): Flarum\Http\Server->listen()
#5 {main}
thrown in <b>/www/wwwroot/www.xn--fmrv2rkpbv8uymm.com/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php</b> on line <b>20</b><br />
Teddan disable deprecation warnings, read the last sentence here: https://discuss.flarum.org/d/31968-staff-diary-v17-cycle/5
Hi, Im confused about the Metrics in this Extension.
I know "Discussion Started" indicates publish new post.
But, what is "Discussion Participated" If "Posts Made" indicates Replying.
thank you
As I already wrote on Discuss, this extension after Flarum 1.6 drastically slower my forum. Is there a way to keep it active, but move the calculation side to only run once per day using CRON?
I use Database Queue, but it doesn't do the work for this extension
hrvoje_hr I am eventually going to rewrite this to be more general and powerful, and deprecate the current version. Stay tuned!
askvortsov That sounds really cool! Honestly, AutoModerator is an extension that once you start using it, it's really hard to go back, too useful...
In the last few days I've been investigating some performance issues and it seems that @hrvoje_hr is right and there is something to do with AutoModerator.
askvortsov I am happy for you turn back and active
I wonder what do you think about this feature. Is there any possibility to consider it? Thank you.
https://discuss.flarum.org/d/27306-flarum-automoderator/121
not compatible with php 7.3.3 breaks flarum totally