Your Moodle version

Reports: Dates

report_editdates
Maintained by Tim at Lone Pine Koala Sanctuary Tim Hunt
This 'report' is actually a tool to let you edit all the dates in a course on one page.
326
512
15

This 'report' is actually at tool that lets you edit all the dates for all] the activities in your course on a single page.

Once the plugin is installed, you can access the functionality by going to Course administration -> Reports -> Dates in the navigation block when you are looking at the course.

Sets

This plugin is part of set Open University.

Contributors

Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Matthew Kelly
    Thu, Apr 16, 2015, 12:15 AM
    Tim - We had implemented this for our 2.2 environment and it worked great. Our faculty were very happy that they could go to one spot and modify all the dates for their course contents. However, after upgrading to 2.7 and we are experiencing issues with the plugin:

    The main issue occurs with uploaded files. The plugin seems to work fine with Assignments, but with an Activity Type of "Upload File to Moodle" there are issues. If a powerpoint or other file is added as this activity type, it does not show up in the Dates page. If a date restriction is manually added on the activity, it shows up in the page, but the date cannot be altered from the Dates page. Instead you see: "Edit restricted access (opens a new window)" which makes you go to the item individually to modify the restricted dates (which defeats the purpose of the plugin).

    I've also noticed that in some courses, the Activity Type "All" is not available in the drop down.

    Am I doing something wrong? Thanks in advance for your help.
  • Picture of Matthew Kelly
    Thu, Apr 16, 2015, 12:19 AM
    There is another plugin called "availability restrictions" that is active. Could this plugin be conflicting?
  • Tim at Lone Pine Koala Sanctuary
    Thu, Apr 16, 2015, 12:29 AM
    This plugins needs a helper for each type of activity you want it to support. https://github.com/moodleou/moodle-report_editdates/tree/master/mod. If you are using some custom activity type, and you want this plugin to support it, then you will need to code that bit yourself.

    The Activity Type "All" thing is because we were having problems when the form got too big. Therefore, if the course has too many activities, that option is not available. If you want to risk it, you can change this constant to something bigger than 20 https://github.com/moodleou/moodle-report_editdates/blob/master/index.php#L29
  • Picture of Matthew Kelly
    Thu, Apr 16, 2015, 12:33 AM
    Thank you so much for your quick response Tim! I will give this a try!
  • Picture of Matthew Kelly
    Fri, Jun 12, 2015, 4:04 AM
    Tim, thank you again for your assistance. We are still having one last issue with this. There doesn't appear to be functionality for Assignment Type "Upload File to Moodle" (aka "resource). So when a faculty member would like to add date ranges to things like PowerPoints or other files, the functionality does not exist. I don't believe this is a custom activity type, but after re-reading your last response I wasn't sure. I believe if needed we could go ahead and create a helper file for this activity type. I just wanted to check in with you before we did that to make sure we are thinking this through properly. Am I missing anything or should faculty be using a different, non-custom activity to upload files to Moodle and set date ranges?
  • Tim at Lone Pine Koala Sanctuary
    Fri, Jun 12, 2015, 4:29 AM
    Well, in Moodle 2.something, conditional availability conditions became much more complicated, so unfortunately we had to remove them from this plugin for all activities.

    So, adding a helper for mod_resource would only help in the short-term.

    Unless, of course, you wanted to work out how to allow editing of the dates for the new complex availability rules for all activities.
  • Picture of Matthew Kelly
    Fri, Jun 12, 2015, 4:40 AM
    Update/clarification to my last comment: "Restrict Access" and "Availability" (this plugin) are two separate things and it appears that the date range functionality only applies to "Activity Types" whereas "Upload File to Moodle" (or "Resource") does not have the option to set a date range. In your opinion, would be the best way to proceed? Can we somehow grant the date range functionality to a Resource type?
  • Tim at Lone Pine Koala Sanctuary
    Wed, Dec 9, 2015, 12:47 AM
    Thanks to Eric Merrill for verifying that this plugin works in Moodle 3.0
  • Picture of Tim Martinez
    Sat, Feb 13, 2016, 12:44 AM
    One of our teachers is having issues with the report in a course. She made a copy of a course by backing it up and then restoring it as a new course. She used the report to change the due dates of the new course and they keep changing. When she opens the report to correct them, some of the activities are reverting back to the date in the original course and some of the dates are changing to the day she opened the report. We can't find anything in the log about how it's happening. Any idea where we should start looking?
  • Picture of John Kim
    Sat, Feb 13, 2016, 5:19 AM
    I am getting Error 500 - Internal Server Error
    An error was encountered while processing your request. Typically this is a temporary condition. Please contact the web site owner for further assistance.
    ----------------------
    This error message appears when I click on Dates in Reports section after installation.... Any ideas how to correct the error?
  • Tim at Lone Pine Koala Sanctuary
    Mon, Feb 15, 2016, 9:29 PM
    First, turn on Debugging to get a more helpful error message.
  • Tim at Lone Pine Koala Sanctuary
    Mon, Feb 15, 2016, 9:32 PM
    @Tim I don't have any specific ideas. It certainly sounds like an odd set of symptoms. I think standard debugging techniques will have to apply: First try to reproduce this on a test server. Once you have clean steps to reproduce, try adding extra debug statements to the code to work out what is happening.
  • Picture of Ryan Avery
    Mon, May 9, 2016, 10:30 PM
    I'd love to have an option that would list everything on one page in a course that has a due date attached from assignments and quizzes to TurnItIn and everything between. The less clicking to navigate would be best.
  • Picture of Алексей Буренко
    Tue, May 10, 2016, 6:37 PM
    Tim Hunt

    wrote...

    The Activity Type "All" thing is because we were having problems when the form got too big. Therefore, if the course has too many activities, that option is not available. If you want to risk it, you can change this constant to something bigger than 20 https://github.com/moodleou/moodle-report_editdates/blob/master/index.php#L29

    what kind of risks do you mean?
    Can I change the value to 60?
  • Picture of Алексей Буренко
    Fri, May 20, 2016, 2:47 AM
    If you click Save changes in the report, Restrict ratings to items of all forums automatically labeling of the current date

    Can u fix this this?
1 2 3 4
Please login to post comments