<?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: Display Uploaded Files in the Backend</title>
		<link>https://legacy.forums.gravityhelp.com/topic/display-uploaded-files-in-the-backend</link>
		<description>Gravity Support Forums Topic: Display Uploaded Files in the Backend</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 03:12:16 +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/display-uploaded-files-in-the-backend" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Display Uploaded Files in the Backend"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-uploaded-files-in-the-backend#post-174547</link>
			<pubDate>Sun, 17 Mar 2013 19:21:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">174547@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;As this isn't a support issue, but more of a customization - we'll leave this thread open for the community to chime in on if anyone has any helpful ideas.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>moxy on "Display Uploaded Files in the Backend"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-uploaded-files-in-the-backend#post-173563</link>
			<pubDate>Sat, 16 Mar 2013 11:49:13 +0000</pubDate>
			<dc:creator>moxy</dc:creator>
			<guid isPermaLink="false">173563@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm looking for a way to display the results of a User's uploaded file in the backend, as well offer the ability to change it from there. I may be off with what I've got so far. It seems to work fine when the user first submits the registration form (I'm using the User Registration Addon).&#60;/p&#62;
&#60;p&#62;I'm adding extra fields to the user profiles in the backend like this - and it kind of works - but when you edit from the backend, the file path is wrong. I'd also like to just display the filename as a link to the full path.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action( &#38;#39;show_user_profile&#38;#39;, &#38;#39;add_student_extra_profile_fields&#38;#39; );
add_action( &#38;#39;edit_user_profile&#38;#39;, &#38;#39;add_student_extra_profile_fields&#38;#39; );

.... proper table setup to ...

&#38;lt;tr&#38;gt;
  &#38;lt;th&#38;gt;&#38;lt;label for=&#38;quot;record_upload&#38;quot;&#38;gt;File Change&#38;lt;/label&#38;gt;&#38;lt;/th&#38;gt;
    &#38;lt;td&#38;gt;
        &#38;lt;input type=&#38;quot;file&#38;quot; name=&#38;quot;record_upload&#38;quot; id=&#38;quot;record_upload&#38;quot; value=&#38;quot;&#38;lt;?php echo esc_attr( get_the_author_meta( &#38;#39;record_upload&#38;#39;, $user-&#38;gt;ID ) ); ?&#38;gt;&#38;quot; class=&#38;quot;regular-text&#38;quot; /&#38;gt;
       &#38;lt;span class=&#38;quot;description&#38;quot;&#38;gt;Please upload a scanned copy of your Academic Record, if available.&#38;lt;/span&#38;gt;
      &#38;lt;/td&#38;gt;
    &#38;lt;/tr&#38;gt;
  &#38;lt;tr&#38;gt;
  &#38;lt;td&#38;gt;Uploaded Academic File&#38;lt;/td&#38;gt;
  &#38;lt;td&#38;gt;
    &#38;lt;p class=&#38;quot;file-display clear&#38;quot;&#38;gt;
        &#38;lt;a href=&#38;quot;&#38;lt;?php echo esc_attr( get_the_author_meta( &#38;#39;record_upload&#38;#39;, $user-&#38;gt;ID ) ); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php echo esc_attr( get_the_author_meta( &#38;#39;record_upload&#38;#39;, $user-&#38;gt;ID ) ); ?&#38;gt;&#38;lt;/a&#38;gt;
    &#38;lt;/p&#38;gt;
  &#38;lt;/td&#38;gt;
&#38;lt;/tr&#38;gt;

... finish up the table etc. ...

add_action( &#38;#39;personal_options_update&#38;#39;, &#38;#39;save_student_extra_profile_fields&#38;#39; );
add_action( &#38;#39;edit_user_profile_update&#38;#39;, &#38;#39;save_student_extra_profile_fields&#38;#39; );

function save_student_extra_profile_fields( $user_id ) {

	if ( !current_user_can( &#38;#39;edit_user&#38;#39;, $user_id ) )
		return false;

	update_usermeta( $user_id, &#38;#39;record_upload&#38;#39;, $_POST[&#38;#39;record_upload&#38;#39;] );
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
