admin/user friendlier: add username

admin/user friendlier: add username

by Dennis German -
Number of replies: 2
First starting with moodle I had a little trouble with usernames.

I thought it would be helpful to show username on admin user panel.

ie

replace
$table->head = array ($fullnamedisplay, $email, $city, $country, $lastaccess, "", "", "");

with
$table->head = array ("",$fullnamedisplay, $email, $city, $country, $lastaccess, "", "", "");


and
replace

$table->data[] = array ("id&course=$site->id\">$fullname",

with
$table->data[] = array ( $user->username ,
"id&course=$site->id\">$fullname",


I look forward to your comments.

DGerman
Average of ratings: -
In reply to Dennis German

Re: admin/user friendlier: add username

by Karen Taylor -
Hi Dennis,
What file do I edit to get this working? I am using 1.9.2

Thanks
Karen