Blocks: Notifications

block_notifications
Maintained by Picture of Goran JosicGoran Josic
Not always logged in, you want to be up to date about new content, discussions or events in your Moodle courses? This moodle block implements a solution that periodically notifies learners about new content or activities included into a Moodle course. This solution will act as a sentinel that detects whether new contents or new activities have been included into the Moodle course, and notify the learners and/or the instructors about that. Notifications methods are: e-mail message RSS aggregator SMS message There is also a version of this plugin for Moodle 1.9 that can be downloaded from the Website.
819 sites
272 downloads
42 fans
Moodle 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Picture of Goran Josic
Goran Josic (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Jor di
    Sun, Sep 24, 2017, 10:07 PM
    Hi does this plugin aldo notify when a section is opened by date.. i mean when a conditional acces is reached
    ?
  • Picture of Goran Josic
    Mon, Sep 25, 2017, 3:09 PM
    @ Jor di

    No, the notification plugin notifies only the standard moodle events. This is not a moodle event per se so the plugin is not going to notify this type of user action.
  • Picture of Michael Milette
    Sat, Feb 17, 2018, 3:44 PM
    Is this plugin compatible with Moodle 3.4 yet? If not, when do you think it will be?
  • Ricardo Caiado
    Sat, Mar 17, 2018, 10:38 PM
    Hi,

    Any update to Moodle 3.4?

    Ricardo
  • Picture of Goran Josic
    Thu, Mar 22, 2018, 12:22 AM
    Sorry for the delay, I was quite busy lately. The current version works also with moodle 3.4. Let me know if you find bugs.
  • Picture of sharika ha
    Thu, May 16, 2019, 2:29 PM
    Task '\block_notifications\task\notify' not found

    i got this message
  • Picture of sharika ha
    Thu, May 16, 2019, 2:54 PM
    I did run the task manually, and i got this message:
    Task '\block_notifications\task\notify' not found

    sad
  • Picture of Goran Josic
    Thu, May 16, 2019, 6:04 PM
    @sharika

    You need to run the cli command as root or as the apache user. I don't know how it is on windows but on GNU/Linux the user is usually www-data.

    sudo -u www-data php your_moodle_root/admin/tool/task/cli/schedule_task.php --execute='\block_notifications\task\notify'

    The task file exists and I was able to run it on my machine using that command.

    Reference: https://github.com/arael/moodle_notifications_20/blob/master/classes/task/notify.php

    Unfortunately since I can not replicate this issue I cannot study it and understand where is the problem.
  • Picture of Chris Klissiaris
    Fri, May 24, 2019, 4:23 PM
    Hello, i installed teh plugin everything looks ok but i dont get notificiations at all. Although i noticed that there is no option for the frequency of checking for new contents. I am using Moodle 3.6.

    Any ideas please?
  • Picture of Goran Josic
    Fri, May 24, 2019, 4:53 PM
    @ChrisKlissiaris

    The admin actions are not notified because they are considered adminstration and not teacher actions.

    The frequency of the notifications is managed by moodle under /admin/tool/task/scheduledtasks.php.

    Hope that helps.
  • Picture of Chris Klissiaris
    Fri, May 24, 2019, 5:44 PM
    @Goran Josic not even when i have assigned and admin as teacher on a course?
  • Picture of Goran Josic
    Fri, May 24, 2019, 5:53 PM
    @ChrisKlissiaris

    If you are the teacher and you have added the block to the course you can test if it runs by running the task manually with this command:

    sudo -u www-data php your_moodle_root/admin/tool/task/cli/schedule_task.php --execute='\block_notifications\task\notify'

    Please fix the path according to your settings and post here or on github any errors.

  • Picture of Chris Klissiaris
    Fri, May 24, 2019, 6:11 PM
    @goran Josic

    Got me there. I dont have console access or the knowledge. I connected through winscp but the command line give me uknown command (prolly)

    Can we please get this in private discussion?
  • Picture of Goran Josic
    Fri, May 24, 2019, 6:20 PM
    @ChrisKlissiaris

    You can run individual tasks also through the interface.

    https://docs.moodle.org/37/en/Scheduled_tasks#Running_individual_tasks

    If you find bugs please report them on the github: https://github.com/arael/moodle_notifications_20
  • Picture of Chris Klissiaris
    Thu, May 30, 2019, 11:51 PM
    I think i found the problem. On the cron jobs the notifications cron is se to no. But i cant find how to change this.
    Cause every time i manually run the cron.php it works
1 2 3 4 5 6 7
Please login to post comments