• Welcome to Simple Machines Community Forum. Please login or sign up.
October 24, 2021, 08:31:30 PM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Hide Local Time in Profile

Started by Amacythe, November 08, 2004, 01:21:07 AM

Previous topic - Next topic

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:

</tr><tr>
<td><b>', $txt['local_time'], ':</b></td>
<td>', $context['member']['local_time'], '</td>


-[Unknown]

Amacythe

I don't want to remove ALL local time, only the local time of the ADMINs

[Unknown]

Replace with:

';

if ($context['member']['group_id'] != 1)
   echo '
</tr><tr>
<td><b>', $txt['local_time'], ':</b></td>
<td>', $context['member']['local_time'], '</td>';

echo '


-[Unknown]

Amacythe

That did it... of course :)

Thanks [Unknown] :)

Advertisement: