Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

Edit Registration Fields

This topic is resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Jon
    Participant
    • 3 Topics
    • 4 Posts
    @jinsley8

    Hi,

    Where can I edit the fields on the registration form?

    I added a new profile fields group by going to User > Profile Fields. It says the base group is shown at signup. How can I make the new group appear at sign up page as well?

    Bonus if there is a way to do multi-step signup.

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi Jon,

    As you noticed only the “Base” group is shown in the registration process by default and there is unfortunately no option to show other field groups at the moment. However, here is a code snippet that makes it possible to display all field groups in the registration process:

    add_filter( 'bp_has_profile', 'gwangi_buddypress_registration_show_all_field_groups', 10, 3 );
    
    function gwangi_buddypress_registration_show_all_field_groups( $has_groups, $profile_template, $args ) {
    	if ( bp_is_register_page() ) {
    		global $profile_template;
    		$args['profile_group_id'] = false;
    		$profile_template = new BP_XProfile_Data_Template( $args );
    		$has_groups = $profile_template->has_groups();
    	}
    	return $has_groups;
    }

    If you don’t want to display all field groups you can also exclude some of them. For example let’s say you want to exclude the groups with an ID of 3 and 5, then you just need to add this line: $args['exclude_groups'] = '3,5'; under this one $args['profile_group_id'] = false; in the snippet above.

    As for the multi-step signup, that is a more advanced topic that would require some PHP skills so all I can do is tell you that the starting point would be to make a child theme and override the template located at gwangi/buddypress/members/register.php (instead of the snippet I provided).

    Please let me know if that helped you.

    Best regards,

Roboraptor 🦖
Themosaurus Topic Closer

Hi there,

This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!

Best regards,
The Themosaurus team.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Edit Registration Fields’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site