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:
1842 sites
138 downloads
75 fans
Current versions available: 3

 Purpose
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.

Requirements
Moodle 3.0 is required.

Installation

  • 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).


Credits
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.

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

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

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

Comments RSS

Comments

  • Eric-Efrain
    Wed, 6 Mar 2019, 8:35 AM
    Hi, will there be an update for 3.6?
  • pierpaolo red
    Fri, 5 Apr 2019, 4:45 PM
    Hi! Does it work with Moodle 3.6?
  • Frankle Lee 李智高
    Thu, 25 Apr 2019, 10:05 AM
    I tried on my 3.6 and it doesnt work sad , waiting for upgrade.
  • Acqua Alta
    Sun, 26 May 2019, 1:58 PM
    Frank Lee, I installed the plugin on Moodle v3.6.3 and it works
    Do you mean that the plugin doesn't work at all (doesn't send e-mail at all)?
    Are you sure that your system has e-mail configured correctly?
  • Guillaume Allègre
    Sat, 8 June 2019, 6:42 AM
    The plugin has been tested with success on Moodle 3.6 and 3.7, with the default theme.
    If you find a failure, please tell us your precise Moodle version, which theme do you use, and what other plugins are installed.
  • Frankle Lee 李智高
    Sat, 8 June 2019, 9:25 AM
    Thanks, here is the debug info
    _________________________________
    Invalid database query parameter value
    Debug info: Objects are are not allowed: moodle_url
    Error code: codingerror
    ×Stack trace:
    line 859 of /lib/dml/moodle_database.php: coding_exception thrown
    line 1010 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->detect_objects()
    line 1372 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->normalise_value()
    line 89 of /message/output/weixin/message_output_weixin.php: call to mysqli_native_moodle_database->insert_record()
    line 475 of /lib/classes/message/manager.php: call to message_output_weixin->send_message()
    line 360 of /lib/classes/message/manager.php: call to core\message\manager::call_processors()
    line 328 of /lib/classes/message/manager.php: call to core\message\manager::send_message_to_processors()
    line 316 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 125 of /local/resourcenotif/resourcenotif.php: call to resourcenotif_send_notification()
    ____________________________________

    this plugin was working on my 3.4 with lambda theme. I have a msgoutput plugin call weixin to send the notification directly to an IM App call weixin(not by email), and they work perfectly.
    But they stopped working after my upgrade to 3.6 with the latest lambda theme.
    I do can see the button and fill the details before sending notification, but the above information popup after I click the send button.
    I tried to set email as my primary msgoutput and it works fine. So, I do believe this error is related to my weixin plugin.
    Any suggestion is appreciated! Thanks!
  • Guillaume Allègre
    Sat, 8 June 2019, 2:42 PM
    Frankle, sorry, I don't find the weixin plugin in the Moodle plugins list. Where does it come from?
  • Frankle Lee 李智高
    Sun, 9 June 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?
  • Guillaume Allègre
    Mon, 10 June 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?
  • xavier maitrepierre
    Fri, 19 July 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 ?
    Thank's.

    Other posts of mails are OK in my configuration.

    PS. Installed additionnal plugins :
    - https://moodle.org/plugins/local_resourcenotif [ = release 3.1.1 ]
    - https://moodle.org/plugins/theme_fordson [ = v3.5 release 3 update 16 ]
    - https://moodle.org/plugins/mod_lightboxgallery [ = 3.3.0.6 ]
    - https://moodle.org/plugins/block_course_modulenavigation [ = 4.1 ]
    - https://moodle.org/plugins/local_boostnavigation [ = v3.5-r8 ]
  • sushumna rao
    Tue, 17 Sept 2019, 11:19 PM
    Hi,
    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
  • Ardian Deari
    Thu, 3 Oct 2019, 5:40 PM
    Hi,
    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.
  • Guillaume Allègre
    Thu, 3 Oct 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.
  • Ardian Deari
    Thu, 3 Oct 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.
  • Ali Ahmadian
    Tue, 12 Nov 2019, 7:28 PM
    Hi
    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
Please login to post comments