My site theme does not have a sidebar, but I am trying to add one to our buddypress pages. I was trying to follow the compatibility guide but it kept pointing to a plugin that doesn’t seem to exist anymore. I made a buddypress.php page template, but I’m stuck trying to get the layout to work for my sidebar. The sidebar is fixed width and floating right, but it is still showing above the content. Can anyone help me with the styling?
http://pursuitcommunity.com/groups/
Maybe ask the wplms authors for help as to why your cover images aren’t working? I haven’t used that theme so can’t help there.
Glad you finally got there!
sorry for my dumb questions.
my cover imagens aren’t working 🙁 . i tried update but dont change the image.
let me explain, i’m using a wlms theme and not a buddypress theme
this is what i did, first i try tu edit the files functions and cover-image-header from this folder
/public_html/wp-content/plugins/buddypress/bp-themes/bp-default
not work this way.
So finally i WIN !! thanks for u ! hahaha
this is the folder u have to edit ( for future questions by another users )
i edit insite the child theme
/public_html/wp-content/themes/wplms_modern functions.php
and
/public_html/wp-content/themes/wplms_modern/members/single member-header.php
So you are using cover images but they aren’t working? Or do you just mean the button isn’t appearing?
Since you are using cover images the second code segment (number 2 above) needs to be placed in cover-image-header.php . It won’t appear if you put it in member-header.php because that is for profiles when you haven’t activated the use of cover images.
That’s correct it won’t be in your child theme unless you’ve already put it there to make modifications. So it sounds like you need to copy the cover-image-header.php into your child theme following the same file structure. Something like:
mychildtheme>buddypress>members>single
(it goes in the single folder).
Hopefully you’ll see the button now
yes, i have, but doesnt work too.
and i cant find this file cover-image-header.php in my child theme, only in main theme. that’s correct ?
btw thanks for the fast reply
yes, that’s what i did.
i put the first code in functions.php and the second on member-header.php of child theme.
Hi @pedrohgl18,
and another in single.php child theme too.
Do you mean you used the same code twice? i.e. one in functions.php and one in single.php?
1. This code goes in either your bp-custom.php or functions.php (preferably the bp-custom.php):
function add_another_friend_button() {
$user_id = get_the_author_meta( 'ID' );
$mybutton = bp_add_friend_button( $user_id );
if ( ( is_user_logged_in() && ! bp_is_my_profile() ) ) {
echo $mybutton;
}
}
add_action( 'button_here', 'add_another_friend_button' );
2. Then insert the code below into the file where you wish your button to appear:
<div id="another-friend-button">
<?php
do_action( 'button_here' );
?>
</div><!-- #another-friend-button -->
Special thanks to @valuser and @shanebp for helping create a custom member directory by adding the Buddypress members-loop.php to my themes page.php, and renaming it page-local-members-php.
*For the step by step, here is the link to the discussion – https://buddypress.org/support/topic/how-to-display-additional-member-directory/#post-251127
There are now two Directories listed on the website. The current issue resides with the styling. The original member directory appears to obtain its structure from the Buddypress index.php file located in the public_html/cosnetwork.us/wp-content/plugins/buddypress/bp-themes/bp-default/members-folder, while the Secondary ‘Custom’ member directory is missing the original functions like the search, role search, order by, and some basic css such as removing the bulletins on the member list.
What would be the best solution to fix this.
Would adding the code from index.php file from the public_html/cosnetwork.us/wp-content/plugins/buddypress/bp-themes/bp-default/members-folder solve it?
*I wonder, would it be possible to make an additional page template that would shows on the wordpress frontend part of the plugin on the Dashboard/settins/buddypress/pages section as an additional directory.
That way you could route it from to a page from the front end the same way you route member, activity stream, register, and activate page keeping all files it in the buddypress folder.
Also to remove the bar itself for non admins put this in your functions.php :
function remove_admin_bar() {
if ( !current_user_can( 'administrator' ) && !is_super_admin() ) {
show_admin_bar(false);
}
}
add_action( 'after_setup_theme', 'remove_admin_bar' );
i have the same problem,
i did the same solution but didnt work.
i put this code in funcions.php child theme
function add_another_friend_button() {
$user_id = get_the_author_meta( ‘ID’ );
$mybutton = bp_add_friend_button( $user_id );
if ( ( is_user_logged_in() && ! bp_is_my_profile() ) ) {
echo $mybutton;
}
}
add_action( ‘button_here’, ‘add_another_friend_button’ );
and another in single.php child theme too.
any other solution ?
Hi,
First of all i have to say, this is the first time i try to personalize a buddypress page, i have a client who requested a pretty big job, so i figured maybe buddypress could be the best solution for this occasion.
I was following this article ” https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/ ”
What i am trying to do is having a buddypress folder in my theme and personalize it as much as my client wants.
The problem is that even after uploading all the necessary files in mytheme/buddypress nothing changes. I’ve also tried to get rid of the whole profile header (which should have broken the layout at least) but it was still looking as the original buddypress theme.
Am i doing something wrong? it may be that the guide is obsolete as we are at version 2.5.1.
I’ve also tried to upload the content of bp-default in mytheme/buddypress but the result is a broken page (which makes me think that maybe bp-default is the right folder to copy, but still, it gives a lot of errors).
Please let me know if i haven’t been clear.
Hope to hear from you soon.
Fernando
If you use the Theme My Login plugin, you can customise the login template quite easily.
I’m not sure when this started, or why, but going into my BuddyPress Settings now, I am completely unable to make any changes to the Components and Pages tabs because there is no “Save Settings” button to save my changes.
Strange enough, the Options tab still has this button…
I’ve already looked around, and tried changing my theme, and that hasn’t worked, neither has disabling other plugins.
I also tried completely uninstalling and re-installing BuddyPress from WordPress, and deleting leftover databases, which also hasn’t worked.
I’m running the latest BuddyPress Version 2.5.1 on WordPress Version 4.4.2.
Thanks in advance.
I have the exact same issue, it’s the multi-select ‘checkbox’ fields that display (0 selected) instead of the descriptive placeholder text, that tells users what they should be selecting.
I’m also using the Kleo theme however the Kleo support says it has nothing to do with the responsiveness of their theme. Which I’m inclined to believe, since changing the theme results in the same problem, like Mickey mentioned. So it must be happening somewhere in the Buddypress or BP-search form code. Can we get any help with this? There was one other topic posted 10 months ago, with the same issue and no information was received there either?
Adding this to your style.css in child theme should work:
#wpadminbar {
background: transparent;
}
Thanks! I was able to copy that to my child theme
/wp-content/themes/genbu-child/buddypress/members/single/profile/edit.php
and can do some basic edits. Not familliar with making these types of changes but how would I change up some of the form field information. As an example I wanted to add some description text next to the 3 date fields for the Birth Date. If looked like those were getting generated here…
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
<div<?php bp_field_css_class( 'editfield' ); ?>>
<?php
$field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
$field_type->edit_field_html();
but not sure how to change those up.
WordPress 4.4.2
BuddyPress 2.5.1
Not sure how to change up the form where users would update their extended profile.
I was able to setup a custom registration page by copying the source file to here and making my changes…
/wp-content/themes/genbu-child/buddypress/members/register.php
On the user Profile – Edit page I’m seeing the different fields I wanted to include, but wanted to add some extra description to the three birth date menus that show up. Is there a file similar to register.php I could copy to my child theme and fix up the HTML how I want it?
I revised bp-custom.php to have the following code –
<?php
// hacks and mods will go here
define ( ‘BP_AVATAR_THUMB_WIDTH’, 60 );
define ( ‘BP_AVATAR_THUMB_HEIGHT’, 60 );
define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, 20000 );
add_filter( ‘bp_do_register_theme_directory’, ‘__return_true’ );
?>
By changing the line – define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, 20000 ); to have the numeric value of 20000 it now allows me to upload an avatar image.
But now it will now allow me to crop the image.
Error message reads – There was a problem cropping your profile photo.
Hello
Thank you for your work on the development of Buddypress.
I was looking for a solution to your problem and found this topic https://buddypress.org/support/topic/bp-1-1-3-display-non-member-comments-in-site-wide-activity-stream/
6 years ago it
I now have the same problem. Comments non-member are not displayed in the activity stream. Plugin recommended 6 years ago marked obsolete. Is there something modern solution to this problem?
I see this problem on the local host (this is a non-working site). I want to solve this problem and migrate the solution to the working site
Wordpress ver 4.4.2–ru_RU
Buddypress ver 2.5.1
Default theme
Installed new
The problem occurs in the absence of other plug-ins
Hi,
Updated to BP v2.5.1 and found a composing issue if I want to send private message to a user.
What I found:
1. If you want to compose a new message and search for a recipient with some letter you enter, after clicking on a name you found, the name is set with a space in front of the name and the message cannot be sent, see attached screen.
http://www.screencast.com/t/E27NTq3x8
2. Private messaging only works, if you visited a profile and click on private message, see the second attached screenshot.
http://www.screencast.com/t/JW9KzQfFfuFU
—
Same if I use standard theme, see http://www.screencast.com/t/IroChWUr
Can you check this please?
And can I switch to the latest BuddyPress version before 2.5.0 without any problems – just overwriting the BuddyPress folder?
Best Regards,
Thorsten
Hi Henry,
It’s not about the theme, cause it was working fine till the last buddypress update.
but the theme that i am using is “Point” from the wordpress theme site.
http://PROUDLesbians.nl
Plugins that i am using are:
Advanced Ads
Akismet
Birthdays Widget (for buddypress)
BP stickers
Code PHP in widget
Contact Form 7
Custom Login Page
Jetpack
Loco Translate
Loginizer
Quick Chat
WP Smush
WP-Optimize
YOAST Seo.
Hi,
Install:
WP 4.4.2
BP 2.5.1
Issue location:
Profile > Change Photo Profile > Upload
Profile > Change Photo Profile > Take Photo
We have a testing installation with same plugins and theme from production.
1) The tab Take Photo does not load. We are trying to find the difference between both installations but could not find it. Any idea?
2) When we try to crop the avatar, we get the error “There was a problem cropping your profile photo.”
Cover image upload or standard Media upload works just fine, both installations.
Questions:
What it makes the tab be loaded or not? Is there any relation with cropping problem?
Thanks in advance,
Same thing for theme Twenty Fifteen
Into theme create /buddypress/groups/single/index-action-admin.php copy content from /buddypress/groups/single/admin.php with get_header() and get_footer()
for Groups, this template hierarchy works but with some notices:
NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:2610 - Trying to get property of non-object
require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_admin_tabs
NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:775 - Trying to get property of non-object
require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_admin_form_action, bp_get_group_admin_form_action, bp_get_group_permalink
NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:448 - Trying to get property of non-object
require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_name, bp_get_group_name
NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:938 - Trying to get property of non-object
require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_description_editable, bp_get_group_description_editable
NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:335 - Trying to get property of non-object
require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_id, bp_get_group_id
PLease help.
Activity and profiles of my members are showing up in Google search results. This is totally not cool! Even when you’re not signed in you can see the content! My members are people with ADD en ADHD and privacy is very important! I don’t want my members to show up in search results. Most of them don’t want this and it’s bad for the succes of my community.
What can I do?
http://www.adhdpositief.nl (is in Dutch)
wordpress 4.4.2
theme dynamix