BuddyDev

Search

Replies

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

    Hello Kir,

    Sorry for the inconvenience. I will check it and will update you soon.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Group Members Temporary Friendships #51037

    Hi Dianne,

    Please look at the following screenshot:
    https://tinyurl.com/yrq8lkn4

    You can see this setting under Group > Manage > Settings.

    Have you tried this setting and allowed group members to send messages?

    You will see the following screen after allowing
    https://tinyurl.com/yu9nvonl

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Changing wording on error message – Testimonials plugin #51023

    Hello Sarah,

    Welcome to the BuddyDev Forums. You can achieve the same with any translator plugin. Please give it a try and let me know if everything goes well or not.

    Regards
    Ravi

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

    Hi Aurea,

    Thank you for reporting the issue.

    Please upgrade your plugin version to 1.1.1 and give it a try.

    Plugin Url: https://buddydev.com/plugins/buddypress-friends-suggestions-pro/

    Regards
    Ravi

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

    Hello Fredrick,

    Sorry for the inconvenience. I will check it by today and will let you know soon.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Attribute post on account deletion in buddypress #50914

    Hello Tosin,

    Thank you so much for your kind words! I’m really glad I could help.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Profile Tabs Creator Pro + Buddypress 12 #50910

    Hello,

    Yes, We are working on it to support BuddyPress 12. We will let you know soon.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] auto follow featured members #50909

    Hello Tosin,

    Use the following code to reset post count

    
    // Reset post count.
    function custom_delete_user_posts_count( $post_id ) {
    	delete_transient( 'custom_user_post_count_' . get_post_field( 'post_author', $post_id ) );
    }
    
    add_action( 'bblpro_post_submitted', 'custom_delete_user_posts_count' );
    add_action( 'bblpro_post_updated', 'custom_delete_user_posts_count' );
    
    

    Use the following code to fetch featured user ids:

    
    $featured_user_ids = get_users(
    		array(
    			'fields'   => 'ID',
    			'number'   => - 1,
    			'meta_key' => '_is_featured',
    		)
    	);
    

    Please give it a try

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Attribute post on account deletion in buddypress #50908

    Hello Tosin,

    Please try the following code

    
    function reassign_posts_on_user_deletion_to_ghostwriter( $user_id ) {
    	// Check if the deleted user is not the target user (466526)
    	if ( $user_id !== 466526 ) {
    		$args  = array(
    			'post_type'      => 'post',
    			'author'         => $user_id, // Posts authored by the deleted user
    			'posts_per_page' => - 1,       // Get all posts
    			'fields'         => 'ids',    // Retrieve only post IDs
    			'post_status'    => 'publish',// Only published posts
    		);
    		$posts = get_posts( $args );
    		// Reassign published posts to user with ID 466526
    		foreach ( $posts as $post_id ) {
    			// As we are fetching only published posts of the deleted user.
    			// $post_status = get_post_status( $post_id );
    			// if ( $post_status === 'publish' ) {
    			wp_update_post( array(
    				'ID'             => $post_id,
    				'post_author'    => 466526,
    				'comment_status' => 'closed',
    			) );
    			//}
    		}
    	}
    }
    
    add_action( 'bp_core_pre_delete_account', 'reassign_posts_on_user_deletion_to_ghostwriter', 10, 1 );
    
    

    You can make commenting disabled at the time of re-assigning the published post. Please give it a try.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Redirect to User Profile #50820

    Hello Rik,

    Thank you for posting. Have you looked at the following plugins:

    For login redirect
    https://buddydev.com/plugins/bp-redirect-to-profile/

    For changing username:
    https://buddydev.com/plugins/bp-username-changer/

    Please take a look and let me know if it helps or not.

    Regards
    Ravi