File: forumdisplay.php
Find:
// Don't link to guest's profiles (they have no profile).
if($lastposteruid == 0)
{
$lastposterlink = $lastposter;
}
else
{
$lastposterlink = build_profile_link($lastposter, $lastposteruid);
}
Replace:
if($lastposteruid == 0)
{
$lastposterlink = $lastposter;
}
else
{
$user_lastpost = get_user($lastposteruid);
$lastposter_formar = format_name($user_lastpost['username'], $user_lastpost['usergroup'], $user_lastpost['displaygroup']);
$lastposterlink = build_profile_link($lastposter_formar, $user_lastpost['uid']);
}
Find:
$thread['author'] = $thread['uid'];
if(!$thread['username'])
{
$thread['username'] = $thread['threadusername'];
$thread['profilelink'] = $thread['threadusername'];
}
else
{
$thread['profilelink'] = build_profile_link($thread['username'], $thread['uid']);
}
Replace:
$thread['author'] = $thread['uid'];
if(!$thread['username'])
{
$thread['username'] = $thread['threadusername'];
$thread['profilelink'] = $thread['threadusername'];
}
else
{
$userformat = get_user($thread['uid']);
$thread_format = format_name($userformat['username'], $userformat['usergroup'], $userformat['displaygroup']);
$thread['profilelink'] = build_profile_link($thread_format, $thread['uid']);
}
Source: http://www.mybb-es.com/Hilo-formato-del-...das-partes
Thanks to
Edson Ordaz.