2020-04-17, 10:48 AM
2020-04-17, 12:56 PM
Are the staff options also appearing for everyone? It appears that this is hard coded and does not use a variable to detect whether or not a member is actually staff.
Could you provide your forum URL?
Could you provide your forum URL?
2020-04-17, 06:15 PM
(2020-04-17, 12:56 PM)R34P3R Wrote: [ -> ]Are the staff options also appearing for everyone? It appears that this is hard coded and does not use a variable to detect whether or not a member is actually staff.The options dont show up, but yea the blank area shows up
Could you provide your forum URL?
2020-04-17, 06:17 PM
Got it. Options are either to make the "Staff Area" into a variable so it only appears when a staff member is logged in, or remove the 'Staff Area" text and simply use the {$modcplink} and {$admincplink} variables.
2020-04-18, 02:16 PM
ACP >> Templates & style >> templates>>your theme>> Header Templates >> header_welcomeblock_member
Find this
<if $mybb->user['usergroup'] != 2 then>
multiple times,could add it with multiple numbers of groups,
but it works
Find this
<div class="drop-menu-configuration tcat">Staff Only</div>
{$modcplink}
{$admincplink}
and replace with this<if $mybb->user['usergroup'] != 2 then>
<if $mybb->user['usergroup'] != 12 then>
<if $mybb->user['usergroup'] != 9 then>
<if $mybb->user['usergroup'] != 13 then>
<if $mybb->user['usergroup'] != 14 then>
<div class="drop-menu-configuration tcat">Staff Only</div>
{$modcplink}
{$admincplink}
</if></if></if></if></if>
i am using this<if $mybb->user['usergroup'] != 2 then>
multiple times,could add it with multiple numbers of groups,
but it works