I want to display a custom [user profile field] on page [Browse list of users]. I have created a custom [user profile field], with [short name] = [regnum], and added [$CFG->showuseridentity ='regnum';] in [config.php]. Page [Browse list of users] returns [Error reading from database]. When I change [regnum] to [email] (the build-in field) the page displays correctly.
I am thinking that maybe when it comes to custom user profile fields, the short field name must be prepended with a suffix, in [$CFG->showuseridentity ='regnum';]. Thank you for your help and I apologize if this question has already been answered somewhere in the forum.