How to Remove City/Town and Country in participants list

How to Remove City/Town and Country in participants list

by Danu Nah -
Number of replies: 3
All our users are in one town/country, so these fields are just distracting. How can they be removed from user lists?


Average of ratings: -
In reply to Danu Nah

Re: How to Remove City/Town and Country in participants list

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hello,

There's a hiddenuserfields setting in User polices in Site administration where you can select fields to hide from students.

To hide the fields from teachers, you need to make a permissions change. See the section 'Hide user fields' in the documentation User policies for details of the capabilities, and let us know if you need further help in how to change permissions.

In reply to Helen Foster

Re: How to Remove City/Town and Country in participants list

by Danu Nah -

Thank you, Helen. Will try to do that.

In reply to Danu Nah

Re: How to Remove City/Town and Country in participants list

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

I have a similar situation with one site I'm involved in, where all users are in one city. We renamed 'City/Town' to 'Project' or 'Office', which shows more useful information on that screen for us.

You can hide the Country column using custom CSS:

#page-admin-user th.header.c5, td.cell.c5 {display: none;}