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

'Like' button-style user interface to toggle ratings on/off when using single-item scales

    XMLWordPrintable

Details

    • MOODLE_27_STABLE
    • MDL-45394-master
    • Hide
      • Create a forum (or other activity supporting ratings) and in the ratings section choose "Toggle button" as the user interface.
      • Enter some custom text to be displayed on the button (or leave blank for the default text, "Useful").
      • Select an appropriate icon to be displayed on the button.
      • Save the config form then edit the forum again to check that an appropriate scale has been set (and created if necessary). Also check that the "Count of ratings" aggregation method has been set.
      • Log in as a student and create a post.
      • Log in as a teacher and rate the post using the button.
      • Check that the rating can be toggled on and off.
      • Click the "xxxx" rating: link to the left of the button and check the ratings report in the pop-up window.
      • Update the forum and change the button text and icon.
      • Check that the button now displays the new text and icon, and that a new scale has been set/created.
      • Reply to the post.
      • Adjust the activity permissions as necessary to allow students to rate.
      • Log in as a student and check that the student can now use the button.
      • Adjust some other ratings-related permissions (e.g. to view the number of ratings and the ratings report) and check that they work correctly.
      Show
      Create a forum (or other activity supporting ratings) and in the ratings section choose "Toggle button" as the user interface. Enter some custom text to be displayed on the button (or leave blank for the default text, "Useful"). Select an appropriate icon to be displayed on the button. Save the config form then edit the forum again to check that an appropriate scale has been set (and created if necessary). Also check that the "Count of ratings" aggregation method has been set. Log in as a student and create a post. Log in as a teacher and rate the post using the button. Check that the rating can be toggled on and off. Click the "xxxx" rating: link to the left of the button and check the ratings report in the pop-up window. Update the forum and change the button text and icon. Check that the button now displays the new text and icon, and that a new scale has been set/created. Reply to the post. Adjust the activity permissions as necessary to allow students to rate. Log in as a student and check that the student can now use the button. Adjust some other ratings-related permissions (e.g. to view the number of ratings and the ratings report) and check that they work correctly.
    • Team Beards Sprint 3
    • Large

    Description

      I've developed a new ratings interface option to enable teachers to create a customisable 'like'-style button as an alternative to the standard select menu, which doesn't work well with single-item scales (now supported in Moodle 2.8 onwards). This was done in response to a suggestion from one of our postgraduate distance learning students:

      "Even though I am not a fan of Facebook, I now think that a button like the 'I like' button, is missing in this Forum. Especially if you simply agree with something, but don't feel like adding a post with the words " I totally agree with you" or "thank you, I found it useful", "good thinking".
      If such a button would exist - and of course, if using it consciously and in a responsible way-, then some posts which have probably not received a reply, feel that they have been at least read. Besides, one could check who likes or shares the same concern/ issue, which in turn can increase students' motivation."

      The button uses AJAX by default, but degrades gracefully if JavaScript is disabled. It was developed primarily for Forum posts but also works fine for Glossary and Database entries, and can be extended to support any other activities that may support ratings in the future. It can be used with any single-item grading scale (e.g. Like, Useful, +1, etc.) and will create a new scale automatically if it doesn't already exist, based on the string entered by the teacher into a text field in the activity config form. The teacher can also choose from a selection of icons to be displayed on the button alongside the string.

      Attachments

        1. award_remove_alternative.png
          award_remove_alternative.png
          14 kB
        2. buttonicon.png
          buttonicon.png
          5 kB
        3. ellipsis.png
          ellipsis.png
          4 kB
        4. post.png
          post.png
          17 kB

        Issue Links

          Activity

            People

              tonybutler Tony Butler
              tonybutler Tony Butler
              Dave Cooper Dave Cooper
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              31 Vote for this issue
              Watchers:
              42 Start watching this issue

              Dates

                Created:
                Updated: