2016-11-06, 01:26 PM
I want to show 'protected forum' in last post for specific groups.
Below code is not working for me.
Can anyone help me to correct this code?
Below code is not working for me.
Can anyone help me to correct this code?
<if (in_array($mybb->user['usergroup'], array(4,8,9)) && in_array($forum['fid'], array(168))) then>
<span class="smalltext">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date}<br />{$lang->by} {$lastpost_profilelink}</span>
<else> Protected Forum
</if>