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.

Create new site after paypal payment

  1. Here is what I'm trying to do. I want to set up a registration form that also connects to paypal. Upon successful payment, I want to create a new subsite for the user and make them an admin on the subsite. They can be a subscriber on the main site (where they completed the form), but that's not a requirement.

    Is this possible already, or will I need to do some custom coding?

    Posted 8 years ago on Wednesday March 23, 2011 | Permalink
  2. I've been doing all my testing on a local multi-site install. But, I was using a sub-site as my test bed. Turns out, the create new site option doesn't show up if your form is on a sub-site. I installed GravityForms and the user registration plugin on the main site and everything works great.

    Woot!

    Posted 8 years ago on Wednesday March 23, 2011 | Permalink
  3. Turns out, the create new site option doesn't show up if your form is on a sub-site.

    Yup. That is how we've got it set up for now. Glad to hear you were able to get this working.

    Posted 8 years ago on Wednesday March 23, 2011 | Permalink
  4. Thanks Dave. I'm currently digging under the hood to remove that restriction.

    Do you know if it's planned to remove that limitation?

    Posted 8 years ago on Wednesday March 23, 2011 | Permalink
  5. It's not currently planned, but it isn't off the table. There is some concern with the fact that without further customization a user could register a child site and then register as many sites as they wanted from their registered site. With that said, if there is enough demand for it we would definitely consider it.

    Posted 8 years ago on Wednesday March 23, 2011 | Permalink
  6. Yeah, it would definitely need to be something that the super admin has the ability to veto.

    However, I did locate the spot in the code where by commenting out 2 lines it makes it available to subsites... And, it works like a charm. Too powerful? Absolutely! :)

    Another option for anybody who wants to do this and still make Gravity Forms available to the network, just don't make the user registration module available to the network. Limit that to only the main site or any subsites you trust not to abuse the power.

    Posted 8 years ago on Thursday March 24, 2011 | Permalink
  7. Hey guys,

    I'm working on a similar problem but without the payment part. All I need to do is have it so that users can register a new sub-site and then only have access to that sub-site. Right now it's giving them access to the main site and no access to the sub-site. That's not good.

    Any help would be greatly appreciated. Thanks

    Paul

    Posted 8 years ago on Thursday March 31, 2011 | Permalink
  8. Hi Paul,

    Would it be possible to get WP & FTP access to your install? I was unable to recreate this issue on my end, but would love to help you get this figured out on yours. You can send this information to us via the "Contact Us" form on the right navigation.

    By default, the User Registration plugin should make the user an admin on the sub-site and whatever role specified in the UR feed for the parent site: http://grab.by/9M5j

    Posted 8 years ago on Thursday March 31, 2011 | Permalink
  9. A follow up note for anyone using the New Blog Template plugin in combination with the User Registration plugin to allow users to register new sites: In order to have the registering user correctly assigned as the admin of their newly created site, you must uncheck "users" from the list of options to copy to the new blog: http://grab.by/9MbA

    Posted 8 years ago on Friday April 1, 2011 | Permalink
  10. Thanks David!

    Posted 8 years ago on Monday April 4, 2011 | Permalink