Skip to:
Content
Pages
Categories
Search
Top
Bottom

Keeping BuddyPress Navigation in the Admin/Buddybar, not in header?


  • kkradel
    Participant

    @kkradel

    Running WP Multisite 3.2.1 and upgrade to BuddyPress 1.5 (from 1.2.10). Using Upstart Blogger Futurosity Magazine Theme.

    When I upgraded BuddyPress, it created about 7 pages that weren’t created with my first install of BuddyPress. This totally wrecked my header. So I stuck them under a fake hidden page for the moment. Yes, most of my BuddyPress features are not accessible this way, which is fine for the moment. But what I’d really like to do is to delete them, although I’m still trying to figure out what would happen if I did …

    In any case, I would like all of the BuddyPress navigation to be included ONLY in the admin/buddybar for users who are logged in, including the widgets (Who’s Online, New Members, and Active Members), leaving the rest of the site’s user interface as designed.

    Is anyone else doing this? It seems like it would be a really nice way to keep the buddypress functions from interfering with the site design.

    I’ve been working on trying to configure this for two months now and am a little braindead with it mostly because I am not a programmer, just a hack – I just need to know what can be deleted and what snippets to put into bp-core-buddybar.php to make buddypress available to the site’s readers only from that bar.

    The site is http://www.artist-at-large.com

Viewing 2 replies - 1 through 2 (of 2 total)

  • r-a-y
    Keymaster

    @r-a-y

    In BP 1.5, you need these pages.

    However, you can easily exclude pages from the main nav with a plugin like:
    https://wordpress.org/extend/plugins/exclude-pages/

    To customize the BuddyBar, unfortunately you’ll need to get your hands dirty with code:
    https://codex.buddypress.org/theme-development/modifying-the-buddypress-admin-bar/

    The code for widgets can be found in:
    /plugins/buddypress/bp-core/bp-core-widgets.php

    You’ll need to extrapolate some of that code when building your custom entries in the BuddyBar.

    Hope this is a good enough starting point!


    kkradel
    Participant

    @kkradel

    I would so much rather get dirty with code and create something wonderful than use something out of the box! I’m surprised more people don’t want to do this!

    Yes, thank for the direction to that plugin. Usually I don’t like to use plugins when I can code, but I may just go for that one!

    I did try and copy and paste the widget code into the buddybar ;) Of course I got a fatal error, but it’s good to be reassured that I was moving in the right direction! So thanks for that – it just means I have to focus a little more and do some code editing!

    I was hoping that someone had done it before and could just pass along the edited code … wishful thinking!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Keeping BuddyPress Navigation in the Admin/Buddybar, not in header?’ is closed to new replies.
Skip to toolbar