MyBB Community Forums

Full Version: Hide "Latest News Bar" from guests
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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)
Thanks, will try.