Tags

STEP 3 of the BuddyPress Template Pack plugin compatibility process.

Based on your theme’s HTML structure, you’d need to use the first option, i.e., change 17 template files within the 6 BP folders transferred to your Alyeska theme folder in server during the 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">

with

<?php get_header(); 
themeblvd_main_start();
themeblvd_main_top();
themeblvd_breadcrumbs();
themeblvd_before_layout();
?>
<div id="sidebar_layout">
<div class="sidebar_layout-inner">
<div class="grid-protection">
<?php themeblvd_fixed_sidebars( 'left' ); ?>
<div id="content" role="main">
<div class="inner">
<?php themeblvd_content_top(); ?>
<div class="article-wrap">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-content">

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):

</div></article></div>
<?php themeblvd_page_footer(); ?>
</div></div>
<?php themeblvd_fixed_sidebars( 'right' ); ?>
</div></div></div>
<?php	
themeblvd_main_bottom();
themeblvd_main_end();
get_footer(); ?>

with the following for registration/register.php:

</div></article></div>
<?php themeblvd_page_footer(); ?>
</div></div>
<?php themeblvd_fixed_sidebars( 'right' ); ?>
<script type="text/javascript">
jQuery(document).ready( function() {
if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
jQuery('div#blog-details').toggle();
jQuery( 'input#signup_with_blog' ).click( function() {
jQuery('div#blog-details').fadeOut().toggle();
});
});
</script>
</div></div></div>
<?php	
themeblvd_main_bottom();
themeblvd_main_end();
get_footer(); ?>

Save files.

C. Upload the 6 BP folders containing the 17 files you’ve just revised to your server wp-content/themes/alyeska/

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.

About these ads