Open: Profile.template.php
Find:
// If the person looking is an admin they can check the members IP address and hostname.
if ($user_info['is_admin'])
{
echo '
<tr>
<td width="40%">
<b>', $txt[512], ': </b>
</td><td>
<a href="', $scripturl, '?action=trackip;searchip=', $context['member']['ip'], '" target="_blank">', $context['member']['ip'], '</a>
</td>
</tr><tr>
<td width="40%">
<b>', $txt['hostname'], ': </b>
</td><td width="55%">
<div title="', $context['member']['hostname'], '" style="width: 100%; overflow: hidden; font-style: italic;">', $context['member']['hostname'], '</div>
</td>
</tr>
Replace with:
// If the person looking is an admin they can check the members IP address and hostname.
if ($user_info['is_admin'])
{
echo '
<tr>
<td width="40%" align="right">
<b>', $txt[512], ': </b>
</td><td>
<a href="', $scripturl, '?action=trackip;searchip=', $context['member']['ip'], '" target="_blank">', $context['member']['ip'], '</a>
</td>
</tr>';
}
echo '
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>
<tr>
<td align="right"><b>', $txt['statPanel_total_time_online'], ':</b></td>
<td>', $context['member']['time_logged_in'], '</td>
</tr>';Add to Profile.english.php in language files:
$txt['statPanel_total_time_online'] = 'Total Time Spent Online';