BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: BudyPress Profile Completion issue #35487

    Hello Irene,

    Thank you for sharing the details. But, Credentials are not working for me. Please check.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: How to change BuddyBoss's tab name to other name #35485

    Hello Pharawee,

    Thank you for using the plugin. Please look here:

    https://buddydev.com/docs/buddypress-user-profile-tabs-creator-pro/modify-existing-profile-tab/

    Please let me know if you need further assistance.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: BudyPress Profile Completion issue #35484

    Hello Irene,

    Sorry for the inconvenience. Please do let me know which environment you are working with i.e. BuddyPress or BuddyPress Plateform and also share your plugin setting configuration so that I can check.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Hide Members List in Groups #35473

    Hello James,

    Thank you for the kind words. I am glad that I could help.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Hide Members List in Groups #35471

    Hello James,

    Please remove above mentioned code and use the following code

    
    /**
     * List only group admins and moderators only under members tab
     *
     * @param array $r Parameters for group members.
     *
     * @return mixed
     */
    function buddydev_list_group_admins_moderators_only( $r ) {
    
    	if ( is_super_admin() || groups_is_user_admin( bp_loggedin_user_id(), bp_get_current_group_id() ) ) {
    		return $r;
    	}
    
    	$r['exclude_admins_mods'] = 0;
    	$r['group_role']          = array( 'admin', 'mod' );
    
    	return $r;
    }
    add_filter( 'bp_after_group_has_members_parse_args', 'buddydev_list_group_admins_moderators_only' );
    
    

    Regards
    Ravi

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

    Hello Carsten,

    Thank you for posting. This is just an notice you can ignore. We will fix this by next release.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Hide Members List in Groups #35467

    Hello James,

    Please try the following code. It will list only group admin and moderators under members tab.

    
    
    /**
     * List only group admins and moderators only under members tab
     *
     * @param array $r Parameters for group members.
     *
     * @return mixed
     */
    function buddydev_list_group_admins_moderators_only( $r ) {
    
    	$r['exclude_admins_mods'] = 0;
    	$r['group_role']          = array( 'admin', 'mod' );
    
    	return $r;
    }
    add_filter( 'bp_after_group_has_members_parse_args', 'buddydev_list_group_admins_moderators_only' );
    
    

    Regards
    Ravi

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

    Hello Scott,

    Sorry for the delayed reply. We have fixed the limit issue. Please check.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] BuddyPress Friends Suggestions Pro #35465

    Helllo Julia,

    Sorry for the delayed reply. We have added the support for friendship suggestions using shortcode. You can use plugin shortcode to list friends suggestions on any page. Please look at ”
    Showing the Friends/Follow suggestions using shortcode” section and do let me know if you need further help.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Contact form – Show on profile #35434

    Hello,

    Please update your plugin and append the following code with above mentioned code.

    
    
    /**
     * Load assets on user profile
     *
     * @param bool $is_contact_me_screen Is contact me screen or not.
     *
     * @return bool
     */
    function buddydev_load_bpucf_assets_on_profile( $is_contact_me_screen ) {
    
    	if ( ! bp_is_user_profile() ) {
    		return $is_contact_me_screen;
    	}
    
    	$is_visible = bpucf_is_form_visible( bp_displayed_user_id() );
    
    	if ( ! $is_visible ) {
    		return $is_contact_me_screen;
    	}
    
    	return true;
    }
    add_filter( 'bpucf_is_contact_me_screen', 'buddydev_load_bpucf_assets_on_profile' );
    
    

    Please let me know if it works or not.

    Regards
    Ravi