Replies
- Ravi on January 4, 2024 at 8:27 am in reply to: [Resolved] Any chance of adding a redirect option to the profile completion plugin? #51283
Hello,
Welcome to the BuddyDev Forums. BuddyPress Profile Completion redirect in the following manner:
1. Firstly, It will check for all required fields if not completed it will redirect the user to the edit profile page.
2. Secondly, It will check for the profile photo if not uploaded it will redirect the user to the change profile photo page.
3. Lastly, It will check for the profile cover if not uploaded it will redirect the user to the change profile cover page.
Please let me know if need further assistance
PS: You can use the BuddyDev support page to ask for anything regarding BuddyDev plugins and themes
Regards
Ravi - Ravi on January 4, 2024 at 7:31 am in reply to: [Resolved] Group Members Temporary Friendships #51282This reply has been marked as private.
- Ravi on January 4, 2024 at 7:28 am in reply to: [Resolved] Buddypress xprofile visibility option (For Buddypress follow plugin) #51281
Hello Tosin,
Thank you for the acknowledgement and for sharing the working code with us.
Regards
Ravi Hello Kir,
Please try the following code to skip the profile completion check:
add_filter( 'bp_force_profile_completion_skip_check', function ( $skip ) { // Skip for the following pages with IDs 34 and 65. if ( is_page( 34 ) || is_page( 65 ) ) { $skip = true; } return $skip; } );
Please replace page IDs with yours and let me know if it works.
Regards
Ravi- Ravi on January 2, 2024 at 5:27 pm in reply to: [Resolved] Buddypress Activity plus post limit #51268
Hello,
This plugin does not save anything in the database or RAM. It counts activity in a single query i.e. it uses activity date recorded value while counting. So, you can use it.
Regards
Ravi - Ravi on January 2, 2024 at 5:26 pm in reply to: [Resolved] Buddypress xprofile visibility option (For Buddypress follow plugin) #51267
Hello Tosin,
Please check the following blog post about extending profile visibility options
https://buddydev.com/extending-buddypress-profile-field-visibility/
Regards
Ravi - Ravi on January 2, 2024 at 5:25 pm in reply to: [Resolved] BuddyPress Profile Visibility Manager (follow support) #51266
Hello Tosin,
Thank you for the acknowledgement. I am glad that it worked.
Regards
Ravi - Ravi on January 1, 2024 at 8:29 pm in reply to: [Resolved] BuddyPress Profile Visibility Manager (follow support) #51261
Hello Tosin,
Thank you for posting. Please try the following code:
add_filter( 'bp_profile_visibility_visiility_levels', function ( $visibilities ) { if ( function_exists( 'bp_follow_is_following' ) && ! isset( $visibilities['followers'] ) ) { $visibilities['followers'] = __( 'My Followers' ); } return $visibilities; } ); add_filter( 'bp_profile_visibility_is_visible_profile', function ( $can_see, $user_id, $visitor_id ) { if ( function_exists( 'bp_follow_is_following' ) ) { $privacy = bp_profile_visibility_get_settings( $user_id, 'bp_profile_visibility' ); if ( 'followers' === $privacy ) { $can_see = bp_follow_is_following( array( 'leader_id' => $user_id, 'follower_id' => $visitor_id, ) ); } } return $can_see; }, 10, 3 );
Please let me know if it works or not.
Regards
Ravi - Ravi on January 1, 2024 at 8:15 pm in reply to: [Resolved] Group Members Temporary Friendships #51259This reply has been marked as private.
Hello,
I have checked and Yes, you are right it is not working there. By looking at the code I have seen that MediaPress is using its own comment box which is why it is not working there.
I have added this feature to the to-do list for the MediaPress and will try to add this feature in the upcoming version of the MediaPress. I will update you once released.
Regards
Ravi