admin/user friendlier: add username

admin/user friendlier: add username

de Dennis German -
Número de respuestas: 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
Promedio de valoraciones: -
En respuesta a Dennis German

Re: admin/user friendlier: add username

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

Thanks
Karen