General plugins (Local): Resource notification

local_resourcenotif
Maintained by Picture of Guillaume Allègre 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.
318 sites
302 downloads
30 fans
292 sites
139 downloads
35 fans

 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 Benoît Lathière
    Mon, Dec 11, 2017, 10:03 PM
    Hello!
    There is a 'lib.php' file in the original Silecs's version (downloadable from this page). The function need to be fixed for Moodle 3.2 (and maybe above).
    cheers. My code is more simple than the original one, and works well on Moodle 3.2.
  • Picture of tamas erdelyi
    Mon, Dec 11, 2017, 10:36 PM
    Sorry I don´t understand, I just put a file named lib.php into /local/resourcenotif with the script content above, nothing changed, did I forgot something? thanks tom
  • Picture of Benoît Lathière
    Mon, Dec 11, 2017, 11:07 PM
    I don't understand your message. There is already a 'lib.php' in the zip available this page.
    I can't help You more sad
  • Picture of tamas erdelyi
    Mon, Dec 11, 2017, 11:50 PM
    now I get it sorry, I always tried with github, thanks a lot!!!
  • Picture of tamas erdelyi
    Mon, Dec 11, 2017, 11:59 PM
    tried it, not working with 3.3, may have to wait, thanks anyway!
  • Picture of Radoslav Bielik
    Wed, Mar 14, 2018, 5:39 AM
    I've set this up successfully on a Moodle 3.4 site today after a bit of testing - this is an older site still using the "Clean" theme. Version 2016081801of the plugin worked out of the box, although the rendering of the menu item was a few pixels off to the left. This can be fixed by editing lib.php and dropping the "iconsmall" style - deleting the following snippet of code (if anyone is facing the same issue):
    'class' => 'iconsmall',

    It doesn't work with the "Boost" theme, at least on Moodle 3.4, but the newer GitHub fork by Vertmo works with that one (but not with the "Clean" theme - so pick the one you need). It can be cloned from here: https://github.com/Vertmo/moodle-local-resourcenotif

    This is essentially the same version that Benoît posted above on Oct 4, 2017 (there are some minor differences, but the version pasted in the comment above didn't work for me - it seems one line of code is missing).

    Hopefully this will help someone. Ideally, the plugin will be upgraded at some point by the author - it's a very useful one so let's hope! smile
  • Picture of Ejiro Ekpogbe
    Thu, Mar 29, 2018, 7:18 PM
    Hello Benoit,
    I have followed your instructions but still wasn't successful. I am using the Boost theme Fordson, Moodle 3.2.
    Could you please guide me on how to make the resource notification plugin work for our moodle site?

    Thanks
  • Picture of Guillaume Allègre
    Fri, Mar 30, 2018, 4:42 AM
    A new version (3.1.0) is now available, handling both Clean and Boost - and their derivatives.
  • Picture of Guillaume Allègre
    Tue, Jul 10, 2018, 9:26 PM
    A new version (3.1.1) is available for all 3.x Moodle versions, including the latest 3.5.1
    Added a workaround for a moodle bug when redirecting after the recipient clicked on message read.
  • Profile pic
    Fri, Aug 31, 2018, 1:48 AM
    Does anyone know how to fix this error?

    Detectado un error de codificación, debe ser corregido por un programador: Invalid property courseid specified
  • Picture of Arnaud Trouvé
    Tue, Sep 11, 2018, 7:09 PM
    My answer on github : https://github.com/silecs/moodle-local-resourcenotif/issues/4
    Moreover this page should be updated to mark releases 3.1.0 & 3.1.1 as not compatible with Moodle 3.0 & 3.1.
  • Picture of Amit Kumar
    Wed, Sep 26, 2018, 12:08 PM
    Hi,

    If we will send resource notification 100 + user, it will take much time to send email and screen goes blank.

    Does anyone know how to fix this issue.
  • Picture of Eric-Efrain Solano-Uscanga
    Wed, Mar 6, 2019, 8:35 AM
    Hi, will there be an update for 3.6?
  • Picture of pierpaolo red
    Fri, Apr 5, 2019, 4:45 PM
    Hi! Does it work with Moodle 3.6?
  • Picture of Frankle Lee 李智高
    Thu, Apr 25, 2019, 10:05 AM
    I tried on my 3.6 and it doesnt work sad , waiting for upgrade.
1 2 3
Please login to post comments