<div>so funny...I am also looking at this issue yesterday.</div>
<div>&nbsp;</div>
<div>you are right that correct implementing `future_post` features is different from the current implementation, i.e. future_post_in_calendar</div>
<div>&nbsp;</div>
<div>at least, you need to protect the future post if user don&#39;t want to display.</div>
<div>&nbsp;</div>
<div>besides, you might also need to take care of the RSS, personally I believe RSS shouldn&#39;t allow future post anyway?</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">On 9/4/07, <b class="gmail_sendername">Jon Daley</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:plogworld@jon.limedaley.com" target="_blank">plogworld@jon.limedaley.com
</a>&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hrm. I don&#39;t think it is working.&nbsp;&nbsp;I define working as when I set<br>future_posts to true, I expected to see it on the main page.&nbsp;&nbsp;Perhaps it 
<br>should *only* show up in the calendar, and since I am not using a<br>calendar, future_posts doesn&#39;t do anything?<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If I type in the URL to the future post directly, it is visible no<br>matter what the future_post setting is.&nbsp;&nbsp;I&#39;d expect it to be inaccessible 
<br>if future_posts is set to 0.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If I type in the URL to the whole month, I do see the future<br>article only when the future_posts is set.<br><br>The below queries are what happen (in getBlogArticles) when viewing the 
<br>main page, since date == -1, the max timestamp is always set regardless of<br>the future_posts setting.<br><br>SELECT <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://a.id/" target="_blank">a.id</a>
 as id, <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://a.id/" target="_blank">a.id</a>, a.date,<br>a.user_id,a.blog_id ,a.status,a.properties, a.num_reads, a.slug, 1 AS<br>relevance, a.num_comments
 AS num_comments, a.num_nonspam_comments AS<br>num_nonspam_comments, a.num_trackbacks AS num_trackbacks,<br>a.num_nonspam_trackbacks AS num_nonspam_trackbacks, a.global_category_id<br>AS global_category_id, a.in_summary_page
 AS in_summary_page,<br>a.modification_date AS modification_date<br><br>FROM plog_articles a, plog_articles_categories c, plog_article_categories_link l<br><br>WHERE a.blog_id = 1 AND<br>&nbsp;&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://c.id/" target="_blank">
c.id</a> = l.category_id AND<br>&nbsp;&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://a.id/" target="_blank">a.id</a> = l.article_id AND<br>&nbsp;&nbsp;c.in_main_page = 1 AND<br>&nbsp;&nbsp;a.status = &#39;1&#39; AND<br>&nbsp;&nbsp;
a.date &lt;= &#39;20070904063616&#39; <br><br>GROUP BY <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://a.id/" target="_blank">a.id</a><br><br>ORDER BY a.date DESC LIMIT 0, 15<br><br><br><br>SELECT <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://a.id/" target="_blank">
a.id</a> as id, <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://a.id/" target="_blank">a.id</a>, a.date, a.user_id,a.blog_id,a.status,a.properties , a.num_reads, a.slug, 1 AS<br>relevance, a.num_comments
 AS num_comments, a.num_nonspam_comments AS<br>num_nonspam_comments, a.num_trackbacks AS num_trackbacks,<br>a.num_nonspam_trackbacks AS num_nonspam_trackbacks, a.global_category_id <br>AS global_category_id, a.in_summary_page
 AS in_summary_page,<br>a.modification_date AS modification_date<br><br>FROM plog_articles a, plog_articles_categories c, plog_article_categories_link l<br><br>WHERE a.blog_id = 1 AND <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://c.id/" target="_blank">
