Skip to:
Content
Pages
Categories
Search
Top
Bottom

Integrating buddypress in my theme

  • I’ve recently installed BuddyPress, and I’ve been following the steps to get activity and other BP functions to show up in my theme correctly. I just seem to be missing something, cause when I go to activity from the BP admin bar in the front end, the sidebars are not showing up, and I get a long vertical list with meta and blogroll and stuff that I don’t usually display below the activity parts.
    Any ideas?

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

  • LPH2005
    Participant

    @lph2005

    Do you have a link for us?

    The site is not launched yet so it’s not open to the public. I’m developing this on a contract for a client with an NDA and stuff. I can however post some code snippets. If you need more access, please send me a pm.

    The guide after installing the BP plugin instructs us to add the theme divs to some index.php and other files in the BP template files added to the theme.
    The top of f.ex. the index.php in activity looks like this:
    (I have changed the angular code paranthesis at the beginning and end of each line to be able to post this here)

    (?php get_header() ?)
    (div id=”container”)
    (div id=”content”)
    (?php if ( !is_user_logged_in() ) : ?)

    — and so on.

    The theme page.php starts like this:
    (?php get_header(); ?)
    (div class=”left-navi-blog”)
    (?php include “left-sidebar.php”;?)
    (/div)
    (div class=”center-blog”)
    (?php if (have_posts()) : while (have_posts()) : the_post(); ?)

    — and so on.

    The instructions say to add the divs from the page.php to the activity index.php like this:
    (?php get_header(); ?)
    (div class=”left-navi-blog”)
    (?php include “left-sidebar.php”;?)
    (/div)
    (div class=”center-blog”)
    (div id=”container”)
    (div id=”content”)
    (?php if ( !is_user_logged_in() ) : ?)

    — and the rest of the code lines follows.

    The problem is that the left sidebar is nowhere to be seen, and I get all those meta links and blogroll and other links below the activity section of the page displayed when I click Activity in the BP adminbar.

    Just can’t figure out why this is when I’m following the instructions.


    Jeff Sayre
    Participant

    @jeffsayre

    I’ll read it now. I also solved the above question, just didn’t see it right away.
    The theme divs goes below the content div in the BP template files instead of above. Oh well, one problem down, I’ll soon find a new one. ;)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Integrating buddypress in my theme’ is closed to new replies.
Skip to toolbar