General plugins (Local): Resource notification

local_resourcenotif
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.
687 sites
412 downloads
40 fans
Current versions available: 1

 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.


Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

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 李智高
    Sat, Jun 8, 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!
  • Picture of Guillaume Allègre
    Sat, Jun 8, 2019, 2:42 PM
    Frankle, sorry, I don't find the weixin plugin in the Moodle plugins list. Where does it come from?
  • 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 ?
    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 ]
  • Picture of sushumna rao
    Tue, Sep 17, 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
  • Picture of Ardian Deari
    Thu, Oct 3, 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.
  • 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
    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
  • Picture of Ardian Deari
    Sat, Nov 23, 2019, 7:55 AM
    Hi,
    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
    Hello,
    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 @df.com====maram aiijaleel@df.com====Admin User"
1 2 3 4
Please login to post comments