c.id</a> = l.category_id AND<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://a.id/" target="_blank">a.id</a> = l.article_id AND<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c.in_main_page = 1 AND<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a.status = &#39;1&#39; AND
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a.date &lt;= &#39;20070904063616&#39; <br><br>GROUP BY <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://a.id/" target="_blank">a.id</a><br><br>ORDER BY a.date DESC LIMIT 10;<br><br><br>On Tue, 4 Sep 2007, Jon Daley wrote:
<br><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am using it a bit more in an API way, so I wouldn&#39;t be too<br>&gt; surprised if &quot;regular&quot; people aren&#39;t seeing it.&nbsp;&nbsp;I&#39;ll play around with it <br>&gt; some more.&nbsp;&nbsp;(commenting out the this-&gt;_date part works for me for now)
<br>&gt;<br>&gt; On Tue, 4 Sep 2007, Oscar Renalias wrote:<br>&gt;<br>&gt;&gt; I have to say that I don&#39;t remember, but I think that this has also <br>&gt;&gt; been working fine so far... (at least no one reported an issue with
<br>&gt;&gt; this)<br>&gt;&gt;<br>&gt;&gt; On 9/4/07, Jon Daley &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:plogworld@jon.limedaley.com" target="_blank">plogworld@jon.limedaley.com</a> &gt; wrote:
<br>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This code seems to be wrong, but I see that it hasn&#39;t been changed<br>&gt;&gt;&gt; in forever.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; scenario: show_future_posts_in_calendar is set to 1.<br>&gt;&gt;&gt;
<br>&gt;&gt;&gt; If no date is set in the request, then the maxDate is set, so then future<br>&gt;&gt;&gt; articles won&#39;t be shown.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; If the date is set in the request, then the maxDate is not set, and the 
<br>&gt;&gt;&gt; query succeeds.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Is this the desired behavior?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; class/action/defaultaction.class.php::<br>&gt;&gt;&gt; if(($blogSettings-&gt;getValue(&#39;show_future_posts_in_calendar&#39;)) &amp;&amp; 
<br>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ($this-&gt;_date &gt; -1)){<br>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// if posts in the future are to be shown, we shouldn&#39;t set a maximum date<br>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$todayTimestamp = 0;<br>&gt;&gt;&gt; }<br>&gt;&gt;&gt; 
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I would have expected the this-&gt;_date to not be taken into account when<br>&gt;&gt;&gt; deciding whether to show future posts or not.<br>&gt;&gt;&gt; _______________________________________________ 
<br>&gt;&gt;&gt; pLog-svn mailing list<br>&gt;&gt;&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:pLog-svn@devel.lifetype.net" target="_blank">pLog-svn@devel.lifetype.net</a><br>&gt;&gt;&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://limedaley.com/mailman/listinfo/plog-svn" target="_blank">
http://limedaley.com/mailman/listinfo/plog-svn </a><br>&gt;&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; pLog-svn mailing list<br>&gt;&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:pLog-svn@devel.lifetype.net" target="_blank">
pLog-svn@devel.lifetype.net</a><br>&gt;&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://limedaley.com/mailman/listinfo/plog-svn" target="_blank">http://limedaley.com/mailman/listinfo/plog-svn</a>
<br>&gt;&gt;<br>&gt;<br>&gt; --<br>&gt; Jon Daley<br>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jon.limedaley.com/" target="_blank">http://jon.limedaley.com/</a><br>&gt;<br>&gt; Atheism is a non-prophet organization 
<br>&gt; _______________________________________________<br>&gt; pLog-svn mailing list<br>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:pLog-svn@devel.lifetype.net" target="_blank">pLog-svn@devel.lifetype.net
</a><br>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://limedaley.com/mailman/listinfo/plog-svn" target="_blank">http://limedaley.com/mailman/listinfo/plog-svn</a><br>&gt;<br><br>--<br>Jon Daley
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jon.limedaley.com/" target="_blank">http://jon.limedaley.com/</a><br><br>This is a test of the Emergency Broadcast System.<br>If this had been an actual emergency, 
<br>&nbsp;&nbsp;do you really think we&#39;d stick around to tell you?<br>_______________________________________________<br>pLog-svn mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:pLog-svn@devel.lifetype.net" target="_blank">
pLog-svn@devel.lifetype.net</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://limedaley.com/mailman/listinfo/plog-svn" target="_blank">http://limedaley.com/mailman/listinfo/plog-svn</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Best Regards,<br>tszming