• Proposals
  • Notify user group when a discussion has certain tags

I have a closed forum, where we have 2 different support teams. Based on the discussion tag selected, I'd like to have it notify a defined user group.

Example:
-> Discussion created with tag Dallas or Austin
-> Email & notification sent to the Texas user group.

-> Discussion created with tag Miami or Tampa
-> Email & notification sent to the Florida user group.

I am aware of follow-tags, but maybe some kind of addition to this that just automatically subscribes users to the tag if they are in a certain group?

Or someway to auto mention groups based on discussion tag?

EDIT: I may be able to implement this by means of coding if someone could point me in the right direction. I'm assuming adding something in extend.php.

    Lej other forum scripts have a feature called "forum/category moderator." Is that what you mean?

      huseyinfiliz I am basically looking for simple solution to email a group of users if a discussion is made with a particular tag. The group/roles page could have a "Notify on these tags" selection.

        huseyinfiliz Yes I've been using the follow-tags extension and it accomplishes 90% of what I need. It's great! It really should be something built into that plugin that allows newly posted discussions to notify user groups if the set tags are present.

        The hacky way is to check the tags when a discussion is posted, and have it "@"/mention the user groups at the bottom of the post.. I just need some help rewriting the function that does that.. Or any other solutions are welcome!

        EDIT: Man I have just been staring at these extensions for hours trying to figure out what the best practice would be...

        We've got:

        • fof/follow-tags
        • flarum/subscriptions
        • fof/default-user-preferences

        etc..

        There's just so much overlap between these and it can be confusing. Realistically the configuration I'm looking for is that:

        • Anytime a member makes a reply OR new discussion, they are automatically subscribed to that discussion.
        • Secondly, users can follow specific tags, that sends them email/notify when a new post OR reply is made in that tag.
        • If a group or user is mentioned, it will always email/notify the user/users in the group no matter what tags/discussions they are following.

        And the bonus feature I'm looking for is that users that are in a group, will automatically follow a set of tags that the group preferences specifies.