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

Allow rating time restriction to use either the item creation time or the current time

    XMLWordPrintable

Details

    • Any
    • MOODLE_22_STABLE

    Description

      Currently rating date restrictions work on the "time created" of the item being rated. For example if you are rating forum posts and you set up a date restriction window you can rate any forum post created during that window. The current time is not considered.

      (this isnt real code)

      if ($theitem->timecreated > $assesstimestart || $theitem->timecreated < $assesstimefinish) {
          //allow rating submission
      }

      This makes sense if, for example, students are creating items during an assessable period then a teacher is going to come in and rate only the items created during that assessable window.

      It would be good to be able set a time window during which ratings could be submitted without consideration of when the item was created.

      (this also isnt real code)

      if (time() > $assesstimestart || time() < $assesstimefinish) {
          //allow rating submission
      }

      That would allow items to be created then students could come in and submit ratings during a defined peer assessment period.

      Ideally we would allow toggling between the two behaviours at a per activity level so that a course could contain both kinds of activities.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andyjdavis Andrew Davis
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona), Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: