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.

GF User Registration + WPMU Pro Site Level selection

  1. Hi all,
    I am currently using the User registration add-on for my multisite signup. And using WPMU's Pro Sites to create different levels of membership.

    Does any one know of a way to enable a user to select a Pro site level on signup instead of using the default that you set in the Pro Site settings.

    I.E. Please select which membership type you would like.
    Free - Bronze - Silver - Gold

    The following post touches on it but its wanting to integrate a different feature so though I'd ask. http://www.gravityhelp.com/forums/topic/creating-new-sites-in-a-network-after-taking-payment

    I've asked over at the WPMU forums and they have suggested looking at the extend function and get GF to trigger it, but honestly I am at a loss.

    Here's the function
    function extend($blog_id, $extend, $gateway = false, $level = 1, $amount = false)

    I'm going through the docs and think this http://www.gravityhelp.com/documentation/page/Gform_user_registration_add_option_section may help, but if anyone can steer me in the right direction that would be great.

    Thanks in advance,
    D

    Posted 12 years ago on Tuesday March 20, 2012 | Permalink
  2. I would add a dropdown with the levels you have (fill it manually or use a filter to fill the field). Then hook into the form submission and perform the extend function inside the function you attach to a submission hook.
    I guess I'd use the gform_pre_submission_filter, because that also gives you the option of adding info on the Pro Sites level into the notification.

    Posted 12 years ago on Sunday May 6, 2012 | Permalink
  3. Cheers Hiranthi,
    I'll let you know how it all goes.
    D

    Posted 12 years ago on Tuesday May 15, 2012 | Permalink
  4. I have a related question about WPMU + GF user registration add-on.

    When a user registers using the GF reg form, all the meta data is added to usermeta table. However, I would like to accept user details + site setting details in one form (I know this could be different.. but well, I have my reasons why all this has to be on one form).

    Question - Is there a way to send part of data from one form for user registration (i.e. to $wpdb->users, $wpdb->usermeta) and the rest to wp_X_options table?

    X=blog_id of the subdomain.

    Posted 12 years ago on Tuesday May 15, 2012 | Permalink