PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Replace BuddyPress registration with Gravity form

  1. I have created a Gravity Form User Registration page with BuddyPress fields for a password protected site that requires admin approval of the account. It works fine using Gravity Form User Reg + Approve User plugins (I am logged in, can use the form, and it works as expected).

    I have BuddyPress installed on the site, and it seems to take over user registration. I'd like to use my gravity form instead (if I place the form on the Registration page, BuddyPress takes over with its default registration form). Does anyone know how to override registration so I can use WP/Gravity form instead? I reckon someone does due to the BP features in this release. So far I've only seen people suggest other form plugins, and I'm happy with Gravity Forms (why I bought the developer license!)

    Thanks!

    Posted 12 years ago on Thursday October 27, 2011 | Permalink
  2. I replaced the code in registration/register.php in my child theme with a call to the registration form.

    This was done with an older version of the Gravity Forms User Registration add-on, before the ability to specify a custom registration page, and was also with BuddyPress 1.2.8, not 1.5.x.

    Here's the full code of my register.php in my BuddyPress child theme:

    [php]
    <?php get_header(); ?>
    <div id="content">
    	<h1>Register</h1>
    	<div class="postarea">
    	<?php gravity_form(10, false, true, false, null, false); ?>
    	</div>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Your template might be structured differently. That's one way of doing it.

    Posted 12 years ago on Thursday October 27, 2011 | Permalink
  3. Thanks so much!! That got the form on the page perfectly. However, it doesn't seem to be sending any data. How did you get that part to work (or did it work seamlessly?)

    Posted 12 years ago on Thursday October 27, 2011 | Permalink
  4. Hi Tetsubo,

    Try adding this to your theme's functions.php file: http://pastie.org/2767118

    Posted 12 years ago on Thursday October 27, 2011 | Permalink
  5. It works perfectly! Thanks so much you guys - lifesaver (love the gravity forms, so didn't want to have to resort to a different plugin!). Making all of these things work together is definitely a learning process, and I couldn't manage to find the answer through searching. Thanks so much again for your help!

    Posted 12 years ago on Friday October 28, 2011 | Permalink
  6. Oh yeah, forgot about the code in functions.php. David Smith to the rescue!

    Glad you got that working tetsubo.

    Posted 12 years ago on Friday October 28, 2011 | Permalink

This topic has been resolved and has been closed to new replies.