Cumulus Announcements - Announce (notify) users in your Cumulus Core based system
This plugin extends the functionality of Cumulus Core plugin.
Using this plugin you can send announcements (notifications) and e-mails to users in your Cumulus Core based application.
You can specify if you want to send the announcement to:
- all users,
- only to selected ones,
- only to those in selected clusters
- only to those in selected plans
You can specify if you want to send an e-mail or publish the announcement. You can send e-mail, publish them in the system or both.
Remember that sent e-mails cannot be unsent. If you have sent e-mails and want to update the announcement then remember that if you do not uncheck the
Send e-mailswitch, the e-mail will be sent again.
Note for developers
From the developer’s point of view, announcements are always dedicated to a group of users and with those users, the relation in DB will be stored. Remember though that this is not
users() relation to get users that the announcement was dedicated for. In DB we are storing relations with users, clusters and plans to properly render the views in backend and to keep it clean. While saving the announcement
users_to_announce() relation will be filled with the users and the information if they have marked the announcement as read or deleted.
Announcers are rules that define automatic announcements. Plugins register their own announcer types, for example, Cumulus Core registers
New user registers announcer type, while Cumulus Subscriptions registers
Subscription expires announcer.
More Announcer types will be added on request or our demand, do not hesitate to ask for more.
Upgrade v.1 -> v.2
announcementRepository was removed. The methods from there were mostly moved to the
There were also added a few very handy methods to the model so check it out to find more cool stuff.
announcementManager trait was removed.
UnreadAnnouncements component was removed. Right now
UserAnnouncements injects unread announcements as well.