I've posted three possible solutions on MDL-18599 ... what do people like?
Martin Dougiamas
Posts made by Martin Dougiamas
The custom user fields are unfortunately not available when displaying that list. They should be, but the SQL is already quite complicated o no-one has tackled that yet.
For your hack you could do this to fetch the custom data from the database once for each row (note this is a little heavy on the database):
and then you can print using the shortname you specified for the field like:
For your hack you could do this to fetch the custom data from the database once for each row (note this is a little heavy on the database):
$usercustom = profile_user_record($user->id);
and then you can print using the shortname you specified for the field like:
$data[] = $usercustom->Usernameconfirmation;
Currently no-one is working on it and since it's not a popular idea it's unlikely moodle.com will have time to do so for 2.0.
However, if you were to produce some basic code that could create an IMS LD file from any Moodle course then we would be happy to integrate it into Moodle 2.0 (as part of Backup functionality probably).
However, if you were to produce some basic code that could create an IMS LD file from any Moodle course then we would be happy to integrate it into Moodle 2.0 (as part of Backup functionality probably).
Since code all over Moodle uses SQL to join against the user table this idea will not work without many many changes all over Moodle.
What's the real problem here? Databases can handle millions of records without an issue. Just use "deleted=0" in your queries. All the other things you mentioned are still possible.
What's the real problem here? Databases can handle millions of records without an issue. Just use "deleted=0" in your queries. All the other things you mentioned are still possible.
Well, you *can* actually request modifications to access already via the cvsadmin interface by updating it as Alan did (and that is preferred, thanks Alan) but I agree in this case Alan should start with a patch in the tracker and get it reviewed.