At the bottom of the file replace
`
I am beyond frustrated. I have been trying to follow
http://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/
But the instructions indicate that activity/index.php should have:
`
@suziwilson there’s an alternative way to make WP theme compatible with BP using BP Template Pack Plugin depending on the theme
https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/
https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-eleven-bp-1-5/
If you need further assistance, open up your WP theme’s page.php, select all and copy, paste to pastebin.com, click submit and post the generated URL here. Posting what theme you’re using, site URL would facilitate assistance as well.
Hi mercime, Thank you for replying so quickly. Here is my page.php. The URL is:
http://www.newlifeharmony.com
Sorry, I haven’t used pastebin before. I think this may be what you need:
http://pastebin.com/SN36qZk1
@suziwilson congratulations on your pastebin post
To make sure that your code shows up in this forum, place backtick (`) the symbol within the parentheses at the beginning and at the end of your code. For long/big blocks of code, pastebin is better.
` `
We’ll be using the first method to make your WP theme compatible with BuddyPress – changing HTML structure in 16 BP template files transferred to your Listings theme folder in server during the BP Compatibility Process. Download the 6 BP folders transferred to your Listings theme during the process.
Starting with activity/index.php At the top of the file, replace
`
with
`
At the bottom of the file replace
`
`
with
`
`
Save file. Then do this with the remaining 15 files except for registration/register.php where at the very bottom, you replace
`
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();
});
});
`
with
`
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. Upload to server.
` `
You would still have some minor tweaks to the styles within the template. I’ve posted the tweaks used in some themes near middle of this page https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/
Thank you mercime. You’ve got me part of the way there. The buddypress pages are now just aligned a little to far to the left and the sidebar widgets are overlaying the pages. Can you give me a hint on how to move the content over about 20px to the left and what to do about the overlaying sidebar widgets?
BTW. I don’t have any widgets in the buddypress sidebars, so they must be coming from the theme’s default widget area’s.
Thanks for the help you’ve provided already. I appreciate it greatly.
Delete the header-buddypress.php and sidebar-buddypress.php previously created. My bad, I missed the common div#content in both Listings WP theme and BP template files which unfortunately are placed in different parts of the HTML structure. I have replaced instructions using second method with that of using the first method for BP Compatibility process in above post.
The widgets in sidebar which show up in the BuddyPress pages are the same as what you placed in your theme’s sidebar.
Thanks mercime. I’ll give that a try and let you know how it works. Wish I could send a chocolate chip cookie your way.
You’re welcome. Crossing my fingers
Thanks Mercime! Works like a charm. Perfect! Just what I wanted. Thank you
Used this solution once again, more than a year since the first one and it worked just as well! Thank you again.
@suziwilson Glad it worked out for you again and thanks for letting us know 🙂
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS