Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Member Registration Form to New Pages


  • ch1n3s3b0y
    Participant

    @ch1n3s3b0y

    Hi

    How is it possible to add the BP member registration form to new pages? So, if I have a custom page within WordPress and I want to add a member registration form at the bottom, how do I do this?

    Also, now with the new BuddyPress member types, how can we have separate registration forms for each member type?

    Edit: I have seen this plugin http://buddydev.com/plugins/bp-ajax-registration/ but it isn’t the type if implementation that I want. I want a static form I can put into the main content of any page. I don’t mind coding a bit, but just need some guidance on where to start.

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

  • Henry Wright
    Moderator

    @henrywright

    Hi @ch1n3s3b0y

    I don’t think there’s a template tag or shortcode available which will let you insert the registration form. To the best of my knowledge, if you want the form in multiple templates then you have to insert the form manually.


    ch1n3s3b0y
    Participant

    @ch1n3s3b0y

    Hi @henrywright

    I was thinking of just taking the code from register.php. Do you think this would work?

    Also, (I commented on this in another thread), where does the data from the form get processed?

    I am thinking of adding a hidden field with a member type value in it (Different registration forms for different members) and having a conditional statement when the data gets processed as to whether that member is ‘member type a’, ‘member type b’ etc. and their user roles, but I’m not sure where the data is actually getting processed.


    Henry Wright
    Moderator

    @henrywright

    Things all start at bp_core_screen_signup() which you can find in /bp-members/bp-members-screens.php

    If you follow the flow you should be able to see how the sign up process works

    Hope that helps!


    ch1n3s3b0y
    Participant

    @ch1n3s3b0y

    Thanks Henry! I’ll get to work on that. I have so many questions about BuddyPress!


    ch1n3s3b0y
    Participant

    @ch1n3s3b0y

    Hi @henrywright

    I have a quick question. I have included the code from the buddypress registration.php file into a custom page template in my child theme, however it isn’t working as it does within buddypress. Do I need to do something else within my custom template for the buddypress code to work?

    I tried

    global $bp as I thought this would work, but nope.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding Member Registration Form to New Pages’ is closed to new replies.
Skip to toolbar