-
New Feature
-
Resolution: Fixed
-
Minor
-
1.9.8
-
None
-
n/a
-
MOODLE_19_STABLE
-
MOODLE_19_STABLE
Our moodle installation needs a way to remove all links to usernames for user privacy reasons, and we still want to use the online users map. Because we're not identifying particular users, we're adding the city name that the user set in moodle to the block. The site administrator can select whether or not user names get set.
adds the following to online_users_map block:
- Adds a configuration setting 'block_online_users_map_has_names' to settings.php as a checkbox.
- The setting has strings giving a title "Show user names" and description "Should user names be shown on the map? If box not checked, user city will be displayed as name." I don't speak the other languages in the module well enough to provide good strings.
- getusers.php has been modified so that places it previously would have returned the full name it returns the user's city information. This involved modifying the sql to get the city information and also modifying the places where the full name is set to conditionally set the city.