Customizing SMF > Tips and Tricks
Hide Local Time in Profile
(1/1)
Amacythe:
I would like to hide the local time in the profiles of the admins from the general public. How would I do this?
[Unknown]:
Find and remove from the Profile template:
--- Code: --- </tr><tr>
<td><b>', $txt['local_time'], ':</b></td>
<td>', $context['member']['local_time'], '</td>
--- End code ---
-[Unknown]
Amacythe:
I don't want to remove ALL local time, only the local time of the ADMINs
[Unknown]:
Replace with:
--- Code: ---';
if ($context['member']['group_id'] != 1)
echo '
</tr><tr>
<td><b>', $txt['local_time'], ':</b></td>
<td>', $context['member']['local_time'], '</td>';
echo '
--- End code ---
-[Unknown]
Amacythe:
That did it... of course :)
Thanks [Unknown] :)
Navigation
[0] Message Index
Go to full version