Advanced Notifications

Blocks ::: block_advnotifications
Maintained by Zander Potgieter
Easily create, manage and display notifications/alerts to users.
Latest release:
1760 sites
332 downloads
126 fans
Current versions available: 3

TravisCI Pull Requests Welcome


Easily create, manage and display notifications/alerts to users

This block allows users to display DEFCON-like alerts, which are Bootstrap-based, allowing for various configurations.

This could be useful in cases such as alerting users of scheduled outages, welcoming them to your site, teachers can use it to notify users of changes/due dates, etc.

Features


Features:

  • Customisable title & message
  • Basic HTML tags allowed for advanced users
  • Multi-lingual/filter support
  • Multiple types of notifications (Bootstrap-based styles)
  • Type-based icons (optional setting)
  • Dismissible/Non-Dismissible
  • Customisable date range to show notifications
  • Display a notification to the user a set amount of times
  • Instance-based or global/site-wide notifications
  • (NEW) Users (e.g. teachers) can create and manage their own instance-based notifications - disabled by default
  • Enable/Disable a/all notifications (Site-wide and instance-based)
  • Edit/Delete/Restore notifications
  • Option to auto-delete notification after end-date
  • Option to permanently delete notifications that have had the deleted flag for more than 30 days
  • Option to automatically remove user (dismissed/seen) records that relate to notifications that don't exist anymore
  • AJAX used to improve user-experience and simplify processes
  • Live-preview when making/editing a notification
  • Easy to use, but fully documented with all the nitty-gritty information
  • Implements Privacy API (GDPR Compliance)

For full documentation, please check here - or check the plugin's `/docs` directory.


Notification Anatomy

Alert Types


Installation Notice

All the plugin's settings are disabled by default. Enable it upon installation if you wish to start using it immediately or enable it later by navigating to Site Administration > Plugins > Blocks > Advanced Notifications. 


Backwards Compatibility/Progressive Enhancement

Although the plugin works and is usable without JavaScript, it is highly recommended to use the plugin with JavaScript enabled. Using the plugin with JavaScript disabled does not allow for some features to be used to their full potential ranging from dismissing a notification to dynamically editing existing notifications and the live-preview feature - all of which relies on JavaScript in some form to make the user's experience more enjoyable.


Pull Requests

Pull requests are welcome - submit pull requests to address issues, add features, fix typos, anything!

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4

Contributors

Zander Potgieter (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Ricardo Caiado
    Fri, 18 Dec 2020, 12:49 PM
    Hi,

    It would be great if it was possible to selectively display the block to members of specific cohorts.

    Ricardo
  • Zander Potgieter
    Tue, 22 Dec 2020, 5:04 AM
    Hi Ricardo, thanks for the suggestion - please see my full response here: https://github.com/learningworks/moodle-block_advnotifications/issues/26

    In short, it's not currently possible to *push* notifications to groups or cohorts or the like, only to show them globally or a specific instance of a block.

    Pull requests are always welcomed, while trying to keep the core principle of the plugin alive - keeping it simple and easy to use.

    Thanks,
    Zander
  • Zander Potgieter
    Thu, 7 Jan 2021, 5:01 AM
    Thanks for reporting the issue and the detailed info, Ricardo! smile

    I've replied on GitHub and have now released a new version (v1.4.1) which significantly increases the maximum number of times a notification can be seen by a user. Please have a look at https://github.com/learningworks/moodle-block_advnotifications/issues/27 for more info.

    Hope that helps & thanks again,
    Zander
  • Shurmano Bengano
    Wed, 13 Jan 2021, 7:37 AM
    Hi. When i manage your plugin says: You don’t have permissions. ¿How can i fix?
  • Zander Potgieter
    Wed, 13 Jan 2021, 10:55 AM
    Hi Shurmano,

    What role(s) do you have in the system? And what were you doing before the message showed up?
    There are two main permissions that manage your access to the plugin's features - your role will need to be granted these permissions by an admin of the site:
    - block/advnotifications:managenotifications => Allows you create & manage ALL notifications
    - block/advnotifications:manageownnotifications => Allows you to create & manage ONLY notifications you created

    You can also create an issue here with detailed steps of how the error occurred, screenshots, Moodle/plugin version, etc: https://github.com/learningworks/moodle-block_advnotifications/issues

    Thanks,
    Zander
  • Kushan Rathnasekara
    Sat, 20 Feb 2021, 7:52 PM
    Dear All,

    I want to send auto-generated email to the enrolled students on new activity uploaded to the particular course. My moodle version is 3.10. Any possibility to accommodate that ? Pls Guide.
  • Zander Potgieter
    Wed, 24 Feb 2021, 10:28 AM
    Hi Kushan,

    I think that's a bit beyond the scope of this plugin. You can bulk message students from the 'Participants' page in a course to notify them of updates to the course, or another custom plugin is needed, sorry.

    All the best,
    Zander
  • Stefan Schoch
    Sat, 12 June 2021, 5:13 PM
    Hi there,

    thank you for that great plugin! 🙏

    Seems to be exactly what I was looking for to enhance sending out messages of different kinds to my students. 😊

    What I don't get: how can I achieve that the messages are displayed in the content area of a course page, not as a small block on the right side?
    I am using Moodle 3.9, Fordson theme and Edwiser course format.

    Currently it looks like this: but I would love to have the notification where the empty red rectangle is (as it is displayed on the Dashboard).

    Is there any way to achieve this?

    Stefan
  • Zander Potgieter
    Tue, 7 Sept 2021, 6:07 AM
    Hi Stefan, sorry for the delayed response… That is all dependant on the theme, this block can be placed wherever the theme allows blocks to be placed. You can ask the theme developer if they could add a block region there?

    Hope that helps.

    Thanks,
    Zander
  • Anie Hy
    Sun, 10 Oct 2021, 7:01 AM
    Hello, I like your plugin, nice and simple.
    is it possible to individualize the notification also e.g.: " Hello "title" "firstname" "lastname".

    And to select the "sender" of the message so that the attendees can see who the message is from?
    We have many course trainers/managers who manage their own courses.
    Maybe it already works and I didn't find it.
  • A Via Psicanálise
    Wed, 1 Dec 2021, 9:46 PM
    Dear all,
    What is the forecast to release version 3.11?
  • Allen Williams
    Thu, 3 Feb 2022, 6:16 PM
    Any chance for an upgrade to 3.11? Cannot get it to display, currently using 3.11.2. Very handy plugin...
  • L. Caputo
    Tue, 8 Feb 2022, 2:58 AM
    Hi Zander,

    Thanks so much for creating this plugin. I have a question regarding the plugin capabilities.

    Currently if you are using the advanced notifications, if you create one more than one announcement, they all show up. Is there a way that only one announcement can show up depending on which page you put it on? or am I doing something incorrectly?

    Thank you in advance.

    Thanks,
    Lisa
  • Zander Potgieter
    Thu, 10 Feb 2022, 7:23 AM
    Hi Anie, sorry for the very delayed response. I’m not sure about the ‘sender’ functionality, as this just displays the message. You can add the ‘from’ name in the message itself?

    Also, the text supports filters, so if you use a filter that can display the user’s name, etc, it should work. 👌

    Thanks,
    Zander
Please login to post comments