Advertisement:

Author Topic: users online/Info centre visible to admin only?  (Read 167 times)

Offline Rae11

  • Newbie
  • *
  • Posts: 2
users online/Info centre visible to admin only?
« 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?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,300
Re: users online/Info centre visible to admin only?
« Reply #1 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()


Offline Rae11

  • Newbie
  • *
  • Posts: 2
Re: users online/Info centre visible to admin only?
« Reply #2 on: October 10, 2019, 07:09:30 PM »
Thank you SIR;)