WP DaVinci Theme, Solostream

STEP 3 of the BuddyPress Template Pack plugin compatibility process.

If you’ve previously changed any of the BP template files in your theme folder, replace all of them for a clean slate by deleting the 6 BP folders in server – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.

Download the 6 clean BP folders to your computer hard drive.

A. At the top of each of those 17 template files I linked to above, replace

<?php get_header( 'buddypress' ); ?>
<?php do_action( '//DIFFERENT HOOKS' ); ?>
<div id="content">
<div class="padder">


<?php get_header(); ?>
global $wp_query;
$postid = $wp_query->post->ID;
if ( get_post_meta( $postid, 'post_featcontent', true ) == "Full Width Featured Content Slider"  ) { ?>
<?php include (TEMPLATEPATH . '/featured-wide.php'); ?>
<?php } ?>
<div id="page" class="clearfix">
<div id="contentleft">
<?php if ( get_post_meta( $postid, 'post_featcontent', true ) == "Narrow Width Featured Content Slider" ) { ?>
<?php include (TEMPLATEPATH . '/featured-narrow.php'); ?>
<?php } ?>
<?php if ( get_post_meta( $postid, 'post_featvideo', true ) == "Yes" ) { ?>
<?php include (TEMPLATEPATH . '/featured-vids.php'); ?>
<?php } ?>
<?php if ( get_post_meta( $postid, 'post_featgalleries', true ) == "Yes" ) { ?>
<?php include (TEMPLATEPATH . '/featured-galleries.php'); ?>
<?php } ?>
<div id="content" class="maincontent">
<div id="fb-root"></div>
<div class="singlepage">
<div class="post clearfix" id="post-main-<?php the_ID(); ?>">
<div class="entry">

In each of 17 files, you might want to change the BP Templates’ page title’s header tag where applicable, from

<h2>...</h2> or <h3>..</h3>


<h1 class="page-title"> //RESPECTIVE BP PAGE TITLES // </h1>

Save files.

B. At the bottom of the same 17 files, replace:

</div><!-- .padder -->
</div><!-- #content -->
<?php do_action( '//DIFFERENT HOOKS' ); ?>
<?php get_sidebar( 'buddypress' ); ?>
<?php get_footer( 'buddypress' ); ?>

with the following (except for registration/register.php):

<?php include (TEMPLATEPATH . '/sidebar-narrow.php'); ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

with the following for registration/register.php:

<?php include (TEMPLATEPATH . '/sidebar-narrow.php'); ?>
<script type="text/javascript">
jQuery(document).ready( function() {
if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
jQuery( 'input#signup_with_blog' ).click( function() {
<?php get_sidebar(); ?>
<?php get_footer(); ?>

Save files.

C. Upload the 6 BP folders containing the 17 files you revised up to your server wp-content/themes/wp-davinci-prem/

D. Copy the style modifications made in BP Twenty Ten to bottom of your theme’s stylesheet http://codex.buddypress.org/legacy/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ Adjust to taste.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s