Not Solved Staff area for members
#1
Not Solved
The staff area comes for everyone

[Image: Screenshot-2020-04-17-at-1-46-41-PM.png]
Reply
#2
Not Solved
This user has been denied support. This user has been denied support.
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?
[Image: BhenchodForumsBannerSmall.gif]
Reply
#3
Not Solved
(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.

Could you provide your forum URL?
The options dont show up, but yea the blank area shows up
Reply
#4
Not Solved
This user has been denied support. This user has been denied support.
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.
[Image: BhenchodForumsBannerSmall.gif]
Reply
#5
Not Solved
ACP >> Templates & style >> templates>>your theme>> Header Templates >> header_welcomeblock_member
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
[Image: banner.gif]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)