General plugins (Local): Resource notification

Maintained by Picture of Guillaume AllègreGuillaume 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.
1144 sites
47 fans
Current versions available: 1

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.


Screenshot #0
Screenshot #1
Screenshot #2


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

Comments RSS

Show comments
  • Picture of Frankle Lee 李智高
    Sun, Jun 9, 2019, 7:45 PM
    The weixin plugin is developed by a private company, it is not a public plugin. It works from 2.9 to 3.6 and still working perfectly except for resource notification. It worked with resource notification on my 3.4 and stopped working after my upgrade to 3.6. So, should I look into the differences between 3.4 and 3.6 on message output?
  • Picture of Guillaume Allègre
    Mon, Jun 10, 2019, 12:38 AM
    Hello Frankle. The bug/incompatibility may be in resource_notification, or in weixin, or, more probably in-between. I'm very sorry, but if the weixin code is private, I can't investigate the problem. Maybe you should ask the weixin developpers?
  • Picture of xavier maitrepierre
    Fri, Jul 19, 2019, 9:05 PM
    Hello Guillaume,
    I try your notification plugin with Moodle3.5.6+/Fordson3.5.3.16 without success.
    Here is the debug info =
    line 296 of /lib/messagelib.php: call to core\message\manager::send_message()
    line 154 of /local/resourcenotif/lib_resourcenotif.php: call to message_send()
    line 99 of /local/resourcenotif/lib_resourcenotif.php: call to resourcenotif_send_email()
    line 103 of /local/resourcenotif/resourcenotif.php: call to resourcenotif_send_notification()

    What do you think of that ?

    Other posts of mails are OK in my configuration.

    PS. Installed additionnal plugins :
    - [ = release 3.1.1 ]
    - [ = v3.5 release 3 update 16 ]
    - [ = ]
    - [ = 4.1 ]
    - [ = v3.5-r8 ]
  • Picture of sushumna rao
    Tue, Sep 17, 2019, 11:19 PM
    I tried resource notification plug in in 3.7 version but not able to send notification to individual user. Though one user selected the mail is going to all users
  • Picture of Ardian Deari
    Thu, Oct 3, 2019, 5:40 PM
    This is one of the best plugins I have ever used in our school. You can send Push Notifications to students enrolled in courses. It makes the impossible possible!
    Please, please, please UPDATE it to new version 3.7.x and fix some of the issues we are facing like error 504- time out etc.
  • Picture of Guillaume Allègre
    Thu, Oct 3, 2019, 7:53 PM
    Hello, as I have previously written on Sat, 8 Jun 2019, 12:42 AM, we have tested Resourcenotif with success on Moodle 3.6 and 3.7, with the default theme.

    The few errors we have been able to reproduce recently were due to an exotic theme, which was messing with our javascript actions.

    Please be very specific when reporting an error, and tell us the theme used, and the other non-standard installed plugins.
  • Picture of Ardian Deari
    Thu, Oct 3, 2019, 8:38 PM
    No other plugins installed only Resource Notifications.
    After sending group notifications I get "Error 504: Gateway time-out". I have no idea what should I do. However, I have seen no other plugins worth it like this one. So, guys please concentrate yourself a bit in here and make it best way you can.
    For instance, I publish a quiz for my students, after that I send them push notifications in their mobile phones (as we know, 90% of the students nowadays use mobile phones and it's much easier for them). Then, I wait for 1 minute the site kind of goes down and comes back after 15 mins (meanwhile it says Error: 504 Gateway timeout).
    There are no other errors I can notice.
    If there is a fix for this please share it. Thanks milions of times for this wonderful plugin.
  • Picture of Ali Ahmadian
    Tue, Nov 12, 2019, 7:28 PM
    I am using moodle 3.0.4.I installed plugin but when i want to send notification it shows error code:
    Coding error detected, it must be fixed by a programmer: Invalid property courseid specified.

    How can I solve the problem.
    Thank you
  • Picture of 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.

  • Picture of 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.
  • Picture of 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
  • Picture of 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?
  • Picture of Valdomiro Rone dos Santos
    Fri, Oct 2, 2020, 2:26 AM
    Hi Guillaume,

    Is it compatible with 3.9+ version of Moodle?
1 2 3 4
Please login to post comments