BuddyDev

Search

[Resolved] (paying optional) New Field Group on Registration Page Not Showing

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #34350

    Hi Saleam,
    Thank you for the patience.

    For the time being, I have put this code at the bottom of your theme’s function.php

    
    // show all profile field groups on BuddyPress registration.
    add_filter( 'bp_after_has_profile_parse_args', function ( $args ) {
    
    	if ( ! bp_is_register_page() ) {
    		return $args;
    	}
    
    	// BuddyPress does not allow us fetch multiple group using id but it does allows excluding.
    	$args['profile_group_id'] = false;
    	$args['exclude_groups']   = [];
    
    	return $args;
    } );
    

    Please check if the registration is working or not(by registering a new account). If it does not, we may need to change a Youzer template file.

    This change will be lost when you will update your theme in future. I will recommend using child theme or putting the code in wp-content/plugins/bp-custom.php

    I was not able to put it in bp-custom.php as I don’t have access to FTP.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 13
    SALEAM S M SHEHRI on #34351
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #34355

    Hi Saleam,
    Thank you for the patience.

    I have updated the bp-custom.php

    The only configuration change on site I made was changing the language to “English”. Please change that to the original.

    Please let me know if you need further assistance.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 13
    SALEAM S M SHEHRI on #34358

    Thank you so so much
    you made my day

    I am waiting for your payment request if that is your option

    big respect to your efforts

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #34359

    Hi Saleam,
    I am glad I was able to assist.

    No need for the payment. It was a minor issue and I appreciate you joining our membership.

    Have a great day.

    Regards
    Brajesh

The topic ‘ [Resolved] (paying optional) New Field Group on Registration Page Not Showing’ is closed to new replies.

This topic is: resolved