Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 3 Years, 11 Months ago How t have statistics board visible to admin only ?
#1
Solved: 3 Years, 11 Months ago
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 ?
Reply
#2
Solved: 3 Years, 11 Months ago
<if $mybb->user['usergroup'] == 4 then>
Regards, Ad Bakker (NL)
Reply
#3
Solved: 3 Years, 11 Months ago
+1 Rep... Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)