sinamics/flarum-default-preferences

This will allow admins to setup global noticifaction preferences

0.1.0 2019-10-20 18:47 UTC

This package is auto-updated.

Last update: 2021-03-21 12:28:18 UTC


README

A Flarum extension that will enable mail notification by default upon each user registration.

This is a fork of https://github.com/faraday-motion/flarum-faraday-motion-notifications All credits goes to the origin maker.

User preference object will look like this:

{
    "notify_discussionRenamed_alert": true,
    "notify_postLiked_alert": true,
    "notify_discussionLocked_alert": true,
    "notify_postMentioned_alert": true,
    "notify_postMentioned_email": true,
    "notify_userMentioned_alert": true,
    "notify_userMentioned_email": true,
    "notify_postReacted_alert": true,
    "notify_newPost_alert": true,
    "notify_newPost_email": true,
    "followAfterReply": true,
    "discloseOnline": true,
    "indexProfile": true,
    "locale": null
}

Installation 🎈

Install it with composer:

composer require sinamics/flarum-default-preferences