Jump to the post that solved this thread.
Solved: 6 Years, 9 Months, 1 Week ago Menu For Specific Usergroups
#1
Solved: 6 Years, 9 Months, 1 Week ago
I add some menus to my main menu inside header template. But I would like some of them available for some usergroups only. Ho I can do that?

Thanks in advance.
Reply
#2
Solved: 6 Years, 9 Months, 1 Week ago
in general, template conditionals plugin is required for such requirements
(please see the usage details at above linked URL [external site])

eg.
Quote:<if in_array($GLOBALS['mybb']->user['usergroup'], array(3,4,6)) then>
//content to show for all default mod/admin groups
</if>
Reply
#3
Solved: 6 Years, 9 Months, 1 Week ago
It works!
Great forum software and great support.

Thanks, Mr/Mrs .m.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)