While using the 2019 theme, try switching the BP template pack.
wp-admin > Settings > BuddyPress > Options > Template Pack
Make sure at least one of your members is a subscriber.
Log in as that member. Test.
It may be a theme issue.
Try switching momentarily to a WP theme like 2019 and test for the issue.
Hi there,
I have installed buddypress and everything is working except there are no “add friend” or public/private message buttons under the cover photo, to the right of the profile photo.
Troubleshooting steps I have already taken:
1. Plugins – I deactivated them all except buddypress, refreshed page, no buttons.
2. Theme – I am using a theme called Video Pro which is compatible with Buddypress and has some integration settings too. Others seem to be using Buddypress fine and there are no issues on their support forums with it.
3. I deleted the plugin and reinstalled a fresh version. Still no buttons.
4. I am running this on a regular domain, not a subdomain but I have the site password protected. I added a couple of users to Buddypress so that there would be friends to add. If I go to the member directory I can request friend there but not from the other buddypress pages as I expected to see.
5. The code in the area I think they should be looks like this:
<div id="item-header-content">
<h2 class="user-nicename">@gatehousedesign</h2>
<ul class="member-header-actions action"> </ul>
<div class="item-meta">
<span class="activity">active right now</span>
</div><!-- #item-meta -->
</div><!-- #item-header-content -->
Anyone have any ideas? Much appreciated if you do. Maybe there’s some privacy setting I haven’t unchecked…? Or a conflict? I don’t see any errors in console.
Thanks,
GWD
Hello!
I was reading the documentation but I can not understand how to disable the buddypress templates, since I am using a general template for all wordpress and they overlap. I tried editing by deleting the styles of single-bp-email in my theme but this invalidated the visualization of the message.
Could you help me? Thank you very much !!
Try running with just BuddyPress active and with a default theme such as 2017, the chaces are it’s another plugin messing with BuddyPress that is causing this.
I am currently using Hostgator for my host and I have tried multiple web browsers to see if that changes anything and it doesn’t. I have again disabled all plugins and used a default theme and nothing has changed, I have activated wp_debug and nothing has popped up showing an error on this issue. Is there code that could fix this issue that I can just inject in one of the files?
On further review, disabling bootstrap 3 enqueing in the child theme functions.php fixed this.
After a journey of trial and error, I have narrowed down an issue I have with integrating a twentyseventeen child theme with buddypress profiles that render wpdataCHARTS.
Initially, I had a buddypress.php template in my child theme (twentyseventeenChild) but not in the parent. I have a wpdatachart which I render in child buddypress.php with echo do_shortcode[wpdatachart id=1]. When I navigate to MYDOMAIN.com/members/myname, no chart renders, but all my other customizations appear.
When I copy buddypress.php to the parent theme (twentyseventeen), the chart renders. Switching back to the Child theme, the chart does not render. buddypress.php is in both parent and child at this point. How come it is not working in the child theme? What is the fix?
Many many thanks in advance.
I’d think I’ve check for errors in the browser console and also enable WP_DEBUG and see if there are any php errors that might give a clue but it’s very odd if you are getting this with just BP active and on a default theme. The only other things to rule out would be your environment itself – hosting and browser.
@ukai-themes Following this link: https://gist.github.com/KaineLabs/f431ef4177757e61f9a638607c9879e0 If I want to show age in the profile page, I suppose that I need to add a hook to profile pages like it does with directoy:
if ( bp_is_members_directory() ) {
but I can’t make it work.
Do you know how could I do it?
Thanks
I turn off the option that available users to upload their owns profile cover image pictures and then I’m trying to set a default cover image to all users in general, I’m trying with this code as I saw in the documentation but it doesn’t work.
function your_theme_xprofile_cover_image( $settings = array() ) {
$settings['default_cover'] = 'http://site.url/to/your/default_cover_image.jpg';
return $settings;
}
add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_xprofile_cover_image', 10, 1 );
I’m adding that code in my functions.php and changing the URL image with a real URL image from my site but it doesn’t work.
Wow, that is annoying. Never noticed it before.
imo – the simplest approach is to add some js to submit the form as soon as it appears.
Add this to your theme > functions.php or bp-custom.php
function pp_submit_request_form() {
?>
<script type="text/javascript">
jQuery(document).ready(function ($) {
$('#group-request-send').click();
});
</script>
<?php
}
add_action( 'bp_after_group_request_membership_content', 'pp_submit_request_form' );
And you could remove or replace the comment field that is briefly visible by editing the template.
If you’re using the BP Legacy template pack, overload and then edit this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\single\request-membership.php
The only code that is in those files is code that came with the theme installed. I can paste the code in here if that helps? I just don’t know why it won’t display the profile image when prompted to crop the image.
Here is an image of what is happening when I upload a new profile photo, it also does this for the cover image.
https://ibb.co/7bx874Y
thank you
Yes, I have tried multiple themes including twenty seventeen and it is still the same issue. I’m not sure what it is because I have also disabled all plugins as well.
The uploaded avatar image should display along with the crop dialogue. Not seeing it would indicate a plugin or theme conflict. Did you try with a default theme such as 2017?
I have a site set up with WordPress and have BuddyPress installed on it. I am running the Reign Theme currently on my site. When I log in as a user to test the site I have an issue when uploading a new profile picture. I can select a photo and click upload but it will not show my profile picture when the crop option pops up. I can hit crop but not see anything and it will upload my profile picture. I need to change it where the user can see their photo when the crop option pops up. I have already deactivated all my plugins and used a basic theme and it did not fix my issue. If anyone can help me that would be great.
@ukai-themes – That worked!!!!
now im trying to get it to work on blog posts
I’d try deactivating all plugins apart from BuddyPress and switching to a default theme, just for a few minutes and see if that fixes it.
Switching to the default aarvark theme did indead remove the error messages. I’ve switched back to the child theme, and removed mycode from bp-custom. No results. My BP templates do not contain bp_nav, but I didn’t took the time to change the file versions in the top comments. I have those custom files:
- aarvark-child/buddypress/members/single/myorganization/edit.php
/**
* BuddyPress - Members Single Profile Edit
*
* @package BuddyPress
* @subpackage bp-legacy
* @version 3.0.0
*/
aarvark-child/buddypress/members/single/myorganization/profile-loop.php
/**
* BuddyPress - Members Profile Loop
*
* @package BuddyPress
* @subpackage bp-legacy
* @version 3.0.0
*/
aarvark-child/buddypress/members/single/myorganization/profile-wp.php
/**
* BuddyPress - Members Single Profile WP
*
* @package BuddyPress
* @subpackage bp-legacy
* @version 3.0.0
*/
aarvark-child/buddypress/members/single/profile/edit.php
/**
* BuddyPress - Members Single Profile Edit
*
* @package BuddyPress
* @subpackage bp-legacy
* @version 3.0.0
*/
aarvark-child/buddypress/members/single/home.php
/**
* BuddyPress - Members Home
*
* @package BuddyPress
* @subpackage bp-legacy
*/
aarvark-child/buddypress/members/single/member-header.php
/**
* BuddyPress - Users Header
*
* @package BuddyPress
* @subpackage bp-legacy
*/
aarvark-child/buddypress/members/register.php
no version in comments
In my functions.php file:
// New buddypress nav items
function add_bp_menu_items() {
global $bp;
//Remove unwanted nav items
bp_core_remove_nav_item( 'activity' );
bp_core_remove_nav_item( 'forums' );
bp_core_remove_nav_item( 'user-media' );
// bp_core_remove_subnav_item( 'profile', 'public' );
unset($bp->bp_options_nav['profile']['public']);
unset($bp->bp_options_nav['profile']['change-avatar']);
unset($bp->bp_options_nav['profile']['change-cover-image']);
unset($bp->bp_options_nav['settings']['profile']);
unset($bp->bp_options_nav['settings']['data']);
$bp->bp_options_nav['profile']['name'] = 'My Profile';
}
add_action( 'bp_setup_nav', 'add_bp_menu_items', 15 );
// Change Profile menu/tab order
function rt_change_profile_tab_order() {
global $bp;
$bp->members->nav->edit_nav( array(
'name' => 'My Profile',
), 'profile' );
$bp->members->nav->edit_nav( array(
'position' => 1,
), 'profile' );
$bp->members->nav->edit_nav( array(
'position' => 65,
), 'notifications' );
}
add_action( 'bp_init', 'rt_change_profile_tab_order', 999 );
It’s working fine on my system so there must be something stopping it from working. Did the setting actually save when you edited it?
This will probably come down to a process of elimination – try a default theme, rule out all other plugins and other code modifications.
Yep this is one of those unhelpful errors where it points to the code generating the actual error message and not the code causing the issue. Have you tried switching to a default theme to rule out that kind of thing entirely? Last time I had one of these it turned out to be code in my bp-custom.php, which was last on my list of things to check.
Hi @venutius thanks for the reply, it looks like the issue was with my theme. It’s templates for buddypress seem to be riddled with issues!
Hi @ukai-themes
That works perfectly, thanks a lot!! Also, how could I add the age to the user profile page?
Ok wow what a ride. so I went to do that and was met with white screens trying to login to WordPress. So I went through each plugin in my wp-content/plugin directory and renamed them to find the culprit. It was the buddy press plugin once renamed, the white screen went away.
Once I try to reinstall buddy press, it gives me a white screen again, even when I had 2017 theme activated.
Luckily some how by reactivating my theme Aardvark and then reinstalling buddy press I am not getting the white screen. but alas.. still no activation email.
One thing I notice is why when I go to Emails then Customize, it goes to bring up the Buddypress options and then quickly disappears to be replaced by other list of Customizing elements to which that isn’t one of them?
I caught a quick screenshot before it switched .. I suspect I need these options yes? Any idea why it disappears on me?
I don’t have a url for the screenshot..only image.
you could email support@idreamer.ca
Thanks
Lucinda