News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

users online/Info centre visible to admin only?

Started by Rae11, October 10, 2019, 06:18:59 PM

Previous topic - Next topic

Rae11

I would like to make the users online and into centre visible tot admin only ...how do I achieve this?

Sir Osis of Liver

BoardIndex.template.php



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

function template_info_center()


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters


Advertisement: