Advanced Notifications

Blocks ::: block_advnotifications
Maintained by Zander Potgieter, Learning Works
Easily create, manage and display notifications/alerts to users.
Latest release:
1466 sites
103 fans
Current versions available: 2

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.



  • 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!


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


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

Comments RSS

Show comments
  • Sat, Dec 5, 2020, 3:21 AM
    Nice plugin, when will it be available for version 3.10?
  • Wed, Dec 9, 2020, 7:39 AM
    Hi Santos,
    I suspect it should still work for Moodle v3.10 - but I will test it soon and officially update it.
  • Fri, Dec 18, 2020, 12:26 PM
    Hi Renee (& others interested), the plugin has been updated to now support users to manage their own notifications. Give the role(s) you want the permission `manageownnotifications` and they will be able to make their own instance-based (not global) notifications.
    More info here:

    This update also ensured the plugin supports Moodle v3.10!

    Hope this helps!

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

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

  • Tue, Dec 22, 2020, 5:04 AM
    Hi Ricardo, thanks for the suggestion - please see my full response here:

    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.

  • Thu, Jan 7, 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 for more info.

    Hope that helps & thanks again,
  • Wed, Jan 13, 2021, 7:37 AM
    Hi. When i manage your plugin says: You don’t have permissions. ¿How can i fix?
  • Wed, Jan 13, 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:

  • Sat, Feb 20, 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.
  • Wed, Feb 24, 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,
  • Sat, Jun 12, 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?

  • Tue, Sep 7, 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.

  • Sun, Oct 10, 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.
  • Wed, Dec 1, 2021, 9:46 PM
    Dear all,
    What is the forecast to release version 3.11?
1 2 3 4
Please login to post comments