News:

Wondering if this will always be free?  See why free is better.

Main Menu

admin menu available to all members when they log in

Started by ttrbbr, March 28, 2021, 12:15:32 PM

Previous topic - Next topic

ttrbbr

I've moved a SMF 2.0.12 forum to new hosting and upgraded with patches to 2.0.18. Since the upgrade, all members who log in have access to the admin menu and have admin permissions. I've tried changing from a customized theme to Default Theme - Core but this didn't clear the problem. Solutions that will work or that I should try?

Illori

check if your host has caching like varnish installed and enabled, if so have them disable it.

ttrbbr

Checked with hosting tech support. They checked and then double checked: no caching like varnish installed.

Kindred

Did you somehow delete the 0 count post count based group?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ttrbbr

If I understand the question correctly, no, I don't think I did.

Deaks

have a look in your subs.php and make sure that the admin is set to is_admin
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

ttrbbr


Illori

What is a phpinfo() file?

do a phpinfo page and confirm there is no caching running on your server.

also in subs.php you are looking for

'admin' => array(
'title' => $txt['admin'],
'href' => $scripturl . '?action=admin',
'show' => $context['allow_admin'],
if that is in place then normal members should not see the admin button.

do any of your users see another users name in the header when they are logged in? if so that means there is some server level cache running and that is causing your issue.

ttrbbr

Working with online lists of server caching software (broad and linux specific), I find no caching software in phpinfo()
'admin' => array  looks as you indicated in subs.php
I've no reports of incorrect usernames in header.
A bit more detail I'm noticing: members see Admin in the menu but no actual admin functions are available and no sub-menu. 'Members' has functioning sub-menu (View the memberlist and Search for Member).

Sir Osis of Liver

When in Emor, do as the Snamors.
                              - D. Lister

ttrbbr

solution found; simple once found: error mine.
I reviewed the permissions for "Regular Members".
"Manage and assign membergroups" was selected. Because it is an administrative duty, Admin was in the menu when a member logged in.
All set now.
Thx all for help!

Advertisement: