Title: Registration Forms
Last modified: December 31, 2017

---

# Registration Forms

 *  Resolved [Nik](https://wordpress.org/support/users/nikbond/)
 * (@nikbond)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/registration-forms-2/)
 * I’m having problems with the registration page(s) and wonder if you can help 
   as follows –
 * Buddypress had already created a page called “register”
    M2 has created a page
   called “register-2”
 * I have changed the settings in M2 to “Use Buddypress Registration” and I have
   set the register page in Buddypress to “none”.
 * Not sure which is correct, but I’ve tried setting either “register” or “register-
   2” as the Registration page in M2 and they look (mostly) OK, however, I’ve noticed
   a couple of issues as follows –
 * 1) I’ve written a function (to hide a field) which is triggered if ( bp_is_register_page())
   but unfortunately this is bypassed/not recognised when using M2. Is there perhaps
   a similar check I can do for “is M2 register page” perhaps?
 * 2) With the BP registration form, a warning was triggered if the user entered
   a “weak password” which doesn’t seem to happen when using M2. I’m wondering if
   this is possibly related to the above issue (although not a function I’d written
   myself).
 * My questions are therefore as follows –
 * Have I taken the correct steps?
    If so, which register page (ie. register.php
   or register-2.php) should I set as the M2 regisration page? Any way of resolving
   the two issues mentioned above (ie. function to identify M2 registration page)
   so that it behaves in the same way (ie. same appearance/validation/checks) as
   my BP registration page?
 * Hope this makes sense and with many thanks in advance.

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

 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/registration-forms-2/#post-9825484)
 * Hey [@nikbond](https://wordpress.org/support/users/nikbond/),
 * Hope you’re well.
 * First of all, let me explain how you should use BuddyPress registration form 
   integration. You need to set BuddyPress registration page to none like this;
 * Then you need to activate add-on like this;
 * After that Membership 2 will use the BuddyPress registration form on the register
   page. But you can’t use bp_is_register_page function for check that page because
   it is not an actual bp register page. To hide a field, if you are using CSS maybe
   you can try with custom CSS globally like;
    `#register-page input{display:none;}`(
   Don’t try exact code, it will hide all fields. If this solution okay for you 
   I can help more.)
 * Or you can use different checks like this;
 *     ```
       if( is_page(xxx) ){
         // Hide
       }
       ```
   
 * (You should place page id to ‘xxx’)
 * When we come to the “weak password” check, I couldn’t find any quick fix for 
   it, so I just asked that to developers. Once I get more information about that
   I will update this thread.
 * Cheers,
    Oguz
 *  Thread Starter [Nik](https://wordpress.org/support/users/nikbond/)
 * (@nikbond)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/registration-forms-2/#post-9825503)
 * Hi Oguz
 * Thank you for your reply.
 * I have done both the steps you describe above ie. setting BP registration page
   to none and activating the add-on so that the BP registration page is used.
 * **However… there is also a setting in M2 which asks me to set a Registration 
   page… should this be “register.php” (as created by BP) or “register-2.php” (as
   created by M2)?**
 * Unfortunately the css option you suggest isn’t sufficient as I need to do more
   than just hide the field (actually copying info from one field to another)… however,
   I guess the is_page function may work… I’ll look into that. (Just a pity there
   isnt a version of “bp_is_register_page” for the M2 register page, but can’t be
   helped if there isn’t!)
 * I suspect the “weak password” warning may also be triggered by “bp_is_register_page”
   so hopefully I can track that down and use the is_page variable instead but if
   you do receive any further thoughts from your developers that would certainly
   be helpful.
 * Warm regards
    Nik
 *  Thread Starter [Nik](https://wordpress.org/support/users/nikbond/)
 * (@nikbond)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/registration-forms-2/#post-9825526)
 * PS. I think what concerns me is that although in theory M2 has been set to use
   the BP registration page, it’s obviously not, as it seems to be bypassing some
   of the checks built into BP so I can only assume it’s using its own version of
   the same! I think I need to get my head around that to be sure it’s recording
   everything correctly…
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/registration-forms-2/#post-9826687)
 * Hey [@nikbond](https://wordpress.org/support/users/nikbond/),
 * Hope you’re well.
 * About which page you should use; it doesn’t matter. You can choose any page for
   Membership 2 Registration Page option. But the chosen page should have `[ms-membership-
   signup]` shortcode. You can check the page that created by Membership 2 for that.
 * Cheers,
    Oguz

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

The topic ‘Registration Forms’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/membership_b8cdaa.svg)
 * [Membership 2](https://wordpress.org/plugins/membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/membership/)
 * [Active Topics](https://wordpress.org/support/plugin/membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/membership/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/registration-forms-2/#post-9826687)
 * Status: resolved