Moodle

export username

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.2
  • Fix Version/s: None
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

http://moodle.org/mod/forum/discuss.php?d=105370

The export function doesn't include the username.
It should to make it usefull.

Issue Links

Activity

Hide
Anthony Borrow added a comment -

I like the idea of being able to export the fullname of the user who added the record. I think the fullname of the user adding the field should be exportable as part of the record rather than the username. I would also like to see the ability to export ##approval## (the approval status as either TRUE or FALSE, 1 or 0), ##user## (fullname - not username, but perhaps a userlink export linking back to the user profile might be helpful), ##timeadded##, and ##timemodified##. In any case, I think this would be a more comprehensive solution. In short, I would say anything we can show we should be able to export. I recently worked on a patch for ##userpicture## and I am not sure how that would be exported but since that is binary rather than text data I think we could safely omit it. Peace - Anthony

Show
Anthony Borrow added a comment - I like the idea of being able to export the fullname of the user who added the record. I think the fullname of the user adding the field should be exportable as part of the record rather than the username. I would also like to see the ability to export ##approval## (the approval status as either TRUE or FALSE, 1 or 0), ##user## (fullname - not username, but perhaps a userlink export linking back to the user profile might be helpful), ##timeadded##, and ##timemodified##. In any case, I think this would be a more comprehensive solution. In short, I would say anything we can show we should be able to export. I recently worked on a patch for ##userpicture## and I am not sure how that would be exported but since that is binary rather than text data I think we could safely omit it. Peace - Anthony
Hide
Larry M Elchuck, Ph.D. added a comment -

Maybe I'm not doing it right, but we have a site with thousands of users via LDAP and we sometimes use the batch upload users to place them in the proper courses. But the batch script can not be used without knowing the username of each user (can it not?). If I am correct, being able to have a searchable list of the users (including their username) in a spreadsheet makes this much more efficient in locating this piece of information. If this is indeed the case, the priority is a bit more than minor.

larry

Show
Larry M Elchuck, Ph.D. added a comment - Maybe I'm not doing it right, but we have a site with thousands of users via LDAP and we sometimes use the batch upload users to place them in the proper courses. But the batch script can not be used without knowing the username of each user (can it not?). If I am correct, being able to have a searchable list of the users (including their username) in a spreadsheet makes this much more efficient in locating this piece of information. If this is indeed the case, the priority is a bit more than minor. larry
Hide
Anthony Borrow added a comment -

Eloy - Here is a quick patch that is functional but very hacky. It is meant more as proof of concept or to at least give an idea of one way of approaching this. Feel free to use it in so far as it is helpful. I am assuming that if the person has the capability to export that they would have the ability to see the user names. Ideally I would like to add in the various user profile and custom user profile fields that I have been playing with under templates. I think that anything we make viewable in the template should then also be exportable. I have only done minimal testing with those patch so others who wish to use it should test it first. Peace - Anthony

Show
Anthony Borrow added a comment - Eloy - Here is a quick patch that is functional but very hacky. It is meant more as proof of concept or to at least give an idea of one way of approaching this. Feel free to use it in so far as it is helpful. I am assuming that if the person has the capability to export that they would have the ability to see the user names. Ideally I would like to add in the various user profile and custom user profile fields that I have been playing with under templates. I think that anything we make viewable in the template should then also be exportable. I have only done minimal testing with those patch so others who wish to use it should test it first. Peace - Anthony
Hide
Anthony Borrow added a comment -

I am linking MDL-20140 and MDL-16593 just as a reminder that whatever fields are in the template should IMHO be exportable. Peace - Anthony

Show
Anthony Borrow added a comment - I am linking MDL-20140 and MDL-16593 just as a reminder that whatever fields are in the template should IMHO be exportable. Peace - Anthony
Hide
Matthew N added a comment -

I agree with Anthony that any fields available to templates (including username, custom profile fields, etc) should be exportable. Making user info exportable is currently a requirement for a project and without this, we will have to resort to custom development instead of the DB module which is a hassle in terms of maintenance. This will be a very useful improvement to Moodle, as seen by the # of voters, and I'm looking forward to the implementation.

Show
Matthew N added a comment - I agree with Anthony that any fields available to templates (including username, custom profile fields, etc) should be exportable. Making user info exportable is currently a requirement for a project and without this, we will have to resort to custom development instead of the DB module which is a hassle in terms of maintenance. This will be a very useful improvement to Moodle, as seen by the # of voters, and I'm looking forward to the implementation.
Hide
Steve Bond added a comment -

I made a patch for this for 1.9: http://tracker.moodle.org/browse/MDL-22773

Didn't spot this Tracker entry before.

Show
Steve Bond added a comment - I made a patch for this for 1.9: http://tracker.moodle.org/browse/MDL-22773 Didn't spot this Tracker entry before.

Dates

  • Created:
    Updated: