<?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 User Favorites: bluetidepro</title>
		<link><a href='https://legacy.forums.gravityhelp.com/profile/bluetidepro'>bluetidepro</a></link>
		<description>Gravity Support Forums User Favorites: bluetidepro</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:25:54 +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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>Dana Cobb on "Creating Publish Date from Date Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-publish-date-from-date-field#post-47437</link>
			<pubDate>Thu, 26 Jan 2012 12:55:38 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">47437@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, bluetidepro,&#60;/p&#62;
&#60;p&#62;We are sorry about the delay in responding as we have been working on Priority Support requests. We normally respond sooner than this. If you want to set what the publish date will be on the post you can do something similar to below. This code sets the post date/time based on fields on the form. In my example I have set a future date so the post winds up being &#34;Scheduled&#34; with the date/time chosen on the form as the &#34;Scheduled for&#34; date. Let me know if you have questions about the code.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_post_data&#38;quot;, &#38;quot;set_post_date&#38;quot;, 10, 2);
function set_post_date($post_data, $form){
    //only do this when the form id is 23
    if($form[&#38;quot;id&#38;quot;] != 23)
       return $post_data;

	//set post date to field on form if date provided; get from POSTed data
	//using a date field in mm/dd/yyyy format and a time field in 24 hour format
	$date_value = rgpost(&#38;quot;input_6&#38;quot;); //pull the date value from the form data posted, field 6 on my form
	$time = rgpost(&#38;quot;input_7&#38;quot;); //pull the time value from the form data posted, field 7 on my form
	//only change post date/time when a date has been chosen
	if (!empty($date_value))
	{
		if (empty($time))
		{
			//set default time
			$time_value = &#38;quot;00:00:00&#38;quot;;
		}
		else
		{
			empty($time[0]) ? $time_hours = &#38;quot;00&#38;quot; : $time_hours = $time[0]; //pull hours out of array
			empty($time[1]) ? $time_minutes = &#38;quot;00&#38;quot; : $time_minutes = $time[1]; //pull minutes out of array
			$time_value = $time_hours . &#38;quot;:&#38;quot; . $time_minutes . &#38;quot;:00&#38;quot;; //add on seconds
		}
		//convert post date to the appropriate format so it will be inserted into the database
		$post_date = date(&#38;quot;Y-m-d H:i:s&#38;quot;,strtotime($date_value . &#38;quot; &#38;quot; . $time_value));

    	$post_data[&#38;quot;post_date&#38;quot;] = $post_date; //set the post_date
	}
    return $post_data; //return the changed data to use when the post is created
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Zach Reed on "Creating Publish Date from Date Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-publish-date-from-date-field#post-46890</link>
			<pubDate>Thu, 19 Jan 2012 19:35:33 +0000</pubDate>
			<dc:creator>Zach Reed</dc:creator>
			<guid isPermaLink="false">46890@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;bump...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Zach Reed on "Creating Publish Date from Date Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-publish-date-from-date-field#post-46850</link>
			<pubDate>Thu, 19 Jan 2012 12:10:19 +0000</pubDate>
			<dc:creator>Zach Reed</dc:creator>
			<guid isPermaLink="false">46850@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've been trying to get support everyday since Monday. This is pathetic. I wouldn't have paid for this service if I would have known it would be this hard to do such easy things...&#60;/p&#62;
&#60;p&#62;Can someone please help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Zach Reed on "Creating Publish Date from Date Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-publish-date-from-date-field#post-46705</link>
			<pubDate>Wed, 18 Jan 2012 10:26:03 +0000</pubDate>
			<dc:creator>Zach Reed</dc:creator>
			<guid isPermaLink="false">46705@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Bump. Can someone please help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Zach Reed on "Creating Publish Date from Date Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-publish-date-from-date-field#post-46512</link>
			<pubDate>Mon, 16 Jan 2012 18:48:15 +0000</pubDate>
			<dc:creator>Zach Reed</dc:creator>
			<guid isPermaLink="false">46512@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Bump... Anyone?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Zach Reed on "Creating Publish Date from Date Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-publish-date-from-date-field#post-46494</link>
			<pubDate>Mon, 16 Jan 2012 16:25:42 +0000</pubDate>
			<dc:creator>Zach Reed</dc:creator>
			<guid isPermaLink="false">46494@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can this be done with &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Entry_Object?&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Entry_Object?&#60;/a&#62; Using &#34;$entry[&#34;date_created&#34;];&#34;? If so, can I get some example code? I'm not 100% sure how to do this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Zach Reed on "Creating Publish Date from Date Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-publish-date-from-date-field#post-46479</link>
			<pubDate>Mon, 16 Jan 2012 13:14:38 +0000</pubDate>
			<dc:creator>Zach Reed</dc:creator>
			<guid isPermaLink="false">46479@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is this possible yet? I really need to be able to do this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>johnny9k on "Creating Publish Date from Date Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-publish-date-from-date-field#post-1349</link>
			<pubDate>Fri, 06 Nov 2009 11:03:48 +0000</pubDate>
			<dc:creator>johnny9k</dc:creator>
			<guid isPermaLink="false">1349@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Carl.  This would be a boon for a site I am working on.  User submitted posts with a scheduled publish date.  Wordpress can then show upcoming posts in order of the date entered by the user (event date).  Perfect for upcoming events.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Creating Publish Date from Date Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-publish-date-from-date-field#post-1339</link>
			<pubDate>Thu, 05 Nov 2009 16:59:06 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">1339@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Currently this isn't possible.  We will add it to our feature ideas list and could potentially add it as a feature in a future release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>johnny9k on "Creating Publish Date from Date Field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-publish-date-from-date-field#post-1333</link>
			<pubDate>Thu, 05 Nov 2009 16:00:42 +0000</pubDate>
			<dc:creator>johnny9k</dc:creator>
			<guid isPermaLink="false">1333@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would like to have the date field determine the publish date of the new post.  Is this possible?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
