BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    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

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Group Members Temporary Friendships #51282
    This reply has been marked as private.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Thank you for the acknowledgement and for sharing the working code with us.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: BUddypress Profile Completion #51280

    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

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on 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

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Please check the following blog post about extending profile visibility options

    https://buddydev.com/extending-buddypress-profile-field-visibility/

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Thank you for the acknowledgement. I am glad that it worked.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    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

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Group Members Temporary Friendships #51259
    This reply has been marked as private.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Mentions in Lightbox not auto-populating #51249

    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