Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25331
    Brajesh Singh on in reply to: BuddyPress Activity Shortcode #21414

    Hi Max,

    Thank you for clarifying.

    We haven’t tested it. We can certainly test and make compatible with our activity autoloader plugin in future.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25331
    Brajesh Singh on in reply to: New BuddyPress Blogs not generating slugs #21413

    Hi Chris,
    Welcome to BuddyDev.

    I am sorry for the inconvenience. The slug should be generated automatically.

    There was a change related to slug generation in WordPress 5.1, It might be the reason.

    Please allow me to check it and get back to you in 30 minutes.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25331
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25331

    Hi,
    I had a look at the registration page.

    1. Please disable the conditional field plugin. You do not need that for this case.
    2. I will post some code(in couple of hours) to help you get it working.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25331

    Hi Sam,
    Thank you.

    Please allow me to update the plugin. Will be releasing in next couple of hours and will be writing back.

    PS:- About upgrading to our membership, I will be providing coupon to get the plugin price discounted from the membership cost.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25331

    Hi Pause,
    Thank you for the question.

    I am sorry but I still unsure of the question.

    1. Do you want to list all users who have selected(checked) some of these option and then show them as well as their choices.

    2. Or do you want to list all users who have checked a specific choice? This will be a bit difficult for large number of users(40 is fine).

    PS:- Will you have a lot more users in future or is it going to be limited to few users? I am asking to help me provide you more efficient solution.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25331

    Hi,
    I am sorry but the way you are looking for is not available in BuddyPress.

    What you are looking for a derived/caculated field from the values of another field.

    The general strategy in this case is to use only one field and calculate the other value.

    For example, If a person is Man, you can write code to derive the Research field value as woman.

    There does not seem to be any existing solution for this kind of use case. I do see that you can write some code to sync value of another field based on a field.

    If you can post me the field ids for both the field(and exact options), I will be able to provide you some code to resolve it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25331
    Brajesh Singh on in reply to: [Resolved] BuddyPress xprofile fields #21396

    Hi Vivek,
    No,
    The answer was in context to “member type field”.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25331

    Hi Joss,
    I am using the hook provided by you in the previous reply

    
    gwangi_buddypress_member_xprofile_custom_fields
    

    Please ask the theme developer for the correct hook or you can use the updated code like this

    
    
    function buddydev_show_pmpro_membership_level_in_dir() {
    	if ( ! bp_is_members_directory() ) {
    		return;
    	}
    	// for the logged in user.
    	$level = pmpro_getMembershipLevelForUser( bp_get_member_user_id() );
    
    	if ( ! $level ) {
    		return;
    	}
    
    	echo '<div class="bp-member-xprofile-custom-field bp-member-level">' . $level->name . '</div>';
    }
    
    add_action( 'gwangi_buddypress_member_xprofile_custom_fields', 'buddydev_show_pmpro_membership_level_in_dir', 10 );
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25331
    This reply has been marked as private.