BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: [Resolved] Buddyblog activity button #47599

    Hi Tosin,
    I will recommend against this one. You are going to have a very bad experience as clicking on delete will make users move from current location in stream to profile or some other page.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: MediaPress Media Moderator with Buddy #47598

    Hi,
    Thank you for using the plugin.
    No, It is not compatible with BuddyBoss and will need a complete rewrite to work with BuddyBoss. It will be 5-10 hours of custom work.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: [Resolved] Changing XProfile field Topic #47583

    Hi Daniel,
    You will not loose any data.
    Please feel free to edit the field name.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Amanda,
    There is no clean way to do it currently.
    There are hooks that allow to buffer and remove the form but they are inconsistent and I will suggest doing a template override.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Vitor,
    Thank you for the question.
    I have limited experience with elementor. So, I may not be able to assit much.

    Do you know a way you can achieve the same for a standard post type? If yes, you need to apply the same for BuddyBlog post types.

    The entry(single/loop) comes from a slightly modieifd buddyboss entry file.
    You can copy it from buddyblog/buddyboss/default/entry-content.php to your child theme/buddyblog/buddyboss/default/entry-content.php

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: Image field not working in BuddyBoss app #47577

    Hi Henrik,
    Welcome to BuddyDev.

    The field rendering in BuddyBoss app is handled by the BuddyBoss App. Please contact their support and report the issue.

    Please let me know if they suggest any change from our side.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi
    Thank you for the reply.

    1. Can you please share the code for your endpoint as it seems you are probably checking the string value for checkbox incorrectly.

    2. I was not referring to any issue. My suggestion was to put an extra set of isset there to avoid notice if the field is not updated, this will cause php notice.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Amanda,
    Thank you for the question.

    you can update the

    
    function buddydev_is_restricted_commenter( $user_id ) {
    
    	// Never restrict super admin from commenting or no user found.
    	if ( is_super_admin( $user_id ) ) {
    		return false;
    	}
    
    	$user = get_user_by( 'id', $user_id );
    
    	// Roles those will be restricted.
    	$restricted_roles = array( 'contributor', 'subscriber' );
    
    	// Restrict only if the user has restricted roles.
    	if ( $user && array_intersect( $user->roles, $restricted_roles ) ) {
    		return true;
    	}
    
    	return false;
    }
    
    

    with

    
    
    function buddydev_is_restricted_commenter( $user_id ) {
    
    	// Never restrict super admin from commenting or no user found.
    	if ( is_super_admin( $user_id ) ) {
    		return false;
    	}
    
    	$user = get_user_by( 'id', $user_id );
    
    	// Roles those will be allowed.
    	$allowed_roles = array( 'contributor', 'subscriber' );
    
    	// Do not restrict if user has atleast one of the allowed roles.
    	if ( $user && array_intersect( $user->roles, $allowed_roles ) ) {
    		return false;
    	}
    
    	return true;
    }
    
    

    Please feel free to change the $allowed_roles.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Are you putting the shortcode inside the post content?
    Can you please share me the steps to re-create it?

    Thank you
    Brajesh