Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Options and User Bar from Members, Groups and Blog Pages

  • Avatar of Saraswati11
    Saraswati11
    Participant

    @saraswati11

    I’ve recently installed the 1.0 version of BuddyPress, I’m using a custom theme built for the RC1 version of BuddyPress. I’ve added the directories folders, css, and Activate.php

    Plugins-sidebar.php, Plugin-template.php files etc.

    When I go to the members, group, and blog pages the user bar and options bar appear on the left, on the bphome theme this doesn’t appear.

    I can’t figure out what is causing that to appear.

Viewing 18 replies - 1 through 18 (of 18 total)
  • Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    As the first step in helping you solve this issue, please go back and read the section entitled “Upgrading the Theme files” in the first post of this thread and verify that you have taken the proper steps.

    Avatar of Saraswati11
    Saraswati11
    Participant

    @saraswati11

    Hi,I double checked and have gone through all the steps. This code is at the end of the header file,

    <?php bp_get_userbar() ?>

    <?php bp_get_optionsbar() ?>

    Is this being bypassed somewhere else on that page?

    I’m missing something somewhere but can’t figure it out.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Saraswati11, are you saying that when viewing the member theme area, looking at the directory listings, the userbar and optionsbar are showing?

    Avatar of Saraswati11
    Saraswati11
    Participant

    @saraswati11

    Yes.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    It sounds to me like your bp-core-templatetags.php file isn’t in the right place, or isn’t the correct version. That’s where those functions you mentioned above reside, and they’re responsible for hiding the bars if you’re viewing the directory. Either that, or your $bp->is_directory variable isn’t getting set, both of which are indications of an incomplete upgrade process.

    Avatar of Saraswati11
    Saraswati11
    Participant

    @saraswati11

    John, thanks for trying to help, I didn’t upgrade buddy press, well I did, but then just started from scratch with fresh install of wordpressmu 2.7.1 and installed buddypress and then installed theme, upgraded theme by modifying all the files directed to.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Can we take a step back and make sure that the included bpmember theme works the way that it should?

    Avatar of Saraswati11
    Saraswati11
    Participant

    @saraswati11

    OK, i’ve got the bpmember theme up and it’s appearing like I think it should (http://summorecords.net/members).

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Saraswati11-

    So the standard, default bpmember theme works fine. So, you are only having this issue when using a custom theme, correct?

    By custom, I mean any theme that is not the standard BP themes. This means that if you took one of the standard BP themes (home, member) and made any changes to it, it would be a custom theme.

    Avatar of Saraswati11
    Saraswati11
    Participant

    @saraswati11

    Jeff,

    That’s correct, someone else made the theme that i’m using. I’ve run into the same issue when I tried to customize my own theme where the user bar and options bar are on members pages that they’re not on the bp theme and I haven’t been able to figure out what is causing it.

    Thanks

    Avatar of Saraswati11
    Saraswati11
    Participant

    @saraswati11

    There’s a new post regarding skeleton theme, http://buddypress.org/forums/topic.php?id=2522. He states, “So in looking through the skeleton theme I noticed something strange.

    I am wondering why the ‘Activity’, ‘Profile’, ‘Wire’, and ‘Friends’ items do not work from the optionsbar?”

    response, “It looks like the options bar is showing up on the directory pages when it shouldn’t – most likely because I forgot to add a hide function. All the other pages are working fine. I will update this.”

    For the pages i’m referring to i have the same problem, the options bar that shows up on these pages (not user bars links to same sections) links go to “The page you were looking for was not found.”

    I’m thinking the solution for that would be the same for me?

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Saraswati11-

    I’m thinking the solution for that would be the same for me?

    That could be the same issue. Let’s wait for Andy to addresses this issue and then see if your issue clears up as well.

    Avatar of Saraswati11
    Saraswati11
    Participant

    @saraswati11

    Do we know where Andy would be adding the hide function?

    Avatar of Mark235
    mark235
    Participant

    @mark235

    I have the same problem. Has anyone found a fix for hiding the optionbar and userbar on the directory pages for member, group and blog pages?

    Avatar of Saraswati11
    Saraswati11
    Participant

    @saraswati11

    Has anyone had any luck with this problem? I’m at my wits end after weeks of looking at it.

    bump…

    Googling around because I’m having the same issue. Only I’m running bpmember that comes packaged with buddypress and making basic css modifications. On the directories, the links and functionality of the bars don’t appear, but the divs do.

    Did this get fixed? If so, how do I implement the fix?

    This thread helped me with things! Thanks all!

    Avatar of Tore
    Tore
    Participant

    @toregus

    BP-member-theme is made so that there are two menues at the left side. Even the graphic hints at that since there are two “hardcoded” grey backgrounds at the far left. If you’d remove the userbar & optionsbar there would still be two grey areas there.

    I’m modifying the bp-member-theme and putting horizontal navigation on my BP webite. When doing it that way you could do a workaround to not show the userbar/optionsbar at some webpages. You could do it if you take away the call for nav-bar in the header.php. Then you’d have to add that call to all pages you want the userbar/optionsbar to appear.

    But as far as BP-member theme goes you’d have to do something about those grey background-areas if you remove the userbar/optionsbar.

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

You must be logged in to reply to this topic.