Support » Plugin: WP-TopBar » WP-TopBar & Buddypress

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Bob


    I have no experience using buddypress. Can you give me a URL so that I can see what you are describing?


    Unfortunately, I’m working in a preproduction site of a company so it’s not posible.

    I have read another thread where it was described the option of network enabling the plugin. The problem is that in this case, the menu of WP-TopBar (great work, by the way!) would be available for every blog.

    Anyway, I think that your plugin can work perfectly with Multisite Plugin Manager to avoid that access.

    Thank you fot your attention, Bob.

    Plugin Author Bob


    Understood.. Based on this, I could an add option under the new General Settings tab for this. Something like: “Only Mutisite Network (Super) Admins to have access to the TopBar Admin page: Yes/No”

    I think that would work for you.


    Plugin Author Bob


    Try version 5.14. I tested it against a WPMU install, not BuddyPress.

    Hi Bob,

    Thanks for your quick answer!

    Well, I have network-activated the pluging (v. 5.14) and selected “YES” in the network settings: “ONLY Show Admin Pages for Multi-Site Network Admins”.

    In the preproduction site, a subscriber of the main site (default role of a member in my case) who has also a blog in the network can access to the settings of WP-TopBar in his/her blog.

    Am I doing something wrong?

    Plugin Author Bob



    I added some debug info to help in case there are problems.

    At the bottom of the General Settings for the non-admin user (aka subscriber), there is a section called Multisite Check:. It comes after all the Rotation settings.

    It will look something like:

    Multisite Check:
    Multisite: Yes
    Super Admin: Yes
    Super Admin Only: yes

    Can you reply with what settings are shown for that user?


    Plugin Author Bob


    I think I found it.

    Look in wp-topbar.php for this:
    if (( isset($wptbNetworkGlobalOptions [ 'multisite_super admin_only' ] )) && ($wptbNetworkGlobalOptions [ 'multisite_super_admin_only' ] == "yes"))

    replace it with this (fixed a missing “_”)

    if (( isset($wptbNetworkGlobalOptions [ 'multisite_super_admin_only' ] )) && ($wptbNetworkGlobalOptions [ 'multisite_super_admin_only' ] == "yes"))

    I don’t know how that escaped my testing.

    Let me know if that works for you.


    Yes, It worked! The menu WP TopBar now is only showed to Super admin.

    Thank you very much, Bob.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WP-TopBar & Buddypress’ is closed to new replies.