Save file.
B. CREATE a blank file and Save As > sidebar-buddypress.php
Do not add anything in it.
My sidebar is placed below the content ive tried to read various similar issues regarding this but its like i really cant get it working. As far as i can see “mercime” is the expert but would appreciate help from the rest aswell.
Pastebin:
Header – http://pastebin.com/EmibmtA3
Page – http://pastebin.com/09zZ9y77
Sidebar – http://pastebin.com/kS8ebh1f
Index – http://pastebin.com/qNQKiWzT
footer – http://pastebin.com/f9g0W5ye
It currently looks like this: http://i.imgur.com/4vW3u.png
Cheers
zeec
@mercime isn’t the only ‘expert’ but adjusting custom themes to use BP has become somewhat of a service on this forum but we look forward to 1.7 dropping .
Before mercime does have to dive in to help you out have you actually run through the template pack process as outlined in the BP codex and attempted to get things working, it helps in advance to know what has been tried.
Hi Hugo. Yes I have and it has failed each single time. Im normally not asking for help since i like the challenge however this is really making me feel sad.
== adjusting custom themes to use BP has become somewhat of a service on this forum but we look forward to 1.7 dropping ==
@hnla it was more of a mission on my part to do this lightweight work on the front end while you guys do the heavy lifting on the back end And yes, I am looking forward to BP 1.7
== however this is really making me feel sad ==
@zeecc don’t feel sad. Initial scan shows that we might be able to get away with creating only 3 files instead of revising 16 template files. I say this because if 3 files don’t work, we have to go the 16 files route. Having said that, I’m 99% sure the 3 files will do it for your theme.
We will create three new files, header-buddypress.php, sidebar-buddypress.php and footer-buddypress.php to make your theme compatible with BP.
If you’ve revised any of the BP template files transferred to your minimosity theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your minimosity theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.
A. COPY your theme’s header.php and Save As > header-buddypress.php
Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add this:
`
Save file.
B. CREATE a blank file and Save As > sidebar-buddypress.php
Do not add anything in it.
C. COPY footer.php and Save As > footer-buddypress.php file
Open up sidebar-buddypress.php and at the very TOP of the file above all other code, add:
`
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 file.
C. Upload header-buddypress.php, sidebar-buddypress.php and footer-buddypress.php to your theme folder in server wp-content/themes/minimosity/ in the same directory where your regular header.php and sidebar.php files are
D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
Hi let me quickly explain what i did. I copied Header, footer and sidebar.php outside my ftp client and renamed them to header-buddypress, footer-buddy-press and sidebar-buddypress. I then followed your steps however i found it odd that i had to make a blank page for sidebar-buddypress.php and then afterwards after the footer-buddypress section add some code in the TOP in sidebar-buddypress.
I then uploaded the new files and went to my “wp-content/themes/minimosity/” directory and found style.css and added at the bottom the code from the “Template Pack Walkthrough – Twenty Ten” page you linked me.
My sidebar-buddypress.php looks exactly as the code you posted.
This is what i basically did, i now have no sidebar shown on my buddypress sites. my website is: wehype.dk
I really appreciate your help but have i missed something?
Site URL? Need to see what’s going on.
I actually managed to fix it with making a complete with a fresh install of WP and clearing the database. And then following your steps again. However I have one issue if you there are two boxes overlapping each other – http://wehype.dk/activity/ do you know how to fix this? And is it possible to change the font color of the buttons I’ve uploaded a picture to give you a clear view of what I exactly mean – https://i.imgur.com/8evFN.png
Thanks again.
EDIT: Managed to change the color using firebug. However still cant figure out how to fix the overlapping thingy.
Using Firebug, you would see that your theme adds an icon on the bottom right corner of the container for elements with .info class. So you need to add some padding on the right of the container to show the icon:
`div#message {
padding-right: 50px;
}`
OR
you can remove the icon entirely like so
`div.info {
background: transparent none;
}`
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS