Thanks mercime,
I did try that but the cropping tool snaps back each time I try to extend it. But I will try making my images bigger again and provide some white space around them to see if that helps.
== it seems regardless of how small I make my images BP wants to crop them ==
You don’t have to crop the avatar. Extend the side and/or corner of the cropping tool to full width and height and you’re good to go.
I have been trying to upload an image to alter avatars on my standalone buddypress installation.
From reading elsewhere I was given to understand that the thumbnail size is ’50’ x ’50’ px so I created images this size and smaller – however it seems regardless of how small I make my images BP wants to crop them. All the resulting avatar representations are of course cropped but (ironically) are larger than the original. I hope someone can explain this to me.
Instruction was to paste `` at the TOP of the file so sidebar-buddypress.php should be like this http://pastebin.com/aLkf4uaS
Yes, I got it to work too! Thanks @r-a-y !
@r-a-y
Thanks so much for the info on delete. I added it to my site and it is working great now!!!
I have activated the BP Twenty Eleven child theme so I now see content in BP pages with a parse error: syntax error, unexpected ‘<' in C:xampphtdocswpresswp-contentthemesBP Twenty Elevensidebar-buddypress.php on line 9 – which is where I put the additional code suggested ()
It is inside the <?php immediately below the descriptive comment and above the line
$options = twentyeleven_get_theme_options ();
Have I put it in the wrong place?
This parse error appears on all BP pages but not the original theme pages.
My dashboard is still telling me I have activated the BuddyPress Template Pack, but not completed the setup process.
Sorry for my ignorance
.
ditto. I made some progress with site wide forums by deselecting the forum check box in the BP settings. Though I haven’;t traced the code. I did however have an out of memory problem during bbPres installation, which may have f’ed up the install. Shame buddypress doesn’t tidy up completely on removal.
I try not to edit the functions file unless absolutely necessary.
The plugins I am using are absolutely necessary for the site to function, so turning them off or deleting them is not an option. BuddyPress will get deleted before any of the others do!
Not sure what you mean by “I assume you are using a plugin”? Yes, I’m using BuddyPress?
I’m working on adding your snippet to the entry.php page. Still need the edit bit for fixing typos. So far it hasn’t worked … but I could be putting it in the wrong places. Also my activity stream just blew up – which has nothing to do with adding the snippet, and I’ll write it up as a separate report.
Thanks r-a-y!!
Hi,
I have searched for hours to try to understand how to properly use the extended / custom profile fields in Buddypress but I am still puzzled. How come the Buddypress team have created the extended profile fields without giving users the possibility to actually show those fields in a simple way??
I need to know:
– How to I get all the custom profile fields I create in Buddypress to show on the register and members page and have this data to be properly stored in the database?
And I would also like to know:
– If it would be possible to have a drop-down list with the different profile field sections that the registering user can choose from, eg. the user could choose what type of member he/she would like to become (eg. private member, company, organisation…) and depending on what he chose from the drop-down menu, a different profile field / register page would appear.
Many thanks!
Please post this as an enhancement ticket on Trac:
https://buddypress.trac.wordpress.org/newticket
On the backend, you’d need to experiment with adding some activity meta.
In BP 1.5, all the activity meta functions are available in bp-activity/bp-activity-functions.php:
https://buddypress.trac.wordpress.org/browser/tags/1.5/bp-activity/bp-activity-functions.php#L438
On the frontend, you’ll need to add an input field to the post form and then grabbing the form data so you can save it as activity meta. Check out /bp-default/activity/post-form.php for the actual form.
Saving the title might be a little tricky with AJAX though.
This is an unhelpful thread. Avatars uploads do not and have never been intended to be supported on BuddyPress.org. Use a gravatar if it matters to you.
I believe it was because I failed to click on the Finish & Activate button. I’d read the message “The BuddyPress setup is complete, and your site is ready to go!” so I just chose something other than the Finish & Activate button. yes, this is the point.
I backed up my old copy of buddypress because I had to get a new one and I wana get all the old acatars back where are the avatars located so i can put the old ones back
I’m so not advanced with this, so please forgive me, but is there a tutorial on how best to update your Buddypress files? What I’ve done has been update only individual files as they’ve given me trouble, so I don’t have to completely rebuild my theme with the updates. I’m sure this is not the way to do it.
Thanks for the reply karmatosed!
could not edit the prev post.
The code for the highlight is i think in bp-members-template.php on line 704
function bp_get_loggedin_user_nav() {
global $bp;
// Loop through each navigation item
foreach( (array) $bp->bp_nav as $nav_item ) {
// If the current component matches the nav item id, then add a highlight CSS class.
if ( !bp_is_directory() && $bp->active_components[$bp->current_component] == $nav_item )
$selected = ' class="current selected"';
else
$selected = '';
/* If we are viewing another person (current_userid does not equal loggedin_user->id)
then check to see if the two users are friends. if they are, add a highlight CSS class
to the friends nav item if it exists. */
if ( !bp_is_my_profile() && $bp->displayed_user->id ) {
$selected = '';
if ( bp_is_active( 'friends' ) ) {
if ( $nav_item == $bp->friends->id ) {
if ( friends_check_friendship( $bp->loggedin_user->id, $bp->displayed_user->id ) )
$selected = ' class="current selected"';
}
}
}
// echo out the final list item
echo apply_filters_ref_array( 'bp_get_loggedin_user_nav_' . $nav_item, array( '<li id="li-nav-' . $nav_item . '"><div class="menu-img-' . $nav_item . '"><a id="my-' . $nav_item . '" href="' . $nav_item . '">' . $nav_item . '</a></div></li>', &$nav_item ) );
}
// Always add a log out list item to the end of the navigation
$logout_link = '<li><div class="menu-img-logout"><a id="wp-logout" href="' . wp_logout_url( bp_get_root_domain() ) . '">' . __( 'Log Out', 'buddypress' ) . '</a></div></li>';
echo apply_filters( 'bp_logout_nav_link', $logout_link );
}
The strange thing is… the only highlight i get on the sidebar is, if i view a friends profile. so the part on line 715 works, but not the rest!
Hi.
I have a small problem or bug, i created a sidebar on the left side and inserted bp_get_loggedin_user_nav(); in it to show the user nav in the sidebar !
Everything works, but if i go on activity or any link, the class “current_selected” is not applied and the link does not get highlighted in the sidebar!
But it does get highlighted in the .padder div area ( as in default bp theme ).
My sidebar html:
<div id="profile-menu">
<span class="bbw-user-link"><a href=""></a></span>
<ul class="bbw-avatar">
<li></li>
</ul>
<div id="side_nav">
<div class="menu-list-tabs no-ajax" id="object-nav">
<ul>
</ul>
</div>
</div>
</div>
P.s. My php skills are limited and this it the first time i use buddypress… i have no clue about the that are all around in the template files… could the highlight not work because of them?
Hi.
This may sound strange, but where are the bp-core.php / bp-message.php / bp-activity.php and so on files?
They should be in the dir: “wp-content/plugins/buddypress/file-name”
I looked EVERYWHERE, every buddypress folder… i even checked every folder on my server starting from root…
I downloaded a new buddypress zip to my PC, and checked there – no bp-core.php etc…
So where are they ?
Ok so on my post pages the Like Button I use from the “Buddypress Like” plugin appears under the comments and I can’t figure out why for the life of me. Can someone take a look here http://wedancin.com/2011/10/new-moonwalker/ and help me figure out why and how I can control where it shows up.
I have added the header-buddypress.php and sidebar-buddypress.php files as suggested. When I checked the Appearance it gave me a broken theme message which I fixed by correctly renaming the ‘twentyeleven’ theme directory in style.css so I now have Twenty Eleven still installed but I guess I may need to Activate BP Twenty Eleven child theme now?
i found the answer….. disable easy album plugin and it should work.
hello reader
When i go to my child theme i cannot access activity members forum etc. i get this error -please help.
Fatal error: Cannot access empty property in /home/content/90/11111111/html/njo/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 780
Hi,
My site has highly customized buddypress. Currently users can comment on posts and their comments are held in moderation until approved by admin, however they are showing up in the activity stream on the homepage and in the user’s pages without being approved. How do I fix this? I tried to just disable it in the dashboard but that did not work.
Thanks!