Skip to:
Content
Pages
Categories
Search
Top
Bottom

WordPress Theme with BP 1.1


  • proceon
    Participant

    @proceon

    Hello –

    I’m currently trying to get BP 1.1 / WPMU 2.8.4 working with a standard WordPress Theme for the

    root blog and use the BP theme for any BP related activity. Pretty much the way it worked in

    1.0 etc. We are set up to use sub-directories and are running in a CentOS environment. I have followed the instructions listed here:

    http://codex.buddypress.org/how-to-guides/upgrading-a-buddypress-1-0-theme-for-buddypress-1-1/

    “I’ve used a WordPress theme for my blog with the default BuddyPress member theme”

    I’ve tried the following options:

    Integrating the New BP 1.1 Themes with our WP theme following Andy’s instructions.

    Unfdortunately the end result will display the BP functions, but it’s a mess.

    We then tried a secondary blog and updating our wp-config.php to repoint BP_ROOT_BLOG.

    This option functions, but the user accounts seem to be relative to the secondary blog not the

    root blog.

    So, we would like to get compatibility mode working ala BP 1.0. I have searched the threads

    and docs to get a clear set of insturctions on what needs to be done. But I am getting

    conflicting results.

    I assume I need the /wp-content/bp-themes directory to keep compatiibility mode active.

    do I still perform the moves of bp-default and bp-sn-parent? As for the template files

    to move to my WP theme are they just: optionsbar.php”, “userbar.php” and “plugin-template.php”

    or do need all the subdirectories from bp-sn-parent?

    And lastly, should I be upgrading to BP 1.1.1 at this point?

    Thanks for your time

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

  • proceon
    Participant

    @proceon

    Greetings –

    Just need a little help here…I simply want to run BP 1.1 in compatibility mode

    and use a WP theme for my root blog and and a BP theme for BP activities.

    I do NOT want to merge the two. I have tried that, and my WP theme (Magicblue)

    is not suited for all the things that BP needs. Therefore would like to run things

    exactly like under BP1.0. I have this working on another system (WP 2.71/BP1.0).

    I am not clear as to which template files to move to my WP theme from the new

    version of BP. In the MERGE process I would move over “optionsbar.php”, “userbar.php”, and “plugin-template.php” and then move over all the subdirs from bp-sn-parent. What

    do I move over to run in campatibility mode? PLEASE some help…I have posted several

    times in these forums and do not seem to be getting any input.

    Thank you once again for your time.


    proceon
    Participant

    @proceon

    I could really use some help here….Not getting any responses.

    HOW IS COMPATIBILITY MODE SUPPOSED TO WORK IN 1.1.1?

    I have gone down the route of trying to integrate my WP theme with Buddypress, for my root blog

    but it is not going to work. I would like to keep the themes separate like in 1.0.3 etc. HOW DO YOU DO THIS? Which exact template files do I need to move? I see which ones to move if I would like to INTEGRATE my theme with BP, but NOT if I want to keep the themes SEPARATE. Here are my specifics once again: Fresh install of

    WPMU 2.8.4a

    BP 1.1.1

    No plugins

    using subdirs

    WPMU is not at root on webserver

    using WP default theme at root (trying to get MagicBlue working, but will start with default).

    CentOS 5.3

    Is this setup possible? Can BP 1.1.1 run like BP 1.0.3 with a separate WP root theme? Please

    HELP….this is chewing up a lot of time trying different alternatives.

    Thanks


    Gianfranco
    Participant

    @gian-ava

    @proceon

    A lot about what you’re trying to achive is said here: https://buddypress.org/forums/topic/new-theme-framework-and-exisiting-wp-themes

    Otherwise, I myself am trying to get a step by step procedure to integrate BuddyPress as a section of a “normal” website, that is not full BuddyPress based.

    So far, form my experiments with theaming and integrating I can say:

    1) Delete all the files from “bp-sn-parent” that are already in your WP Theme (header.php, footer.php, index.php, …). Leave just all sub-directories and “optionsbar.php”, “userbar.php”, “plugin-template.php”, “style.css.

    2) Copy this at the bottom of “header.php” (WP Theme):

    <?php if ( !bp_is_blog_page() && !bp_is_directory() && !bp_is_register_page() && !bp_is_activation_page() ) : ?>

    <?php locate_template( array( ‘userbar.php’ ), true ) /* Load the user navigation */ ?>

    <?php locate_template( array( ‘optionsbar.php’ ), true ) /* Load the currently displayed object navigation */ ?>

    <?php endif; ?>

    3) In the header (comments) of the “style.css” in “bp-sn-parent” theme write this:

    Template : your-wp-theme-name

    …so you make this theme a child of your WP Theme, right?

    4) Activate the “bp-sn-parent” theme in the backend, under “Site Admin/Themes”, then activate it under “Apperance/Themes”.

    This will be the theme ofor the whole site, but it’ll call all the WP theme templates when no BuddyPress functions are needed. It’s a reverse way of doing the integration. I think it’s better.

    This procedure makes a lot of what you need, I think. Like, it gets your WP Theme working as it should and it “calls” the BuddyPress into play only when needed.

    But, I need to warn you that I am still struggling with styling (or skinning) the BP theme.

    So, I am still on it. But maybe it was worthing sharing already what I got so far, so that other may take it from there.

    Hope it helps…


    proceon
    Participant

    @proceon

    gian-ava –

    Thanks for the help. Never thought about doing the calls in a reverse manner. I will give it a whirl and see how it goes.

    Thanks


    Gianfranco
    Participant

    @gian-ava

    You’re welcome porceon.

    Let me know how it goes, and don’t heistate to post your experiencies here.

    As I told you I didn’t get to finish integrating, and I’ve to put in on hold, while I am working on someting else. So your experiments with this way of integration may turn helpful.

    Cheers.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress Theme with BP 1.1’ is closed to new replies.
Skip to toolbar