Notifications

Blocks ::: block_notifications
Maintained by Goran 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.
Latest release:
367 sites
35 downloads
58 fans
Current versions available: 1

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

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

Comments RSS

Comments

  • Jor di
    Sun, 24 Sept 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
    ?
  • Goran Josic
    Mon, 25 Sept 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.
  • Michael Milette
    Sat, 17 Feb 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, 17 Mar 2018, 10:38 PM
    Hi,

    Any update to Moodle 3.4?

    Ricardo
  • Goran Josic
    Thu, 22 Mar 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.
  • sharika ha
    Thu, 16 May 2019, 2:29 PM
    Task '\block_notifications\task\notify' not found

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

    sad
  • Goran Josic
    Thu, 16 May 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.
  • Chris Klissiaris
    Fri, 24 May 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?
  • Goran Josic
    Fri, 24 May 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.
  • Chris Klissiaris
    Fri, 24 May 2019, 5:44 PM
    @Goran Josic not even when i have assigned and admin as teacher on a course?
  • Goran Josic
    Fri, 24 May 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.

  • Chris Klissiaris
    Fri, 24 May 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?
  • Goran Josic
    Fri, 24 May 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
  • Chris Klissiaris
    Thu, 30 May 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
Please login to post comments