New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Eric,

    Welcome to BuddyDev support forums.

    Thank you for letting us know. we will be exploring and updating as needed.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] Suggestion #44779

    Hi Tosin,
    thank you for the suggestion.

    Our Profile Data Control already does it.

    Please have a look.
    https://buddydev.com/plugins/buddypress-profile-data-control/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] Buddypress conditional registration #44769

    Hi tosin,
    Please use the following code

    
    
    // forces user to select a specific select field value on registration page.
    add_action( 'bp_signup_validate', function () {
    	$field_id       = 4448; // Your select field id.
    	$accepted_value = 'I accept'; // please change with the value you want to accept.
    
        if ( ! isset( $_POST[ 'field_' . $field_id ] ) ) {
    		return; //should never happen if the field is marked as required.
    	}
    
    	$selected_val = $_POST[ 'field_' . $field_id ];
    
    	if ( strtolower( $accepted_value ) !== strtolower( $selected_val ) ) {
    		buddypress()->signup->errors[ 'field_' . $field_id ] = __( 'This is a required field. You must accept.', 'buddypress' );
    	}
    
    } );
    

    please make sure to update the variable $accepted_value with the actual value which you have used for your selectbox.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Michael,
    Thank you for your question.

    1. You may use the following css to hide the popular option

    
    .widget_bp_core_members_widget .bp-separator:nth-child(4){
    	display:none;
    }
    .widget_bp_core_members_widget  #popular-members {
    	
    	display:none;
    }
    
    

    2. Yes, It is doable via ajax but I don’t see any existing solution. You will probably need to develop it as a custom solution.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Greg,
    Thank you.

    I see the reason why that did not work. The site archive page templates do not use our bundled template. It comes from your theme and it seems to me they have it hardcoded. I will be looking into the theme this weekend and get back to you with a proper suggestion.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Greg,
    Thank you for the reply.

    1. can you please tell me which theme are you using? We do have some of the template specific to theme, so I will check and get back to you. I am assuming the screenshot of post list is from user’s profile? or is it from your site archive page?

    2. sure

    Please let me know and I will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Profile tab settings #44762
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: registration form plugin #44761

    Hi Fabien,
    Thank you.

    1. I am not sure. I don’t think there is any plugin that works with native wp registration(wp-signup.php or the dashboard->Users->Add New)

    2. That means it is a compatibility issue with PostSMTP and you should report it to them.

    3. As details in other topic, Please contact the theme provide for the assistance.

    I am sorry, I am not being much helpful here as all the 3 issues are related to some compatibility/feature with 3rd party code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Tosin,
    Thank you for the suggestions.

    I can provide you the javascript code that does following:-

    1. If a user has made any change to the registration form and then they try to navigate away or reload page, It should confirm. Does that sound good? I don’t think showing in any other cases makes sense(if the user has not modified registration page and you still stop/confirms them, It is irritating).

    Please let me know which template pack are you using and I will supply the code.

    Regards
    Brajesh