<?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 Upload Link</title>
		<link>https://legacy.forums.gravityhelp.com/topic/file-upload-link</link>
		<description>Gravity Support Forums Topic: File Upload Link</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 08:23:27 +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-upload-link" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "File Upload Link"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-link#post-185695</link>
			<pubDate>Tue, 26 Mar 2013 14:47:38 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">185695@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;1.7 Beta 2 was released today which fixes this problem:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/gravity-forms-v1-7-beta-2-released/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/gravity-forms-v1-7-beta-2-released/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "File Upload Link"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-link#post-184391</link>
			<pubDate>Mon, 25 Mar 2013 18:46:33 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">184391@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you.  It will be announced on our blog when it's released &#60;a href=&#34;http://www.gravityhelp.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>monoxgas on "File Upload Link"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-link#post-184327</link>
			<pubDate>Mon, 25 Mar 2013 17:15:11 +0000</pubDate>
			<dc:creator>monoxgas</dc:creator>
			<guid isPermaLink="false">184327@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sounds like that's the problem, I only have one File Upload in that form. Glad it was found and fixed in Beta 2, I will keep my ears open for when it is released.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "File Upload Link"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-link#post-183073</link>
			<pubDate>Sun, 24 Mar 2013 15:17:45 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">183073@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Are you uploading just one file or multiple files?  There was a problem in beta 1 (which is fixed in beta 2) that prevented you from sending single path attachments (only arrays of attachments were supported.)  Is that your issue?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>monoxgas on "File Upload Link"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-link#post-180027</link>
			<pubDate>Thu, 21 Mar 2013 19:45:34 +0000</pubDate>
			<dc:creator>monoxgas</dc:creator>
			<guid isPermaLink="false">180027@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am trying to use the attachments feature in the 1.7 beta, but I can't seem to get the notifications to send with the attachments, they just come through as normal E-Mails.. Here is the code from my functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;gform_notification&#38;#39;, &#38;#39;change_admin_notification_attachments&#38;#39;, 10, 3);
function change_admin_notification_attachments( $notification, $form, $entry ) {
    if($notification[&#38;quot;name&#38;quot;] == &#38;quot;Admin Notification&#38;quot;){

        $fileupload_fields = GFCommon::get_fields_by_type($form, array(&#38;quot;fileupload&#38;quot;));

        if(!is_array($fileupload_fields))
            return $attachments;

        $attachments = array();
        $upload_root = RGFormsModel::get_upload_root();
        foreach($fileupload_fields as $field){
            $url = $lead[$field[&#38;quot;id&#38;quot;]];
            $attachment = preg_replace(&#38;#39;&#124;^(.*?)/gravity_forms/&#124;&#38;#39;, $upload_root, $url);
            if($attachment){
                $attachments[] = $attachment;
            }
        }
        $notification[&#38;quot;attachments&#38;quot;] = $attachments;
    }
    return $notification;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Any help with this would be much appreciated, I would prefer the attachments instead of a link. Note, I use the WP-Mail-SMTP plugin.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
