2016-01-30, 08:30 AM
i use below code
But it show 'Protected Forum' under all forum last post rather than in forum id 168.
Is there any issue with 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>
But it show 'Protected Forum' under all forum last post rather than in forum id 168.
Is there any issue with code?