Advanced Notifications

Blocks ::: block_advnotifications
Maintained by Zander Potgieter
Easily create, manage and display notifications/alerts to users.

Advanced Notifications v1.2.4

Moodle 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5
Released: Friday, 20 July 2018, 9:26 AM

Build Status PRs Welcome

Allows for notifications to be easily managed and set to be displayed to users

This block allows users to display Bootstrap-like alerts (which can be easily styled differently in the theme or otherwise) with 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:

  • Customisable title
  • Customisable message
  • Basic HTML allowed for advanced users
  • Multiple types of notifications (Bootstrap-based)
  • Type-based icons (optional setting)
  • Dismissible/Non-Dismissible
  • Customisable date range to show notification from and to
  • Display a notification to the user a set amount of times
  • Instance-based or global/site-wide notifications
  • 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's had the deleted flag for more than 30 days
  • Option to automatically remove user (dismissed/seen) records that relates 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

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

Notification Anatomy

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!

Version information

Version build number
2018071817
Version release name
v1.2.4
Can be updated from
v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.1.0, v1.1.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3
Can be updated to
v1.3.2, v1.3.4, v1.3.5, v1.3.6, v1.3.7, v1.3.8 (2020042913), v1.3.9, v1.3.11, v1.3.12 (2020101317), v1.4.0, v1.4.1, v1.4.2 (2021021012), v1.4.3 (2022021419)
Maturity
Stable version
MD5 Sum
6355ed08160393dea5799ba33a6e6d49
Supported software
PHP 5.6, Moodle 2.9, Moodle 3.0, PHP 7.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, PHP 7.1, Moodle 3.4, PHP 7.2, Moodle 3.5
  • Latest release for Moodle 2.9
  • Latest release for Moodle 3.0
  • Latest release for Moodle 3.1
  • Latest release for Moodle 3.2
  • Latest release for Moodle 3.3
  • Latest release for Moodle 3.4
  • The more recent release v1.4.2 (2021021012) exists for Moodle 3.5

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master
VCS tag
v1.2.4

Default installation instructions for plugins of the type Blocks

  1. Make sure you have all the required versions.
  2. Download and unpack the block folder.
  3. Place the folder (eg "myblock") in the "blocks" subdirectory.
  4. Visit http://yoursite.com/admin to complete the installation
  5. Turn editing on in any home or course page.
  6. Add the block to the page
  7. Visit the config link in the block for more options.