Not Solved Hide "Latest News Bar" from guests
#1
Not Solved
Hello.

I am using the same news bar MyBB uses for in its index (explained in the help page titled: Latest News Bar).

This template mod is working fine in my forum, but I would like to hide it from guests since my forum is private.

Could anyone help me here?

Thanks.
Reply
#2
Not Solved
you can use template conditionals plugin for above requirement
install and activate the plugin and then use code like below
<if !in_array($mybb->usergroup['gid'], array('1', '5', '7')) then>
your content here
</if>
(group IDs --> 1: guests , 5: Awaiting Activation members , 7: banned members)
Reply
#3
Not Solved
Thanks, will try.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)