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 Registration call to wp_create_user() -- s2member plugin interaction

  1. dwdutch

    To use an alternative to the default registration page offered by the s2member plug-in, they recommend the following:

    TIP: When creating custom registration forms, if those custom registration forms are also being processed by your own custom routines, be sure that your custom registration routines always make a call to this function: wp_create_user(), or wpmu_create_user() on a Multisite Network. This way the right Hooks/Filters are processed internally by s2Member. If that is not possible, then make sure your custom routine is at least firing this Hook after it creates an account: do_action("user_register", $user_id);

    Can someone confirm if the new GF REgistration plug-in uses these calls?

    Posted 8 years ago on Wednesday March 30, 2011 | Permalink
  2. Hi Dwdutch,

    The User Registration Add-on does use the wp_create_user() function to register new users which in turn fires the hook s2Member relies on based on your provided information. You should be good to go.

    Posted 8 years ago on Wednesday March 30, 2011 | Permalink
  3. agolden42

    Sorry, I don't mean to hijack this thread, but I have a question for dwdutch. I'd like to do the same thing it sounds like you're doing. Using GF for user registration and s2member for content restriction. How do you disable the s2member registration form so that you can use the GF registration form? Or are you simply creating a separate page for the GF form and just not giving out the link to the normal registration form that gets taken over by s2member when that plugin is active?

    Posted 8 years ago on Saturday June 4, 2011 | Permalink

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