<?php
$lastpost_profilelink = build_profile_link($lastpost_data['lastposter'], $lastpost_data['lastposteruid']);
<?php
$user_profile_forum = get_user($lastpost_data['lastposteruid']);
$lastpost_data['lastposter'] = format_name($user_profile_forum['username'], $user_profile_forum['usergroup'], $user_profile_forum['displaygroup']);
$lastpost_profilelink = build_profile_link($lastpost_data['lastposter'], $lastpost_data['lastposteruid']);
<?php
$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']);
}
<?php
$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']);
}
<?php
// Don't link to guest's profiles (they have no profile).
if($lastposteruid == 0)
{
$lastposterlink = $lastposter;
}
else
{
$lastposterlink = build_profile_link($lastposter, $lastposteruid);
}
<?php
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']);
}
<?php
if($thread['lastposteruid'] == 0)
{
$lastposterlink = $thread['lastposter'];
}
else
{
$lastposterlink = build_profile_link($thread['lastposter'], $thread['lastposteruid']);
}
<?php
if($thread['lastposteruid'] == 0)
{
$lastposterlink = $thread['lastposter'];
}
else
{
$user_portal_format = get_user($thread['lastposteruid']);
$portal_lastposter_thread = format_name($user_portal_format['username'], $user_portal_format['usergroup'], $user_portal_format['displaygroup']);
$lastposterlink = build_profile_link($portal_lastposter_thread, $user_portal_format['uid']);
}
<?php
$profilelink = htmlspecialchars_uni($announcement['threadusername']);
<?php
if($announcement['uid'] == 0)
{
$profilelink = htmlspecialchars_uni($announcement['threadusername']);
}
else
{
$profilelink = build_profile_link($announcement['username'], $announcement['uid']);
}
<?php
if($announcement['uid'] == 0)
{
$profilelink = htmlspecialchars_uni($announcement['threadusername']);
}
else
{
$portaluserlink = get_user($announcement['uid']);
$namelinkportal = format_name($portaluserlink['username'], $portaluserlink['usergroup'], $portaluserlink['displaygroup']);
$profilelink = build_profile_link($namelinkportal, $portaluserlink['uid']);
}
<?php
<tr>
<td class="{$altbg}">
<strong><a href="{$mybb->settings['bburl']}/{$thread['threadlink']}">{$thread['subject']}</a></strong>
<span class="smalltext"><br />
<a href="{$thread['lastpostlink']}">{$lang->latest_threads_lastpost}</a> {$lastposterlink}<br />
{$lastpostdate} {$lastposttime}<br />
<strong>» </strong>{$lang->latest_threads_replies} {$thread['replies']}<br />
<strong>» </strong>{$lang->latest_threads_views} {$thread['views']}
</span>
</td>
</tr>
usercp.php
usercp.php?action=subscriptions
usercp.php?action=forumsubscriptions