Resource notification

General plugins (Local) ::: local_resourcenotif
Maintained by Guillaume Allègre
This Moodle plugin allows a teacher to notify course students by internal messaging when a new resource/activity is created or modified into a course.
Latest release:
1881 sites
74 fans
Current versions available: 3

This Moodle plugin allows a teacher to notify course students by messaging when a new resource/activity is created or modified into a course.

The notification is activated by an action performed by the teacher.
This new action is shown in a new entry at the end of the Edit dropdown menu, available for each resource or activity, on a course page.

The notification message contains two links by default, one to the resource, and the other to the course.
The Moodle admin can modify this default setting.
The teacher can change the text to send.                                                                                       

The teacher can control who the message is sent to, by default all the users enrolled into the course and allowed to view the resource.
The notification conforms to resource access restrictions such as course groups.

Moodle 3.0 is required.


  • Unpack or `git clone` under `local/`.
  • Install the plugin into Moodle with either by typing `php admin/cli/upgrade.php` (CLI) or by visiting '/admin/index.php' (web).
  • If you want additional translations (for example french), you may want to upgrade your language pack (doc).

This plugin was developped by Silecs and initially sponsored by Université Paris 1 Panthéon-Sorbonne, France in 2013.
Additional enhancements and migration to Moodle 3.0 were sponsored by Xi’an Jiaotong-Liverpool University (XJTLU), China in 2016, then in 2018 by IFMS Valenciennes (France) for the Boost upgrade.

Portuguese translations are contributed by Dinis Medeiros.

Please use Github Issues to report bugs. See Bug tracker URL below.


Screenshot #0
Screenshot #1
Screenshot #2


Guillaume Allègre (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Ardian Deari
    Sat, Nov 23, 2019, 7:55 AM
    I am using Moodle 3.8+ , even when I used Moodle 3.7 If I tried to send mobile notifications to more than 3 people, it would take a lot of time and it would result in time-out page...
    Web notifications and Email notifications are all right, but when I enable Mobile notifications it happens this problem. Please fix it.
  • François Lizotte
    Fri, Dec 13, 2019, 2:32 AM
    Running 3.6, after sending notification, I get this message : ERROR: handle_notification_sent - incomplete settings
    It doesn't seem to affect the notification process though.

  • Jose Maria Barroso
    Wed, Jan 29, 2020, 7:04 PM
    Hi Guillaume,

    First of all, congratulate yourself on the excellent plugin.

    However, I don't get the option to send notification with each resource. I am using moodle 3.8. Is the plugin compatible with moodle 3.8?

    Regards, and thank you very much.
  • Shakir Gill
    Wed, Mar 25, 2020, 6:07 AM
    After the enrollment changes the plugin still includes previously enrolled students. For instance, if the participants were initially if there were 50 participants and now there are 30, notification will be sent to 50 students even though the current list of participants are 30
  • abod salem
    Sat, Jul 4, 2020, 6:52 PM
    Dear ,
    thanks for this amazing plugin. Actually after installed the plugin and try to notify student of the course it work good but at the top of the page "resourcenotif.php" after the "body element " it print the email and full-name like this "maram User"
  • Ricardo Caiado
    Tue, Aug 18, 2020, 4:45 AM
    Is it compatible with 3.9+ version of Moodle?
  • Valdomiro Rone dos Santos
    Fri, Oct 2, 2020, 2:26 AM
    Hi Guillaume,

    Is it compatible with 3.9+ version of Moodle?
  • Kushan Rathnasekara
    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. Txs (This plugin is not compatible with 3.9 or 3.10. My system crashed by installing this. Pls let me have an update one or any alternative solution to achieve the above task. Thank you so much !!!
  • Guillaume Allègre
    Mon, Mar 22, 2021, 1:19 AM
    Please note that we have uploaded an upgrade. No new feature but the plugin has been rewritten to use the classes and autoloading system, much easier to maintain. It's compatible with Moodle 3.4 to 3.10 and (hopefully) future versions too.
    This has been tested with the Boost theme. The addition of "notification" icon in the activity menu is a touchy piece of javascript, no warranty with other themes.
    For bug reports, please use Github issues.
  • tarannum warsi
    Sun, Apr 4, 2021, 7:47 PM
    Could you please suggest how we could open the topics directly after clicking on our in-app push notification rather than landing on the beginning of the course and go through a series of clicks to get to the latest topic released. When we click on the notification on our phones currently: For androids it lands on homepage and for ios app it lands on message box.
    We want the topic to be opened directly on the app for which the notification was sent originally.
  • Guillaume Allègre
    Fri, Apr 9, 2021, 9:44 PM
    Hello Tarannum Warsi,

    In the notification message, the linkactivity should lead you directly to the activity.
    If you think it's confusing for the user to display 2 links, you can delete linkcourse from the default message.

    If yout think there is another problem, please follow-up by opening an issue on the github repository.
  • António Parreira, E-learning Medicare
    Tue, May 4, 2021, 11:12 PM
    When i want to send a resource notification, moodle give the follow error:

    "Exceção - Class 'local_resourcenotif\stdClass' not found"

    I'm using the Theme "Edumy"

    Can you help me to solve this?

  • Iñigo Zendegi Urzelai
    Mon, Nov 8, 2021, 3:27 PM
    I've seen that MDL-70083 [1] has recently been integrated for Moodle 4.0, and it seems to add a functionality similar to the one of this plugin, it may deserve to adapt the plugin to hook in that new core functionality.

  • Janos Nemes
    Thu, Nov 10, 2022, 9:49 PM
    Hi All!

    I have the same issue

    Exception - Class 'local_resourcenotif\stdClass' not found
    (Moodle version Moodle 3.9.4+)

    After some testing this error occurs when trying to send notification for restricted activities.

    Any solution?

  • Computers Center Unit
    Sun, Nov 5, 2023, 6:49 AM
    hell All,

    i have installed this plugin on my moodle 4.0 and everything looks fine.
    after first test of sending a notifications to our students, i got an error:
    Access denied. Your IP address is blacklisted. If you feel this is in error please contact your hosting provider's abuse department.

    any comments\help plz

    thank u in advanced.
1 2 3 4 5
Please login to post comments