I don't think it should matter whether the usergroup is primary or not, but for the
postbit templates, you'll want to use
is_member_of($post, X), where X is the usergroup ID. Also, the <else /> statement is only used
inside an if conditional, so it's not really needed, nor does it do anything here.
HTML Code:
<!-- Has to have moderator permissions AND be a member of Usergroup 96 -->
<if condition="can_moderate($GLOBALS[forumid], 0, $post[userid]) AND is_member_of($post, 96)">
<div class="new_class_name">{$GLOBALS['foruminfo']['title']} Leader</div>
</if>
<!-- Has to have moderator permissions AND be a member of Usergroup 95 -->
<if condition="can_moderate($GLOBALS[forumid], 0, $post[userid]) AND is_member_of($post, 95)">
<div class="new_class_name">{$GLOBALS['foruminfo']['title']} Moderator</div>
</if>
The only reason you might need an <else /> here, is in the event both of these might be true (the user has mod permissions and belongs to both usergroups). But that would have to be written a bit differently, depending on your needs.
I would also recommend not using <big> tags here. One, because it's not really modern HTML anymore, and two, because the
smallfont class and <big> would probably be fighting each other and not really displaying properly. I would suggest putting your own CSS in the
Additional CSS options of your skin and use that class name for the div here.