Thank you php flarum criteria:recalculate
worked >
Flarum AutoModerator
- Edited
Akito you'll need a custom requirement driver for this.
shebaoting I don't know how to solve this problem
I would appreciate if you could open a Github issue for this.
Silverteal When I was testing, the executor of the "Suspend" behavior was shown as the rule creator. is this normal?
Yes, as suspension currently requires an actor. IIRC we are considering anonymizing this, there should be a PR on the suspend repo.
ctml I don't necessarily think it is that out of scope at all, sounds exactly like what it's meant to do!
I'm planning (another) rewrite of this extension into a generic engine for "When X If Y do Z" rules. Trust levels will go back to being trust levels (the criteria vs metrics vs requirements naming is confusing), just that the actual actions will be generic, and could be applied to all models. We'll also have "when gets trust level" and "when loses trust level" triggers, and "if in trust level" requirements.
But yeah this should generalize very nicely across all models. So "when posting, if post contains link and author in trust level "new", flag post for approval" should be just one of the possibilities.
@askvortsov How can I give badge like sportive, nature-friendly, emotional etc. to who has more than 10-20 discussions or entry in a specific tag?
For example, someone who created 20 discussion in nature tag should has nature-friendly badge. Is it possible?
- Edited
fakruzaruret I not sure about this but this extension said it has integrated with automod extension you may have two of them or one of them
https://extiverse.com/extension/v17development/flarum-user-badges
Akito that's right, you'll need to set up rules for an extension that supports awarding badges.
I think the issue @fakruzaruret faces is the requirement to have X discussions in specific tags to award those.
Ah gotcha. I'm not sure when I'll have time to add drivers, but I would be open to PRs adding drivers and corresponding tests.
ctml Yes true
- Edited
I found a couple of things while trying to use this with fof/doorman. I was hoping to use fof/doorman to assign a group to users with an invite code upon registration and then having automoderator do some things accordingly...
This extension only listens for the LoggedIn
event, not for Registered
. LoggedIn
doesn't fire after registration.
It also listens for GroupsChanged
in the InGroup
requirement driver, but flarum only fires that event when groups are manually changed. Not when for example fof/doorman programmatically changes the group.
edit: just did a PR to add Registered
as a universal trigger
- Edited
Is it possible to integrate this with FoF Gamification? I can see the option for likes, however I have disabled Likes extension and replaced it with FoF Gamification. I cannot see or find a metric option for Gamification.
I am not able to create a PR because I don't really know how to code. Moreover, I'm quite busy in my daily life.
EDIT: Sorry if I am asking too much or I have disturbed anyone.
- Edited
Vidhun It's possible, but I'm hoping to rewrite this whole thing sometime soon. I also don't want to support integrations with every extension, so that code should go into gamification.
- Edited
Hello,thank u for your powerful extention.it's really useful!
And there find some issue
1.When i click Load More button,the new list is repetitive.
2.The badge can be repetitive,when i change the rule ,implement again,the badge will be award again.
flarum 1.1.1 extention is new
yuchangye hmm, this seems like it might be a bug with the badges extension rather than the automoderator one.
askvortsov I'm sorry, I made a mistake
yuchangye It also happens to me, I have reported it already in v17development/flarum-user-badges18
I'm playing with this for the last few hours, it's so powerful in combination with Badges extension.
One thing that would make it more robust is to include criteria for metric in specific tag.
For example:
- Discussion started
-- Number criteria
-- Specific tag criteria
Use case: Give a support badge to a user who started 10 discussions in a support tag
Found an issue with the Best answer metric. It counts the giver, instead of the receiver.
For instance, I have a specific badge intended for the user selected as the best answer. Instead of the best answer, awarded is the user who marks the answer as the best.
Reported here:
askvortsov1/flarum-auto-moderator7
Great extension, thanks! I'd like to award badges to people who have attended particular events. I have their email addresses, so is there a way to input a list of email addresses and have groups / badges applied based on this requirement?
Thanks!
Can this extension be used to send emails to moderators when posts are being flagged? (In particular I would like to have an email sent to me when the "Approve First Post" flags the first messages of new users, so that the mods can immediately receive an email and log to the forum to approve the posts and make it smoother for new users)