2015-08-11, 10:59 AM
I installed phptpl and used the line below before and after index_statistics template codes:
<if $mybb->user['usergroup'] != 1 then>
</if>
it's working fine for all registered users and guests cannot see it. however I need to limit it for admin views only. how may I do that ?
<if $mybb->user['usergroup'] != 1 then>
</if>
it's working fine for all registered users and guests cannot see it. however I need to limit it for admin views only. how may I do that ?