Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

WP Adminbar still showing in Edge/IE

Simple Membership Plugin › Forums › Simple Membership Plugin › WP Adminbar still showing in Edge/IE

  • This topic has 8 replies, 3 voices, and was last updated 9 years, 2 months ago by mbrsolution.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • February 9, 2017 at 12:26 pm #10102
    BrianB
    Participant

    Hi,

    I’ve disabled the WordPress Adminbar for all users under General Settings, but for some reason it still shows up when I log in from Edge/Internet Explorer as a regular user. In Chrome it does not show up.

    I have even tried the WP Admin Disabler plugin, but this does not work either. It still shows up. Any ideas on how to remove the WP Adminbar properly?

    Kind regards!

    February 9, 2017 at 12:39 pm #10103
    BrianB
    Participant

    Note: On Chrome for Mobile it appears as well. 🙁

    Another addition: If I log in the WP Adminbar appears. However if I close Edge or IE and reopen the site, the adminbar is gone even though I am still logged in. Any ideas?

    February 9, 2017 at 10:36 pm #10107
    mbrsolution
    Moderator

    Hi, have you also enabled the following Disable Access to WP Dashboard under General Settings?

    February 11, 2017 at 9:05 am #10131
    BrianB
    Participant

    Hi,

    Yes unfortunately. I even tried to disable my primary theme in order to make sure it was not conflicting.

    I have found one solution so far, it is not the most elegant but it works in case anyone is in the same situation. Hide the adminbar completely via CSS and add the following code to the functions.php:

    function remove_admin_login_header() {
        remove_action('wp_head', '_admin_bar_bump_cb');
    }
    add_action('get_header', 'remove_admin_login_header');

    Regards!

    February 11, 2017 at 10:22 pm #10133
    mbrsolution
    Moderator

    Hi, I carried out a test in one of my sites enabling Disable Access to WP Dashboard under General Settings and it worked for me. I carried out the test using Edge browser. I even went to a new tab and tried to access the wp admin page and I received the following message.

    The admin of this site does not allow users to access the wp dashobard.
    Go back to the home page by clicking here.

    The membership account I used for the test was a non admin user.

    When you carried out your test, did you use an account with admin access?

    February 23, 2017 at 6:53 pm #10270
    hyper
    Participant

    I disabled access to WP Dashboard in WP Membership > Settings. (I’ve also hidden the admin bar from logged-in standard users, while enabling it for logged-in admins.)

    The admin bar is hiding as it should, but I’m getting that same (misspelled) error message when I try to access an unprotected post on a device that doesn’t have a user logged in.

    “The admin of this site does not allow users to access the wp dashobard.
    Go back to the home page by clicking here.”

    I don’t know why its trying to access the dashboard here—I’ve only clicked on an unprotected post.

    Any ideas why this is happening? Or how can I fix it? Visitors to my site should be able to access unprotected posts without being a member or logged in.

    Thanks in advance for any help!

    February 24, 2017 at 12:37 am #10275
    mbrsolution
    Moderator

    Hi, that message is correct. I know it is misspelled. The plugin developers will fix that spelling error.

    When you set up the settings as per my instructions above and you are logged in as a non admin member you will see this message.

    February 24, 2017 at 6:59 am #10281
    hyper
    Participant

    So if I want visitors to be able to access posts on my site without being a member or logged in, that’s not possible with your plugin (if I disable the WP Dashboard for non-admin users)? That seems odd.

    February 24, 2017 at 9:22 am #10282
    mbrsolution
    Moderator

    Hi, I think you misunderstood some of my replies above or I did not explain myself correctly.

    Let me explain a few things for you.

    In regards to your comment.

    So if I want visitors to be able to access posts on my site without being a member or logged in, that’s not possible with your plugin (if I disable the WP Dashboard for non-admin users)? That seems odd.

    Yes visitors can visit your site whether they are members or not. If you disable the WP Dashboard access, when a member logs in they will not see the Admin Dashboard and if they try to access the Admin Dashboard that is when they will see the following message. The admin dashboard I am referring to is yoursite.com/wp-admin.php

    “The admin of this site does not allow users to access the wp dashobard.
    Go back to the home page by clicking here.”

    In regards to the following comment.

    I don’t know why its trying to access the dashboard here—I’ve only clicked on an unprotected post.

    The person must of have been logged in already. The message above only displays if someone tries to access the Admin dashboard.

    I think there is either a cache issue on your site or maybe a conflict somewhere.

    Let me know if you need some more explanation or more help.

    Kind regards

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy