Admin Bar Disabler
[resolved] Help with multisite setup (2 posts)

  1. Jtree5757
    Posted 1 year ago #

    Hi, great plugin from what I can see; However, I'm not sure how to get it working with multisite.

    Basically I enable anyone to signup for a site of their own or just as a registered user without a site. When someone opens a site they have the roles: "subscriber" for my main site and "admin" for their sub-site.
    When a user just signs up as a registered user they simply have the role "subscriber" for my main site.

    I'm trying to hide the admin bar for subscribers on the entire network and show the admin bar for admins on the entire network.

    I can hide for subscribers, but the admins can only see the admin bar when they are on their own sub-site. They should be able to see it globally no matter what page they are on of my network.

    Any insight on this?

    Thank you!


  2. Scott Kingsley Clark
    Plugin Author

    Posted 1 year ago #

    There is no such thing as global roles across multisite, except for Super Admins. So what you're asking for is definitely outside the scope of what my plugin can do. Look inside the 'disable' method in my plugin's class to see how things are done if you'd like to roll it yourself with custom role handling.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Admin Bar Disabler
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic