@marutim I need the code for precontent.php file as well. Heads up – Initial scan shows that you will have to revise 16 BP template files from the folders transferred to your current theme in server.
@mercime Thanks for the reply.
Please do help me in restructuring the 16 BP template files.
precontent.php: http://pastebin.com/sQyZXTAg
@marutim Based on the HTML structure of your theme, you need to change 16 template files within the 6 BP folders transferred to your flare theme folder in server during the compatibility process.
If you’ve previously changed any of the BP template files in your flare theme folder in server, replace all of them for a clean slate by deleting the 6 BP folders – /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 16 template files I linked to above, replace
`
`
with the following:
`
<div id="precontent" class="”>
<div id="content" class="”>
<article id="post-” >
`
Then, in each of 16 files, you’d like to change the BP Templates’ page title’s header tag from `
…
` or `
..
` to
`
`
where applicable, then move this to just right UNDER “ Just watch out when you do this in the /activity/index.php page.
Save files.
B. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
`
`
with the following for registration/register.php:
`
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();
});
});
`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/flare/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
@mercime Thank you so much for the help. It worked
@marutim You’re welcome. Thank you for confirming it worked
Hi Maruti, I wonder if you could possibly help as I am trying to install BuddyPress to Flare Theme also…Would you be able to send me examples of the Template Files.
I am building a new website for a local school (although I’m not a developer)…and would appreciate your support greatly!
@tomraff as of BuddyPress 1.7, BuddyPress Pages are rendered automagically in nearly all WordPress themes.
If you have activated the BP Template Pack plugin, deactivate it and delete the plugin.
If you already went through the Appearance > BP Compatibility process, you also need to delete the 6 BP folders transferred to your flare theme in server, i.e., delete /activity, /blogs, /forums, /groups, /members and /registration folders