Forum Replies Created
-
You could use the following setup:
– Leave Atahualpa without modifications, or with subtle modifications like the code from Andy.
– Modify the bp-sn-parent style.css to make it a child of Atahualpa. Remove files present in Atahualpa from bp-sn-parent ( in particular header.php and footer.php, you decide if you want to remove single.php, index.php, etc ).
Now choose the bp-sn-parent as your theme. This should let you have a very basic integration of both themes.
Probably you will have problems with some pages, specially group pages. Applythe patch in this page to solve the problem: https://trac.buddypress.org/ticket/997
Maybe your BP plugin is loaded before the WP plugin, and therefore the mapress class is undeclared. Perhaps it’s best for you to do the following:
function init_my_plugin() { global $bp_mapress; $bp_mapress = new mapress; }
add_action( 'plugins_loaded', 'init_my_plugin' );To have a BP theme that matches my current WP theme.
This also makes it easier (if you do it right
) to use any other WP theme as a parent theme with little work.
I will be using the following schema:
– parent theme: Thesis
– child theme: my own bp framework
Thesis has no support for BP, so all BP work is done in the child theme. However, the current trunk version is not friendly with this kind of setup
Maybe it’s plugin-template.php?
The code is spreaded through many bp template tags, like:
function bp_get_profile_header() {
load_template( TEMPLATEPATH . '/profile/profile-header.php' );
}Since TEMPLATEPATH always point to the parent theme, currently if someone uses a custom theme, then it’s impossible to use those template tags. Not a big deal, almost always it’s possible to write a copy of the function and load the correct file.
If I remember correctly, there is a function named locate_template that first looks into the child theme, and then into the parent.
I just tested locally BP 1.1.
The new theme architecture is great, previously I had a custom bp theme that integrated another WP theme (Thesis). Now it is much easier to integrate another theme!

However, I have found that the BP code many times uses the following code:
load_template( TEMPLATEPATH . '/some_file' );This doesn’t work quite right if some uses a custom theme, because it directly looks into the parent theme for
some_fileinstead of checking in the child theme first.I just updated my BP install. First MU (from 2.7.1), then BP (from 1.0.1). Everything is ok
Hi, this is my WP/BB/BP integration: http://ryuuko.cl
it’s currently beta, but open. Only the blog registration is disabled because I haven’t uploaded themes :p I use a custom BP/BB theme that uses the markup of the WP theme (Thesis in this case).
We’ve been a small forum based community for almost 10 years. The next step is something more social, so BuddyPress was just what we needed.