Replies
- Ravi on March 5, 2021 at 12:10 pm in reply to: [Resolved] Couldn't Set a Profile Tab as Default Component #36610
Hello Khalid,
I have added support for BuddyBoss. Please upgrade your plugin and give it a shot and do let me know if it works or not.
Regards
Ravi - Ravi on March 5, 2021 at 11:46 am in reply to: [Resolved] BuddyPress Friends Suggestions Pro Error #36609
Hello Tiffany,
Thank you for sharing the details. But I need some more information regarding field types. It quite possible that multicheck, member-type like fields can conflict.
Please do let me know the field type of the following field.
1. Position
2. Industry
3. Industry Interests
4. Brand PreferencesRegards
Ravi - Ravi on March 5, 2021 at 10:21 am in reply to: [Resolved] BuddyPress Friends Suggestions Pro Error #36607
Hello Tiffany,
If possible please share the screenshot of your suggestion rule conditions you are using for generation friend’s suggestions. It will help to debug further into the issue.
Regards
Ravi - Ravi on March 5, 2021 at 9:44 am in reply to: Mail notifications on BuddyPress Group Activities Notifier #36604This reply has been marked as private.
Hello Itdev,
Sorry for the inconvenience. BP Deactivate Account plugin does not create any custom table. It seems you are using BuddyBoss Plateform plugin. Please contact BuddyBoss support they can better guide you for this.
For any assistance, please let me know.
Regards
Ravi- Ravi on March 5, 2021 at 8:58 am in reply to: [Resolved] Couldn't Set a Profile Tab as Default Component #36602
Hello Khalid,
Sorry for the delayed reply. It seems BuddyBoss handling the default tab differently. I will look into it and will update you soon.
Regards
Ravi - Ravi on March 5, 2021 at 7:06 am in reply to: [Resolved] BuddyPress Friends Suggestions Pro Error #36600
Hello Tiffany,
Sorry for the inconvenience. Please try deactivating “BuddyPress Friends Suggestions Pro” temporarily and check if this warning still appears or not.
Regards
Ravi- This reply was modified 4 years, 5 months ago by
Ravi.
- This reply was modified 4 years, 5 months ago by
Hello Dave,
I have updated the plugin. Please upgrade your plugin and give it a shot. Please do let me know if it works or not.
Regards
RaviHello Emanuele,
Please try the following code. It will add all other users with the same member type add as friends.
/** * Add as friend other user with same member type on user member change. */ add_action( 'bp_set_member_type', function ( $user_id, $member_type ) { $users = new BP_User_Query( array( 'member_type' => $member_type, 'populate_extras' => false, ) ); if ( ! $users->total_users ) { return; } foreach ( $users->user_ids as $id ) { if ( $id == $user_id ) { return; } if ( ! friends_check_friendship( $user_id, $id ) ) { friends_add_friend( $id, $user_id, true ); } } }, 10, 2 );
Please do let me know if it works or not.
Regards
RaviHello Daniel,
Please use the following code it will only allow friends to post comments or reply on user activity.
/** * Allow only friends to post a comment and reply * * @param bool $can Can comment or not. * * @return bool */ function buddydev_only_friends_can_comment_on_activity( $can ) { if ( ! bp_is_user() ) { return $can; } $activity = new BP_Activity_Activity( bp_get_activity_id() ); if ( ! friends_check_friendship( get_current_user_id(), $activity->user_id ) ) { $can = false; } return $can; } add_filter( 'bp_activity_can_comment', 'buddydev_only_friends_can_comment_on_activity' ); add_filter( 'bp_activity_can_comment_reply', 'buddydev_only_friends_can_comment_on_activity' );
Please do let me know if it works or not.
Regards
Ravi