BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Friendship lists not wokring #39475

    Hello Paul,

    Sorry for the inconvenience. Please share your condition here so that I can check. In regard to ‘in’ or ‘Equal to’ operator. The First will be used in the case of a single value field whereas the second one will be used if you have multiple values for the field.

    Please also let me know what is field type you are comparing in?.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Auto join groups – cron job #39452

    Hello Darshan,

    Please look at the following WordPress document that guides you in setting up corn jobs in WordPress. Please check and let me know if it helps or not.

    https://developer.wordpress.org/plugins/cron/

    Regards
    Ravi

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

    Hello Omar,

    Thank you for the posting. You can use Group’s description field to put the social media links of the groups. Are you looking for any other way of implementation. Please do let me know.

    Sample image with a social link in the description: https://tinyurl.com/yfaj3msr

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Force user profile #39450

    Hello,

    Thank you for your clarification. Please use the following code:

    
    
    // Do not check profile completion on none BuddyPress pages.
    add_filter( 'bp_force_profile_completion_skip_check', function ( $skip ) {
    
    	if ( ! is_buddypress() ) {
    		$skip = true;
    	}
    
    	return $skip;
    } );
    
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Force user profile #39442

    Hello

    An example with the filter. By default, the Profile Completion plugin redirects the user to the specific page under the Profile’s tab e.q. edit profile if not completed his profile field data. But with the following example code you can alter the redirect URL:

    
    
    /**
     * Modify profile completion redirect URL
     *
     * @param string $redirect_url Redirect url.
     * @param bool   $has_fields   Has user completed all required fields?.
     * @param bool   $has_photo    Has user uploaded avatar image?.
     * @param bool   $has_cover    Has user uploaded cover image?.
     *
     * @return string
     */
    function buddydev_modify_profile_completion_redirect_url( $redirect_url, $has_fields, $has_photo, $has_cover ) {
    	$user_id = bp_displayed_user_id();
    
    	// Redirect to profile if not completed his required fields.
    	if ( ! $has_fields ) {
    		$redirect_url = bp_core_get_user_domain( $user_id ) . bp_get_profile_slug();
    	}
    
    	return $redirect_url;
    }
    add_filter( 'buddypress_profile_completion_redirect', 'buddydev_modify_profile_completion_redirect_url', 10, 4 );
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Force user profile #39441

    Hello

    Thank you for posting. Please use “BuddyPress Profile Completion” as it is an advance version of “Force Profile Photo”.

    This plugin provides a filter that allows you to filter the redirect URL. Please check the following:

    
    apply_filters_ref_array( 'buddypress_profile_completion_redirect', array( $redirect_url, $has_fields, $has_photo, $has_cover ) );
    
    

    You can use this to alter the redirect URL. Please let me know if it helps or not

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Featured Member count #39137

    Hello Kevin,

    The plugin is updated no. Please upgrade to the newer version and check if the issue is resolved or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Featured Member count #39119

    Hello Kevin,

    I am looking into it and will update you at day end.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Change format of BuddyBlog Pro Post List #39118

    Hello Nick,

    Sorry for the inconvenience. BuddyBlog Pro by default does show a post’s excerpt on the user’s post screen. Is there any chance you have override the BuddyBlog posts template?. If not please let me know which posttype you are dealing with.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Activity Plus Reloaded image display #39117

    Hello Rick,

    Sorry for the inconvenience. I have tested the plugin and checked when the user is not logged in plugin CSS not applying. I will fix this and let you know.

    Regards
    Ravi