<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Creating a site when updating an existing user</title>
		<link>https://legacy.forums.gravityhelp.com/topic/creating-a-site-when-updating-an-existing-user</link>
		<description>Gravity Support Forums Topic: Creating a site when updating an existing user</description>
		<language>en-US</language>
		<pubDate>Thu, 16 Apr 2026 00:52:49 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/creating-a-site-when-updating-an-existing-user" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Creating a site when updating an existing user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-site-when-updating-an-existing-user#post-147115</link>
			<pubDate>Thu, 14 Feb 2013 23:28:33 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">147115@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the update Cam.  I will let Alex know this worked.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Cam Clayton on "Creating a site when updating an existing user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-site-when-updating-an-existing-user#post-147068</link>
			<pubDate>Thu, 14 Feb 2013 21:23:26 +0000</pubDate>
			<dc:creator>Cam Clayton</dc:creator>
			<guid isPermaLink="false">147068@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Alex,&#60;/p&#62;
&#60;p&#62;That function works perfectly. Thank you so much for your help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Creating a site when updating an existing user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-site-when-updating-an-existing-user#post-146586</link>
			<pubDate>Wed, 13 Feb 2013 11:39:08 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">146586@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think the following will do the job. (Assumes that form ID 5 is your update profile form)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function create_multisite_site($entry, $form) {

    $user_id = get_current_user_id();
    $config = GFUser::get_active_config($form, $entry);

    $blog_id = GFUser::create_new_multisite($user_id, $config, $entry, &#38;quot;&#38;quot;);

}
add_action(&#38;quot;gform_after_submission_5&#38;quot;, &#38;quot;create_multisite_site&#38;quot;, 10, 2);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Cam Clayton on "Creating a site when updating an existing user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-site-when-updating-an-existing-user#post-146075</link>
			<pubDate>Mon, 11 Feb 2013 22:04:10 +0000</pubDate>
			<dc:creator>Cam Clayton</dc:creator>
			<guid isPermaLink="false">146075@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Alex,&#60;/p&#62;
&#60;p&#62;I'm using option 3, where a user is updating his information via a Gravity Form associated with a User Registration update feed. &#60;/p&#62;
&#60;p&#62;This is for a professional membership site, where users (with a WP Subscriber account) must first apply for full membership and supply supporting documentation. Once Admin has approved their application they have access to a Gravity Form associated with a User Registration update feed where they can enter the details for their site name, url and agree with the T&#38;amp;Cs. Their name, username and email address are pre-populated readonly fields.&#60;/p&#62;
&#60;p&#62;Thanks so much for your help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Creating a site when updating an existing user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-site-when-updating-an-existing-user#post-145928</link>
			<pubDate>Mon, 11 Feb 2013 13:36:59 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">145928@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello Cam,&#60;br /&#62;
I am working on coming up with a code snippet for you, but I am now not sure when the site is supposed to be created. Following are a few options I see.&#60;br /&#62;
1- An administrator updates the entry via the entry detail page&#60;br /&#62;
2- An administrator or user updates the user profile from WP's user profile page&#60;br /&#62;
3- User updates his information via a Gravity Form associated with a User Registration update feed.&#60;/p&#62;
&#60;p&#62;Let me know which you are looking for and I will come up with something for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>CasJam on "Creating a site when updating an existing user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-site-when-updating-an-existing-user#post-145926</link>
			<pubDate>Mon, 11 Feb 2013 13:32:14 +0000</pubDate>
			<dc:creator>CasJam</dc:creator>
			<guid isPermaLink="false">145926@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I just tested User Registration beta v1.5.11 and this appears to be working fine.  Logged in users can fill out a form to create a new site.  Works nicely :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Creating a site when updating an existing user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-site-when-updating-an-existing-user#post-145917</link>
			<pubDate>Mon, 11 Feb 2013 13:11:58 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">145917@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'll post a solution here when I hear back from the development team.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>CasJam on "Creating a site when updating an existing user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-site-when-updating-an-existing-user#post-145850</link>
			<pubDate>Mon, 11 Feb 2013 08:53:41 +0000</pubDate>
			<dc:creator>CasJam</dc:creator>
			<guid isPermaLink="false">145850@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm interested to know a solution for this as well.  I'd appreciate the full code / instructions for implementation.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Creating a site when updating an existing user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-site-when-updating-an-existing-user#post-145623</link>
			<pubDate>Sun, 10 Feb 2013 18:34:12 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">145623@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Let me forward this to the development team and see if they have any feedback.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Cam Clayton on "Creating a site when updating an existing user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-site-when-updating-an-existing-user#post-145605</link>
			<pubDate>Sun, 10 Feb 2013 17:03:14 +0000</pubDate>
			<dc:creator>Cam Clayton</dc:creator>
			<guid isPermaLink="false">145605@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;/p&#62;
&#60;p&#62;It looks like the best way would be to use the gform_after_submission hook, specifying the form used to update the user account, then use that to use the create_new_multisite function in the User Registration Add-On plugin. That would look something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function create_multisite_site() {
  create_new_multisite($user_id, $config, $entry, $password);
}
add_action(&#38;quot;gform_after_submission_5&#38;quot;, &#38;quot;create_multisite_site&#38;quot;, 10, 2);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I've searched the docs for how to use the create_new_multisite function, but info is very lite. Are any of your devs able to provide any details regarding what data / variables I need to be using with create_new_multisite() ?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
