Advanced Notifications

Blocks ::: block_advnotifications
Maintained by Zander Potgieter
Easily create, manage and display notifications/alerts to users.
Latest release:
1851 sites
371 downloads
124 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

Show comments
  • Zander Potgieter
    Thu, Feb 10, 2022, 7:26 AM
    Hi there A Via & Allen & others, I’ll try to release a version for the latest version of Moodle in the near future. Allen, have you tried displaying a notification as a global type? Any error messages?

    Thanks,
    Zander
  • Zander Potgieter
    Thu, Feb 10, 2022, 7:28 AM
    Hi L. Caputo,

    If you add a block to a page and add a notification from that block (and deselect the global type option) it should only display for that block on that page.

    Global types are displayed everywhere as it’s meant for very important alerts - site going down for maintenance, holiday closures, etc.

    Hope this helps! 😊

    Thanks,
    Zander
  • Ridhima Suri
    Thu, Feb 24, 2022, 2:26 AM
    Will this plugin be available for Moodle 4.0?
  • Zander Potgieter
    Thu, Feb 24, 2022, 3:23 PM
    Hi Ridhima,

    Yes, it should keep on working.

    I will test it though when 4.0 is released to make sure, and release a new version of the plugin to indicate it is compatible.

    Thanks,
    Zander
  • Celeste Demby
    Wed, Mar 23, 2022, 2:42 AM
    I can't get a notification to stop being displayed even after I deleted it. Any help on how to solve this issue?
  • Zander Potgieter
    Mon, Aug 8, 2022, 12:14 PM
    Hi Celeste,
    what version of Moodle are you running? It's working for me on Moodle 3.11.
    Thank,
    Zander
  • Bayram Altintas
    Fri, Sep 23, 2022, 1:43 AM
    Hi Zander,

    If I don't tick "Dismissible?" box and make "# of times" 0 and select the same date, then the block's actions menu disappears and it doesn't allow me to change the settings again. How can I get rid of this situation?

    Thanks in advance,
    Bayram
  • Picture of Greg in grey shirt smiling
    Fri, Feb 17, 2023, 2:46 AM
    Hi Zander - We absolutely love this plug-in! Do you have a time frame or plan to release a Moodle 4.x version?
    Thanks,
    Greg
  • Georgina Knight
    Thu, Mar 16, 2023, 5:16 PM
    Hi Zander,

    I can see that Greg has already asked but we are looking to use this plugin on v4.1 and we were also wondering what the time frame is for release?

    Thank you
    Georgina
  • Alex Ferrer
    Mon, Mar 20, 2023, 5:08 PM
    This is a great plugin. Can I ask about Moodle 4.0 and 4.1 implementation?
  • Batool Almomani
    Mon, Apr 3, 2023, 6:01 PM
    Hi, can i customize the notification display for specific student or for specific course student ??

    thank you
  • Zander Potgieter
    Tue, Apr 4, 2023, 8:33 AM
    Hi Everyone, I'll try to give it a test on 4.x soon and update the releases page to show it's compatible.
  • Zander Potgieter
    Tue, Apr 4, 2023, 8:34 AM
    Hi Batool,
    You can set it to show in a specific course, but not to a specific student - that's not really the purpose of the plugin, sorry.
  • Wazza
    Fri, Jun 16, 2023, 8:00 PM
    @Zander Potgieter, any news on a 4.X version?
  • Roger Segú
    Mon, Nov 6, 2023, 9:40 PM
    Hi @Zander, great plugin, thanks!! I'd be very interested in using it in version 4.1, so please count on me if I could be of any help at testing and by contributing any necessary changes. As a plugin maintainer myself I'm aware of how daunting it may be to be continuously being pushed to update the plugins, so I mean no pressure at all but the opposite. In case it may be useful, just let you know that I tested it locally by upgrading the version number in version.php and it works all right; however, I don't know if there might be any other relevant issues to be aware of, i.e. regarding databases. Thanks again smile
1 2 3 4 5
Please login to post comments