Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress not compatible with theme

  • Avatar of shibbymintay
    shibbymintay
    Participant

    @shibbymintay

    Hello

    I am trying to implement Buddypress on an existing site with a custom theme. Everything seems to work fine both in terms of functionality except when Buddypress is activated the site’s navigation bar which is at the top of the page and everything above it is cut off.

    Does anyone know of an easy way to fix this, or a place I could look in my site’s files to try and come to a solution?

    Thank you!

    I would rather not link to my site as it is a test server for a client, but I am using the most recent Buddypress 2.0.1 and WordPress 3.9.1

Viewing 11 replies - 1 through 11 (of 11 total)
  • Avatar of danbp
    danbp
    Moderator

    @danbp

    Avatar of shibbymintay
    shibbymintay
    Participant

    @shibbymintay

    I’m not sure what to make of this.. could you please elaborate further?

    Avatar of shibbymintay
    shibbymintay
    Participant

    @shibbymintay

    I think the problem stems from trying to load the Buddypress bar at the top of the page. Sometimes when I load my site the regular nav bar will appear for a fraction of a second and then disappear.

    If I knew where in the code is the Buddypress bar is loaded maybe I could hack it to make it work

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    except when Buddypress is activated the site’s navigation bar which is at the top of the page and everything above it is cut off.

    @shibbymintay Not clear what you mean by that. Do you mean everything visually “below” the admin bar is gone?

    Avatar of shibbymintay
    shibbymintay
    Participant

    @shibbymintay

    @mercime Sorry about that

    I basically cannot see the entire top portion of the page, which includes my site’s navigation bar. I probably should have mentioned that I am also unable to see the Buddypress Admin bar.

    I tried changing the margins to see if the missing portion would show up, but that did not solve the problem.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @shibbymintay Strange. What theme are you using? Have tested BP with many themes and this is the first time this issue has been reported. Or, do you have any script/code in bp-custom.php, functions.php, or plugin which works on the adminbar?

    Avatar of shibbymintay
    shibbymintay
    Participant

    @shibbymintay

    My theme is a custom theme. I just inherited it and I suspect it has been kind of Frankenstein’s together by a few different developers in the past. I will fiddle with functions.php and see if I can find something working with the admin bar and get back to you.

    Thank you for the suggestion!

    Avatar of shibbymintay
    shibbymintay
    Participant

    @shibbymintay

    @mercime I took a look through my functions and plugins but didn’t find anything working on the admin bar, in fact my site doesn’t even display the admin bar.

    where in the buddypress plugin code is the buddypress bar loaded? Maybe I could hack it to keep it from loading and see if that makes a difference.

    Avatar of peter-hamilton
    peter-hamilton
    Participant

    @peter-hamilton

    If you can not link to this site you should install the theme on another test site that we can access.

    It is difficult to help you when we are having to guess.

    I personally have no clue where the buddypres bar is loaded, but a simple google search showed a link to the buddypress codex.

    Buddypress Bar

    Avatar of shibbymintay
    shibbymintay
    Participant

    @shibbymintay

    I did step through the javascript execution and it seems like the nav bar is hidden once line 1504 in buddypress.js in /wordpress/blog/wp-content/plugins/buddypress/bp-templates/bp-legacy/js executes. It looks like this:

    jq(‘body’).attr(‘class’, jq(‘body’).attr(‘class’).replace( /no-js/,’js’ ) );

    I’m honestly not sure what this line of code is doing and I cannot edit this file as I get a ‘permission denied’ otherwise I would just try commenting it out.

    Avatar of shibbymintay
    shibbymintay
    Participant

    @shibbymintay

    I am definitely at a loss here.

    @peter-hamilton my site url is test.eatyourkimchi.com if you don’t mind taking a look

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

The topic ‘Buddypress not compatible with theme’ is closed to new replies.