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?
check if your host has caching like varnish installed and enabled, if so have them disable it.
Checked with hosting tech support. They checked and then double checked: no caching like varnish installed.
Did you somehow delete the 0 count post count based group?
If I understand the question correctly, no, I don't think I did.
have a look in your subs.php and make sure that the admin is set to is_admin
Not seeing is_admin in Subs.php
What is a phpinfo() file? (http://wiki.simplemachines.org/smf/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.
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).
Do guests see the button?
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!