Skip to:
Content
Pages
Categories
Search
Top
Bottom

Issues while trying to hide the BuddyPress admin bar on sub-directories for logged in users


  • marvc
    Participant

    @marvc

    Possible cross-post: My apologies in advance.
    Project site: http://nubiint.com
    BuddyPress Sub-directory: http://nubiint.com/community

    I’ve enabled the option to “Hide admin bar for logged out users” and it works fine. I’m now trying to prevent the bar from appearing on other sub-directories for logged in users. So I have the following sub-directories:
    /business
    /int-info
    /networking
    /tech

    I’ve uploaded the “bp-hide-sub-blog-adminbar” plugin and activated it but it doesn’t do anything by default so I add a blog ID as follows:

    <?php
    if($blog_id != 2) < – /business Blog ID

    This doesn’t do anything. Am I missing something?

    Another issue I notice on the Main MU site for logged in users is the following that appears below the website:

    •My Account
    ?Activity
    ?Personal
    ?Friends
    ?Groups
    ?Favorites
    ? @admin Mentions
    ?Profile
    ?Public
    ?Edit Profile
    ?Change Avatar
    ?Blogs (6)
    ?Messages ?Inbox
    ?Sent Messages
    ?Compose
    ?Notices
    ?Friends (0)
    ?My Friends
    ?Requests
    ?Groups (0)
    ?My Groups
    ?Invites
    ?Settings
    ?General
    ?Notifications
    ?Log Out
    •My Blogs
    ?NU.B.I-I.N.T.
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    ?Business
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    ?Community
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    ?Networking
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    ?Technology
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    ?Internet Information
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    •Notifications
    ?No new notifications.
    •Visit
    ?Random Member
    ?Random Group
    ?Random Blog

    You can see it by navigating to the site above. How do I remove this?

    Any responses appreciated.

  • The topic ‘Issues while trying to hide the BuddyPress admin bar on sub-directories for logged in users’ is closed to new replies.
Skip to toolbar