<?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: File signed in user as author of submitted form which files to custom post type</title>
		<link>https://legacy.forums.gravityhelp.com/topic/file-signed-in-user-as-author-of-submitted-form-which-files-to-custom-post-type</link>
		<description>Gravity Support Forums Topic: File signed in user as author of submitted form which files to custom post type</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 09:08:45 +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/file-signed-in-user-as-author-of-submitted-form-which-files-to-custom-post-type" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "File signed in user as author of submitted form which files to custom post type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-signed-in-user-as-author-of-submitted-form-which-files-to-custom-post-type#post-45470</link>
			<pubDate>Wed, 04 Jan 2012 17:17:22 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">45470@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There you go.  Glad you found out how to do that.  Thanks for the update.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jacorre on "File signed in user as author of submitted form which files to custom post type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-signed-in-user-as-author-of-submitted-form-which-files-to-custom-post-type#post-45349</link>
			<pubDate>Tue, 03 Jan 2012 11:52:06 +0000</pubDate>
			<dc:creator>jacorre</dc:creator>
			<guid isPermaLink="false">45349@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Chris! I forgot that was an option when I first defined the form to file to a custom post type!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "File signed in user as author of submitted form which files to custom post type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-signed-in-user-as-author-of-submitted-form-which-files-to-custom-post-type#post-45320</link>
			<pubDate>Tue, 03 Jan 2012 00:37:05 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">45320@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;On your post body or post title field, have you checked the box &#34;Use logged in user as author&#34;?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://minus.com/mJxnjvfbs&#34; rel=&#34;nofollow&#34;&#62;http://minus.com/mJxnjvfbs&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;That should take care of it without any code in your functions.php.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jacorre on "File signed in user as author of submitted form which files to custom post type"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-signed-in-user-as-author-of-submitted-form-which-files-to-custom-post-type#post-45312</link>
			<pubDate>Mon, 02 Jan 2012 22:24:45 +0000</pubDate>
			<dc:creator>jacorre</dc:creator>
			<guid isPermaLink="false">45312@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;My form files to a custom post type in a Pending status. Only signed in users can submit entries with the form.&#60;/p&#62;
&#60;p&#62;I'm having a problem getting the user that's signed in to be associated to the Pending post that's created. Right now it's always defaulting to me.&#60;/p&#62;
&#60;p&#62;I've tried using a hidden field with the default value set to User Login. In the email that's generated I can see the correct user's login name defined, but the post is not associated to the user.&#60;/p&#62;
&#60;p&#62;I've also tried dynamically populating the field with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;gform_field_value_submitted_by_user&#38;#39;, &#38;#39;populate_submitted_by_user&#38;#39;);
function populate_submitted_by_user($value){
 global $current_user;
 get_currentuserinfo();
 return $current_user -&#38;gt; user_login;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Again, the email that's generated displays the correct user login name but the post is not associated to the user.&#60;/p&#62;
&#60;p&#62;Users are set as contributors when registering on the site.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
