For Customers page in the administrator area, add the following lines:
foreach ($users as $key => $user) {
$user_usergroups = array_keys(fn_get_user_usergroups($user['user_id']));
if (!empty($user_usergroups)) {
$usergroups = db_get_fields("SELECT usergroup FROM ?:usergroup_descriptions WHERE usergroup_id IN (?a) AND lang_code = ?s", $user_usergroups, DESCR_SL);
} else {
$usergroups = array();
}
$users[$key]['usergroups'] = implode(', ', $usergroups);
}
just below the following line:
list($users, $search) = fn_get_users($_REQUEST, $auth, Registry::get('settings.Appearance.admin_elements_per_page'));
in the app/controllers/backend/profiles.php
Then replace the following line:
<td class="row-status">{if $user.firstname || $user.lastname}<a href="{"profiles.update?user_id=`$user.user_id`&user_type=`$user.user_type`"|fn_url}">{$user.lastname} {$user.firstname}</a>{else}-{/if}{if $user.company_id}{include file="views/companies/components/company_name.tpl" object=$user}{/if}</td>
with the following one:
<td class="row-status">{if $user.firstname || $user.lastname}<a href="{"profiles.update?user_id=`$user.user_id`&user_type=`$user.user_type`"|fn_url}">{$user.lastname} {$user.firstname}</a>{else}-{/if}</br>{$user.usergroups nofilter}{if $user.company_id}{include file="views/companies/components/company_name.tpl" object=$user}{/if}</td>
in the design/backend/templates/views/profiles/manage.tpl
And do not forget to clear clear the cache before checking the changes.