Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Avatar of juggledad
    juggledad
    Participant

    @juggledad

    Just for reference, I opened an issue for this: https://buddypress.trac.wordpress.org/ticket/5307

    Avatar of juggledad
    juggledad
    Participant

    @juggledad

    one last thought. If BP is going to work with ‘any’ theme, then if I make a BP page my front page (the reason doesn’t matter) then
    1) is_front_page() should also return a ’1′, but it doesn’t.
    2) the classes on the <body> should return

    home-page home page page-id-nnnn page-template-default

    in addition to the BP classes

    if I had decided to style my front page blue using

    body.home-page {background-color: blue;}

    and then activating BP should not ignore that CSS, but it will the way things stand now.

    Avatar of juggledad
    juggledad
    Participant

    @juggledad

    as a matter of fact, if I was to set the page as the WP ‘front_page’ the function is_front_page() returns null

    one additional note: in BP 1.7.1 is_page() returned a ’1′

    Avatar of juggledad
    juggledad
    Participant

    @juggledad

    in addition, if I change the page name and slug in the WP page editor, BP recognizes it…so BP is tied to the page…

    Avatar of juggledad
    juggledad
    Participant

    @juggledad

    ‘my-members’ is no longer a WP page? Hmmm it still shows up in the page editor, so yes I would call that a bug. Why do you have to associate a WP page with a BP component directory?

    bottom line, if BP is going to work with any theme then when a page is displayed, the is_page() should work.

    Avatar of juggledad
    juggledad
    Participant

    @juggledad

    the ‘my-members’ / ‘my members’ was a typo – it is the same WordPress page
    <?php echo 'is_page()='.is_page().'<br>'; ?> – why are you doing this?

    why, to demonstrate the issue. this is something you can do in 5 minutes to reproduce an issue I am seeing in a theme. Instead of pointing to the theme in question, I’ve shown the ‘bug’ in twentytwelve so anyone can reproduce it.

    Avatar of juggledad
    juggledad
    Participant

    @juggledad

    I add the coode in post 1 to twentytwelve
    I create a page in WordPress and call it ‘my-members’
    I view the page
    is_page() returns ’1′
    I install and activate buddypress
    I ‘Associate a WordPress Page with each BuddyPress component directory.’ and set members pointing at ‘my members’
    I view the page
    is_page() now returns null

    I don’t know about you, but to me this seems like a bug in buddypress

    Avatar of juggledad
    juggledad
    Participant

    @juggledad

    with BP 161 if you click on the ‘setting’ link on the plugin page you get the permission error. You first have to click on the ‘Dashboard’ tab and you will see a ‘BuddyPress Setup’ link that does the initial setup, then you can use the setup button on the plugin page.

    Having that ‘initial’ setup link in under the Dashboard’ tab is a bad idea espically since it goes away after you first use it.

    Avatar of juggledad
    juggledad
    Participant

    @juggledad

    After you activate the plugin, check under ‘Dashboard’ for a ‘BuddyPress’ setup tab. Untill I did that I was getting the ‘Insufficent permission…’ message

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