Not Solved Hiding Board Stats from guests
#1
Not Solved
I've done this many times... installed the 'template conditionals' plug in and added:

<if $mybb->user['usergroup'] != 1 then>
{$boardstats}
</if>

to the index template....

This time, no difference. What I am doing wrong?

Thanks all
Reply
#2
Not Solved
Try <if $GLOBALS['mybb']->user['usergroup'] >= 2 then>
What goes around comes around
Reply
#3
Not Solved
<!-- Valid user, let's show boardstats. -->
<if $mybb->user['uid'] then>{$boardstats}</if>
Reply
#4
Not Solved
Thank you both. Worked. Much appreciated.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)