<?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: set value of user meta field with uploaded filename</title>
		<link>https://legacy.forums.gravityhelp.com/topic/set-value-of-user-meta-field-with-uploaded-filename</link>
		<description>Gravity Support Forums Topic: set value of user meta field with uploaded filename</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:25:51 +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/set-value-of-user-meta-field-with-uploaded-filename" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "set value of user meta field with uploaded filename"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/set-value-of-user-meta-field-with-uploaded-filename#post-131305</link>
			<pubDate>Fri, 25 Jan 2013 09:57:26 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">131305@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the update.&#60;/p&#62;
&#60;p&#62;The User Registration Add-on I am using is the beta version. I won't show up as an available update until it is released in final version.  That should not affect the functionality you need though: just the appearance of the screen where you map the form fields.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lwrkrol on "set value of user meta field with uploaded filename"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/set-value-of-user-meta-field-with-uploaded-filename#post-131095</link>
			<pubDate>Fri, 25 Jan 2013 05:21:36 +0000</pubDate>
			<dc:creator>lwrkrol</dc:creator>
			<guid isPermaLink="false">131095@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I used another plugin in combination with the file rename hook i found in the support forum. Thanks for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lwrkrol on "set value of user meta field with uploaded filename"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/set-value-of-user-meta-field-with-uploaded-filename#post-131018</link>
			<pubDate>Fri, 25 Jan 2013 03:08:26 +0000</pubDate>
			<dc:creator>lwrkrol</dc:creator>
			<guid isPermaLink="false">131018@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Well I seem to have a different version user registration than you. I don't have the tabs like Edit Feed, User Registration Feeds or Pending Registrations or the Action field at the top of your screen. When I check updates then my Gravity Forms is up to date.&#60;/p&#62;
&#60;p&#62;I found out that when I deactivate the author image plugin, it does create the author_image record in the user meta.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "set value of user meta field with uploaded filename"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/set-value-of-user-meta-field-with-uploaded-filename#post-130694</link>
			<pubDate>Thu, 24 Jan 2013 20:40:37 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">130694@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;But I did exactly what you wanted to do, as I showed.  So what are we doing differently?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lwrkrol on "set value of user meta field with uploaded filename"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/set-value-of-user-meta-field-with-uploaded-filename#post-130432</link>
			<pubDate>Thu, 24 Jan 2013 11:54:41 +0000</pubDate>
			<dc:creator>lwrkrol</dc:creator>
			<guid isPermaLink="false">130432@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I thought of that myself and tried it, but it won't create a record author_image in the wp_usermeta table. When I manually add the image, it creates the author_image record without problems.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "set value of user meta field with uploaded filename"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/set-value-of-user-meta-field-with-uploaded-filename#post-130347</link>
			<pubDate>Thu, 24 Jan 2013 10:03:01 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">130347@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;After you created the form, you had to go to Forms &#38;gt; User Registration and add a new feed.  That is where you would &#34;map&#34; the fields you captured in the form with field in the profile.  This screen: &#60;a href=&#34;http://minus.com/lIAZuOv1RIs9o&#34; rel=&#34;nofollow&#34;&#62;http://minus.com/lIAZuOv1RIs9o&#60;/a&#62; - See the User Meta section where I added a meta_key of &#34;author_image&#34; and selected the field &#34;Your author image&#34; (the title of the image field in my form) from the drop down.  That is what accomplished everything I wrote about in my previous reply.&#60;/p&#62;
&#60;p&#62;I'm ignoring the rest about the gform_user_registered hook for now since I don't think you need it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lwrkrol on "set value of user meta field with uploaded filename"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/set-value-of-user-meta-field-with-uploaded-filename#post-130061</link>
			<pubDate>Thu, 24 Jan 2013 03:07:02 +0000</pubDate>
			<dc:creator>lwrkrol</dc:creator>
			<guid isPermaLink="false">130061@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry but I do not quite understand what you mean by 'map the feed' in relation to the code from gform_user_registered. Does this code execute when a user is registered and if so what do the variables $user_id, $config, $entry, $user_pass do in relation to the filename, in other words how do I use the code to get (only) the name of the uploaded file in the user meta field author_image. I hope you get my drift....
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "set value of user meta field with uploaded filename"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/set-value-of-user-meta-field-with-uploaded-filename#post-129471</link>
			<pubDate>Wed, 23 Jan 2013 10:20:41 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">129471@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I just tested this and you can get the final location of the author image from the file upload field, when you map the feed.&#60;/p&#62;
&#60;p&#62;I added a file upload to my form, then updated the feed to add the custom meta of &#34;author_image&#34; with the value of my file upload field.  It's the full path to the image in its final location in the wp-content/uploads/gravity_forms/{form-id-string}/ folder.  Screenshot: &#60;a href=&#34;http://minus.com/ltUL7AoYbIjU2&#34; rel=&#34;nofollow&#34;&#62;http://minus.com/ltUL7AoYbIjU2&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is the value of file I uploaded (take from the usermeta table): &#60;a href=&#34;http://gravity.chrishajer.com/wp-content/uploads/gravity_forms/4-677511f74d6823d023e8a1b225314928/2013/01/Screen-Shot-2013-01-10-at-11.57.20-AM.png&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/wp-content/uploads/gravity_forms/4-677511f74d6823d023e8a1b225314928/2013/01/Screen-Shot-2013-01-10-at-11.57.20-AM.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You said you tried that and it was a temporary location?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lwrkrol on "set value of user meta field with uploaded filename"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/set-value-of-user-meta-field-with-uploaded-filename#post-129429</link>
			<pubDate>Wed, 23 Jan 2013 09:35:43 +0000</pubDate>
			<dc:creator>lwrkrol</dc:creator>
			<guid isPermaLink="false">129429@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;ok, but how to grab the filename from the entry ? An example on how to write this function would be appreciated if I wanted the uploaded file-name to be written in user meta author_image. Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "set value of user meta field with uploaded filename"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/set-value-of-user-meta-field-with-uploaded-filename#post-129398</link>
			<pubDate>Wed, 23 Jan 2013 09:06:16 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">129398@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You would have to retrieve the filename after the file is uploaded and moved, from the entry.  Then update the usermeta for the user which was just created.&#60;/p&#62;
&#60;p&#62;The gform_user_registered hook has all the information you need (the user ID and the $entry, which will have the filename):&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_user_registered&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_user_registered&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The function you write will grab the filename from the entry, and update the user meta for that user ID.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
