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

Add name of user to fields included in forum exports

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Setup

      You'll need:

      • A course with few enrolled users.
      • A forum activity with few a post and few replies from different users.
      • Change fullnamedisplay setting to firstname and save.
      Test
      1. Log in as t1 and go to that forum.
      2. In the cog, click Export.
      3. Click on Export button and verify the exported data.
      4. Make sure there's a new field called userfullname.
      5. Make sure the exported userfullname contains both the users' firstname and lastname
      6. Log in as admin (in a separated browser/incoginito mode)
      7. Go to > Site administration > Users > Permissions > Define roles
      8. Edit teacher role and unassign moodle/site:viewfullnames capability.
      9. In the teacher tab/window, click Export button again.
      10. Open the exported file.
      11. Make sure the userfullname field has been exported, and that it only contains the user's first name
      12. In the admin tab, assign that capability back to teacher.
      13. In the teacher tab/window, click Export button again.
      14. Open the exported file.
      15. Make sure the userfullname field has been exported.
      Show
      Setup You'll need: A course with few enrolled users. A forum activity with few a post and few replies from different users. Change fullnamedisplay setting to firstname and save. Test Log in as t1 and go to that forum. In the cog, click Export . Click on Export button and verify the exported data. Make sure there's a new field called userfullname . Make sure the exported userfullname contains both the users' firstname and lastname Log in as admin (in a separated browser/incoginito mode) Go to > Site administration > Users > Permissions > Define roles Edit teacher role and unassign moodle/site:viewfullnames capability. In the teacher tab/window, click Export button again. Open the exported file. Make sure the userfullname field has been exported, and that it only contains the user's first name In the admin tab , assign that capability back to teacher. In the teacher tab/window, click Export button again. Open the exported file. Make sure the userfullname field has been exported.
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-67846-master
    • Story Points:
      0
    • Sprint:
      International 3.9 - Sprint 5, International 3.9 - Sprint 6

      Description

      When exporting a forum (discussions) to a CSV, Excel etc, it only includes the user ID field which is of little/no use to teachers/instructors. It would be great to include the user's names etc.

        Attachments

          Activity

            People

            Assignee:
            lameze Simey Lameze
            Reporter:
            chris.pratt Chris Pratt
            Peer reviewer:
            Michael Hawkins
            Integrator:
            Jun Pataleta
            Tester:
            Janelle Barcega
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 11 minutes
                2d 11m