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

Add column to show post view count, if information is available

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as admin
      2. Check that the standard log is enabled in site admin > plugins > logging > manage log stores. Enable it if it is not already enabled.
      3. Create an 'S' size course in site admin > development > make test course
      4. Log in as one of the students in the course and read a few of the posts in the activity Forum (section 0). Remember the name of the student or write it down, you will need it later.
      5. Log in back as admin and go to that same forum activity, click on the forum admin 'cog' icon and select Summary report
      6. You SHOULD see a Number of views column. All the values SHOULD be zero but the one of the student you used above, the column for that student row should have an integer value (it depends on how many forum posts you saw)
      7. Open a new tab. Disable the standard log in site admin > plugins > logging > manage log stores. Also, check that the legacy log is disabled
      8. Refresh the forum summary report tab
      9. You SHOULD NOT see a Number of views column
      Show
      Log in as admin Check that the standard log is enabled in site admin > plugins > logging > manage log stores . Enable it if it is not already enabled. Create an 'S' size course in site admin > development > make test course Log in as one of the students in the course and read a few of the posts in the activity Forum (section 0). Remember the name of the student or write it down, you will need it later. Log in back as admin and go to that same forum activity, click on the forum admin 'cog' icon and select Summary report You SHOULD see a Number of views column. All the values SHOULD be zero but the one of the student you used above, the column for that student row should have an integer value (it depends on how many forum posts you saw) Open a new tab. Disable the standard log in site admin > plugins > logging > manage log stores . Also, check that the legacy log is disabled Refresh the forum summary report tab You SHOULD NOT see a Number of views column
    • Affected Branches:
      MOODLE_38_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-66695_master
    • Story Points:
      3
    • Sprint:
      Internationals - 3.8 Sprint 8

      Description

      Add a column to the forum summary report to show "Number of views", the number of posts each user has viewed.

      This will probably require checking log entries to determine a user's read count, which would mean the column should only be shown if the site is using an internal log store. An example of similar log checking and data calculation can be seen in this report.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dmonllao David Monllaó
                Reporter:
                michaelh Michael Hawkins
                Peer reviewer:
                Simey Lameze
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h