2014-02-27, 06:52 PM
I have a http://widgets.amung.us widget that shows the number of people in the forum on my footer template, but I wanted to stop it from appearing on private threads, for privacy concerns. It even showed private date copied from one of those threads.
I have conditional templates installed.
I have used already something similar to not show ads for moderators, like the code below
But how would I do the same to exclude some subforums for the html snipped?
Thanks a lot for the help
Eco
I have conditional templates installed.
I have used already something similar to not show ads for moderators, like the code below
Quote:<if in_array($GLOBALS['mybb']->user['usergroup'], array(4,5,6)) then> stuff for usergroup 4,5,6</if>
But how would I do the same to exclude some subforums for the html snipped?
Thanks a lot for the help
Eco