Open ./global.php and search for:
Code:
// Format the welcome back message$lang->welcome_back = $lang->sprintf($lang->welcome_back, $mybb->user['username'], $lastvisit);
Replace it with:
Code:
// Format the welcome back message$formatted_username = format_name($mybb->user['username'], $mybb->user['usergroup'], $mybb->user['displaygroup']);$lang->welcome_back = $lang->sprintf($lang->welcome_back, $formatted_username, $lastvisit);
MyBB 1.6.4 and above
Open ./global.php and search for:
Code:
lang->welcome_back = $lang->sprintf($lang->welcome_back, build_profile_link($mybb->user['username'], $mybb->user['uid']), $lastvisit);
Replace with:
Code:
$formatted_username = format_name($mybb->user['username'], $mybb->user['usergroup'], $mybb->user['displaygroup']);$lang->welcome_back = $lang->sprintf($lang->welcome_back, build_profile_link($formatted_username, $mybb->user['uid']), $lastvisit);