Registration with Membership 2 and Buddypress

Hi,

I said this:

I’m trying to set up Registration with M2 and Buddypress on http://www.baas.ac.uk.

I want ‘Join BAAS’ to show my introductory text with sidebar, as well as the list of memberships available to non-members.

Then, when they choose their membership level I want them to see the full signup form, including all of the extra fields I’ve set up in Buddypress.

I just can’t seem to figure it out – please help!

Simon

===========

Then Jude said this:

Howdy Simon

I just fixed the issue described in the ticket. Looks like your theme needs a bit more work before it becomes BP compatible. You may need to style it a bit more for it to look good

Cheers

Jude

=======

The problem is, that’s not what I meant, and there’s no way to reply to Jude’s message.

I need non-members to be given the choice of which membership they want BEFORE they’re shown the sign-up form. This was all working perfectly before I upgraded to Membership 2, but since the upgrade I just can’t get it working.

When you reply to this, please explain how I can reply to you.

Cheers,

Simon

  • Adam Czajczyk
    • Support Gorilla

    Hey Simon,

    I hope you’re well today and thank you for your question!

    Are you referring to this thread of yours?

    https://wpmudev.com/forums/topic/registration-with-membership-2-and-buddypress

    I can see it’s still open so you should be able to replay there. However, we may continue here if you wish.

    You may replay to this thread simply by visiting this URL (you may need to login to your account, just like you do to create a new thread) and you should see the “replay form” at the very bottom of the discussion:

    https://wpmudev.com/forums/topic/registration-with-membership-2-and-buddypress-1

    I need non-members to be given the choice of which membership they want BEFORE they’re shown the sign-up form. This was all working perfectly before I upgraded to Membership 2, but since the upgrade I just can’t get it working.

    Let me just include @Jude into our conversation, as he’s the one who made changes to your site. It seems he’s not online at the moment so I’ll consult this with him as soon as he shows up and either me or him will work on this with you until fixed.

    Please keep an eye on this thread for further information!

    Cheers,

    Adam

  • Jude
    • DEV MAN

    Hey Simon

    I need non-members to be given the choice of which membership they want BEFORE they’re shown the sign-up form. This was all working perfectly before I upgraded to Membership 2, but since the upgrade I just can’t get it working.

    I just reconfigured it the way you needed it . Please take a look and confirm

    I needed to throw in this piece of code to have the integration done smoothly ( for your reference and others reading only )

    function bp_registration_form () {

    global $bp;

    // Tell BuddyPress that we want the registration form.
    $bp->signup->step = 'request-details';

    // Get the BuddyPress registration page.
    $code = bp_buffer_template_part( 'members/register', null, false );

    return $code ;

    }

    add_filter( 'ms_frontend_custom_registration_form', 'bp_registration_form' );

    Cheers

    Jude

  • Simon
    • Site Builder, Child of Zeus

    Hi Jude,

    Thanks for sorting that bit out, however, when I fill in the form it just returns me to the registration page. It should hook into the paypal payment section as it did when I first set it up.

    I don’t understand what’s happened – the system worked fine a few weeks ago and nothing has changed other than routine plugin updates.

    Any ideas?

    Simon

  • Michael Bissett
    • Recruit

    Hey @Simon,

    I had to remove the code inserted earlier, but I was able to get the BuddyPress registration form to display, and allow users to proceed to the next step of the checkout process by enabling the “BuddyPress Integration” add-on inside of:

    Membership 2 -> Add-ons

    Making sure to turn on the “Use BuddyPress Registration” option within the “Details” section there.

    Can you confirm on your end that it’s working properly now? :slight_smile:

    Please advise,

    Michael

  • Simon
    • Site Builder, Child of Zeus

    Hi Michael,

    It still doesn’t work. When you fill in the form it just re-loads the registration page – it should take people to the payment page. Did it work for you?

    Before I upgraded to Membership 2 all was working perfectly, then after the upgrade I spent ages getting it all working again, but now it just seems broken.

  • Michael Bissett
    • Recruit

    Hey @Simon,

    That’s odd, it’s working for me here… hmm. :disappointed:

    You were trying to use this registration page:

    http://www.baas.ac.uk/register-2/

    Right? I tried signing up for the “Concessionary Membership” in my testing, as well as the “Concessionary membership with JAS” membership, and found that I was able to get to PayPal’s payment page with both of them.

    Have you tried clearing the cookies & the cache in your browser? Or using a different browser, just to see if that gives us any new results this time? I’d be interested in knowing if that does. :slight_smile:

    Please advise,

    Michael

  • Simon
    • Site Builder, Child of Zeus

    Hi Michael,

    That’s working fine now, thanks.

    I looked at the BuddyPress form add-on, and it says that members will not receive a welcome email.

    We very much need members to receive a welcome email – how can we get that working?

    Cheers,

    Simon

  • Predrag Dubajic
    • Support

    Hi Simon,

    BuddyPress messages are disabled because M2 comes with it’s own email messages.

    You can go to Membership 2 > Settings > Automated Email Responses tab and customize them from there.

    If you need additional messages you can go to Membership 2 > Add-ons and enable Additional Automated Messages add-on.

    Will this solution work for you?

    Best regards,

    Predrag