Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Topic started by: Amacythe on November 08, 2004, 01:21:07 AM

Title: Hide Local Time in Profile
Post by: Amacythe on November 08, 2004, 01:21:07 AM
I would like to hide the local time in the profiles of the admins from the general public.  How would I do this?
Title: Re: Hide Local Time in Profile
Post by: [Unknown] on November 08, 2004, 03:42:20 AM
Find and remove from the Profile template:

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


-[Unknown]
Title: Re: Hide Local Time in Profile
Post by: Amacythe on November 09, 2004, 12:26:05 AM
I don't want to remove ALL local time, only the local time of the ADMINs
Title: Re: Hide Local Time in Profile
Post by: [Unknown] on November 09, 2004, 02:04:05 AM
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]
Title: Re: Hide Local Time in Profile
Post by: Amacythe on November 09, 2004, 02:39:06 AM
That did it... of course :)

Thanks [Unknown] :)