Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Rae11 on October 10, 2019, 06:18:59 PM

Title: users online/Info centre visible to admin only?
Post by: Rae11 on October 10, 2019, 06:18:59 PM
I would like to make the users online and into centre visible tot admin only ...how do I achieve this?
Title: Re: users online/Info centre visible to admin only?
Post by: Sir Osis of Liver on October 10, 2019, 06:41:31 PM
BoardIndex.template.php

Code: [Select]

if ($context['user']['is_admin'])
template_info_center();
}

function template_info_center()

Title: Re: users online/Info centre visible to admin only?
Post by: Rae11 on October 10, 2019, 07:09:30 PM
Thank you SIR;)