Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-31355

Link a due date from Forum to the Calendar.

XMLWordPrintable

    • MySQL
    • MOODLE_22_STABLE, MOODLE_36_STABLE
    • MOODLE_37_STABLE
    • MDL-31355-master
    • Hide

      Manually enter forum due dates into the calendar.

      Show
      Manually enter forum due dates into the calendar.
    • Hide

      Creating a forum

      1. Login as a teacher of a course
      2. Add a new forum activity to the course.
      3. On the 'Adding a new Forum' page, expand the 'Availability' section and set a due date and a cut-off date.
      4. Submit the form to create the forum.
      5. Go to the calendar from the course and verify that you can see an event that is related to the forum
      6. Verify that the event's date is on the due date
      7. Verify that there is no event on the cut-off date

      Editing a forum

      1. Log in as a teacher
      2. Edit the forum's settings and change the due date and the cut-off date.
      3. Go to the calendar and verify that the forum's due date on the calendar is updated.

      In action, when the due date is in future

      1. Log in as a teacher
      2. Edit the forum,'s settings and make sure that the forum's due date is set to a date in future. If not, change that to a date in future and save the form.
      3. Now log in as a student and go to the forum.
      4. Verify that the due date of the forum is being displayed to you at the top of the page.
      5. Verify that you see the "Add a new discussion" button. Click on that button and post something to the forum.
      6. Go to the discussion you created. Verify that the due date of the forum is being displayed there as well.
      7. Verify that you can reply to your post by clicking on the reply button and posting a reply.

      In action, when the due date is in the past, but the cut-off date is in future

      1. Log in as a teacher
      2. Edit the forum,'s settings and make sure that the forum's due date is set to a date in the past, and the forum cut-off date is set to a date in future. Adjust the value of the fields to meet the mentioned condition and save the form.
      3. Now log in as a student and go to the forum.
      4. Verify that the due date of the forum is being displayed to you at the top of the page.
      5. Verify that you see the "Add a new discussion" button. Click on that button and post something to the forum.
      6. Go to the discussion you created. Verify that the due date of the forum is being displayed there as well.
      7. Verify that you can reply to your post by clicking on the reply button and posting a reply.

      In action, when the cut-off date is in the past

      1. Log in as a teacher
      2. Edit the forum,'s settings and make sure that both the forum's due date and cut-off date are set to dates in the past. If not, change them to dates in past (for example to yesterday and to the day before yesterday) and save the form.
      3. Now log in as a student and go to the forum.
      4. Verify that you see a message saying the cut-off date is reached.
      5. Verify that you cannot create new discussions in the forum (there shouldn't be a button to create a new discussion)
      6. Go to a discussion
      7. Verify that you see a message saying the cut-off date is reached.
      8. Verify that you cannot reply to any post

      Drag & Drop

      1. Log in as a teacher of a course
      2. Add a new forum activity (name it "forum2") to the course.
      3. On the 'Adding a new Forum' page, expand the 'Availability' section and set a due date and a cut-off date.
      4. Go to the calendar in the course
      5. Find the event that is for "forum2" in the calendar
      6. Start to drag the forum event
      7. Confirm that you get an error message when you try to drop the event on an invalid day
      8. Confirm that if you drop the event on a valid day that the calendar is updated correctly
      9. Go to the settings of "Forum2" and confirm that the due date for the forum is updated  correctly
      Show
      Creating a forum Login as a teacher of a course Add a new forum activity to the course. On the 'Adding a new Forum' page, expand the 'Availability' section and set a due date and a cut-off date. Submit the form to create the forum. Go to the calendar from the course and verify that you can see an event that is related to the forum Verify that the event's date is on the due date Verify that there is no event on the cut-off date Editing a forum Log in as a teacher Edit the forum's settings and change the due date and the cut-off date. Go to the calendar and verify that the forum's due date on the calendar is updated. In action, when the due date is in future Log in as a teacher Edit the forum,'s settings and make sure that the forum's due date is set to a date in future. If not, change that to a date in future and save the form. Now log in as a student and go to the forum. Verify that the due date of the forum is being displayed to you at the top of the page. Verify that you see the "Add a new discussion" button. Click on that button and post something to the forum. Go to the discussion you created. Verify that the due date of the forum is being displayed there as well. Verify that you can reply to your post by clicking on the reply button and posting a reply. In action, when the due date is in the past, but the cut-off date is in future Log in as a teacher Edit the forum,'s settings and make sure that the forum's due date is set to a date in the past, and the forum cut-off date is set to a date in future. Adjust the value of the fields to meet the mentioned condition and save the form. Now log in as a student and go to the forum. Verify  that the due date of the forum is being displayed to you at the top of the page. Verify  that you see the "Add a new discussion" button. Click on that button and post something to the forum. Go to the discussion you created.  Verify  that the due date of the forum is being displayed there as well. Verify  that you can reply to your post by clicking on the reply button and posting a reply. In action, when the cut-off date is in the past Log in as a teacher Edit the forum,'s settings and make sure that both the forum's due date and cut-off date are set to dates in the past. If not, change them to dates in past (for example to yesterday and to the day before yesterday) and save the form. Now log in as a student and go to the forum. Verify that you see a message saying the cut-off date is reached. Verify that you cannot create new discussions in the forum (there shouldn't be a button to create a new discussion) Go to a discussion Verify that you see a message saying the cut-off date is reached. Verify that you cannot reply to any post Drag & Drop Log in as a teacher of a course Add a new forum activity (name it "forum2") to the course. On the 'Adding a new Forum' page, expand the 'Availability' section and set a due date and a cut-off date. Go to the calendar in the course Find the event that is for "forum2" in the calendar Start to drag the forum event Confirm that you get an error message when you try to drop the event on an invalid day Confirm that if you drop the event on a valid day that the calendar is updated correctly Go to the settings of "Forum2" and confirm that the due date for the forum is updated  correctly

      When creating a forum, I would like to see a new item added that states:
      "Show this due date in the Calendar."

      This can go either above or below the "Restrict ratings to items with..." items, but it should not replace these "Restrict ratings..." items. Each will serve its own purpose. Currently, the forum setup webpage is lacking a connection to the calendar.

      With this approach, a forum can remain open even after the due date just in case students want to continue discussion. By also having the "Restrict dates..." field, it becomes obvious when student do not post by the due date. So I believe that all of these fields can work well together. However, maybe this post will stimulate some even better ideas.

        1. 01_create_forum.PNG
          01_create_forum.PNG
          192 kB
        2. 02_fill_fields.PNG
          02_fill_fields.PNG
          81 kB
        3. 03_event_created.PNG
          03_event_created.PNG
          87 kB
        4. 04_link_in_description.PNG
          04_link_in_description.PNG
          13 kB
        5. 05_edit_forum.PNG
          05_edit_forum.PNG
          88 kB
        6. 06_change_duedate.PNG
          06_change_duedate.PNG
          24 kB
        7. 07_event_updated.PNG
          07_event_updated.PNG
          21 kB
        8. 08_disable_duedate.PNG
          08_disable_duedate.PNG
          20 kB
        9. 09_delete_forum.PNG
          09_delete_forum.PNG
          33 kB
        10. MDL-31355-add-duedate-forum-event-calendar.diff
          8 kB
        11. should be completed by.jpg
          should be completed by.jpg
          145 kB
        12. Test 1,2 & 3_Confirmed fixed.png
          Test 1,2 & 3_Confirmed fixed.png
          281 kB
        13. Test 4,5 and 6_Confirmed.png
          Test 4,5 and 6_Confirmed.png
          325 kB

            Votes:
            47 Vote for this issue
            Watchers:
            40 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 10 minutes
                7h 10m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.