Replies
- Brajesh Singh on March 10, 2021 at 11:02 pm in reply to: [Resolved] User Profile Tabs – How to translate subnav labels #36768
Hi Hugo,
Thank you for the feedback. I am sorry, but this is an issue with BuddyPress. The tabs are not multilingual supported.Is WPML supporting multilingual tab for BuddyPress? If they do, we can utilize their functionality.
Regards
Brajesh - Brajesh Singh on March 10, 2021 at 10:58 pm in reply to: [Resolved] Community Builder Pro- hide banner on all posts, not on pages #36767
Hi Hugo,
Please visit Dashboard->Appearance->Customize-> Blog,
There you will see a section for each different post type. You can disable the header for a specific post type globally from this screen.Regards
Brajesh Hi verkkoleiri ,
Welcome to BuddyDev forums.Can you please tell us which plugin you are referring to?
Thank you
Brajesh- Brajesh Singh on March 10, 2021 at 12:27 pm in reply to: [Resolved] Problem to Setting Auto Friendship #36763
Hi Emanuele,
Thank you for confirming.I am sorry, there is no way to know in BuddyPress when a specific member type was removed. If you remove a member types, it uses set member type action. So,m we don’t have access to previous member type to determine if we should remove all friends.
If you want, we can add the code for a condition like this. If a user’s member type is set to None(”), we remove all friends. It will apply for all member type though.
Regards
Brajesh - Brajesh Singh on March 10, 2021 at 11:59 am in reply to: [Resolved] User Profile Tabs – How to translate subnav labels #36762
Hi Hgo,
Thank you for the question.Is it about user profile tabs pro plugin? Unfortunately it does not support multilingual tab/content.
Regards
Brajesh - Brajesh Singh on March 9, 2021 at 11:52 pm in reply to: Is there a way to display Custom Xprofile fields using shortcode? #36757This reply has been marked as private.
- Brajesh Singh on March 9, 2021 at 8:37 pm in reply to: [Resolved] Problem to Setting Auto Friendship #36752
Hi Emanuele,
Thank you for the patience.There was a minor update needed in the code.
Here it is
/** * Add as friend other user with same member type on user member change. */ add_action( 'bp_set_member_type', function ( $user_id, $member_type ) { $member_type = (array) $member_type; if ( ! in_array( 'partner', $member_type ) ) { return; } $users = new BP_User_Query( array( 'member_type' => 'partner', 'populate_extras' => false, ) ); if ( ! $users->total_users ) { return; } foreach ( $users->user_ids as $id ) { if ( $id == $user_id ) { continue; } if ( ! friends_check_friendship( $user_id, $id ) ) { friends_add_friend( $id, $user_id, true ); } } }, 10, 2 );It is working on the staging site now. I have put ti in the child theme’s functions.php
Regards
BrajeshPS:- I tested by changing a user’s member type, Please revert them.
- Brajesh Singh on March 9, 2021 at 7:41 pm in reply to: [Resolved] BuddyPress Friends Suggestions Pro Error #36750
Please add the rule and point me to the error page. If I can see the rule and then the error message, I can quickly fix it.
I tried updating rule but it had no effect.
Regards
Brajesh - Brajesh Singh on March 9, 2021 at 7:37 pm in reply to: Suggestion for BuddyPress Friends Suggestions Pro #36749
Hi Tiffany,
Thank you for the suggestion. It will be part of our next release.Regards
Brajesh - Brajesh Singh on March 9, 2021 at 2:37 pm in reply to: [Resolved] BuddyPress Friends Suggestions Pro Error #36746This reply has been marked as private.