Skip to:
Content
Pages
Categories
Search
Top
Bottom

Divide buddypress register form in multi steps fields


  • redcompolitica
    Participant

    @redcompolitica

    Good afternoon.

    I wanted to ask how I could make a step-by-step form on the registration page of my buddypress inserted on the same page. I do not have much programming knowledge, so I would appreciate, if this were possible, any details to be able to carry it out.

    Thank you very much and greetings.

    Rubén

Viewing 7 replies - 1 through 7 (of 7 total)

  • redcompolitica
    Participant

    @redcompolitica

    Can someone please help us? It is very important for us.

    Thanks and regards.

    Rubén


    Peter Hardy-vanDoorn
    Participant

    @petervandoorn

    Hi.

    I’ve never used such a thing, but your enquiry piqued my interest so I did a quick Google and found this premium plugin called ProfilePress: https://profilepress.net/features/multi-step-registration-form/. I also found mention of Gravity Forms with User Registration add-on (also premium) doing what you want too: https://www.gravityforms.com/add-ons/user-registration/

    I’d be interested to hear how you get on with that.

    Hope that helps

    Peter


    redcompolitica
    Participant

    @redcompolitica

    Thank you very much for answering Peter.

    We have tried with some plugin to be able to do the commented thing in the registry, some of them premium, but with the registry we have bought that there are incompatibilities or conflicts.

    For that reason, I wanted to ask you if there is any code to do it.

    Thank you again and regards.


    Boone Gorges
    Keymaster

    @boonebgorges

    Hi @redcompolitica – I’ve built multi-page registration processes for clients in the past, but unfortunately, it’s not very easy to do – BP’s registration system is not built in such a way as to make it easy.

    If your main goal is to make registration less overwhelming, you might consider moving some or most of your registration fields out of the “Base” group. This will mean that they don’t show up during the registration process, and users will have to fill them in by editing their profile after signing in.

    If your goal is to have *conditional* registration steps – where, for example, step 2 depends on a specific value provided in step 1 – then I’m afraid it’d have to be custom-built. Much of the work could be done with a custom theme template members/register.php and by modifying the way that registration data is saved and validated https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-members/bp-members-screens.php?marks=113#L72

    Some Trac tickets that are somewhat related that you might want to follow:
    https://buddypress.trac.wordpress.org/ticket/1842
    https://buddypress.trac.wordpress.org/ticket/4278

    Good luck with your project!


    redcompolitica
    Participant

    @redcompolitica

    Thank you very much, Boone Gorges.
    Your answer has clarified many things to us.
    The first option would be worth us but we have some problem. We would like a record like that of Linkedin, that is, you fill in the data of the account and it would already be. However, having the obligation to fill in the Name field, everything is blurred. Would there be any option to change username by first and last name? And on the other hand, after activating the account, in the first access, there is an option to redirect them to your profile?

    Thank you very much and greetings.


    redcompolitica
    Participant

    @redcompolitica

    Thank you very much, @boonebgorges.
    Your answer has clarified many things to us.
    The first option would be worth us but we have some problem. We would like a record like that of Linkedin, that is, you fill in the data of the account and it would already be. However, having the obligation to fill in the Name field, everything is blurred. Would there be any option to change username by first and last name? And on the other hand, after activating the account, in the first access, there is an option to redirect them to your profile?

    Thank you very much and greetings.


    Boone Gorges
    Keymaster

    @boonebgorges

    If you’re fetching user data – like First Name and Last Name – from an external provider like LinkedIn, then you can use that data to concatenate a value for BP’s Name field. This could be done in JS (Name would perhaps be a hidden field, and filled in after the connection had been made to the LinkedIn API). Or it could happen on the server, based on data passed from LinkedIn, in which case you’d have to interfere with the way that BP’s validation works so that Name isn’t required to create an account (see bp_core_validate_user_signup()). But you’ll always want to be sure that Name is filled in, whether before or after the account is created, because BP uses this value throughout the site to populate navigation, headers, title elements, etc.

    You can perform an action on the first user login using the ‘bp_first_activity_for_member’ hook.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar