Wedge

Public area => The Pub => Plugins => Topic started by: live627 on January 15th, 2013, 10:50 AM

Title: Future Dated Posts
Post by: live627 on January 15th, 2013, 10:50 AM
Schedule posts to be published in a future date.


(Requires Post Fields)
Title: Re: Future Dated Posts
Post by: agent47 on January 15th, 2013, 02:16 PM
I like how simple the layout of your plugins are and yet somehow they look so darn great. Super stuff!
Title: Re: Future Dated Posts
Post by: Dragooon on January 15th, 2013, 02:27 PM
This is sweet :D. What does it require post fields for?
Title: Re: Future Dated Posts
Post by: Arantor on January 15th, 2013, 05:03 PM
Providing the container for the dateinput, probably.
Title: Re: Future Dated Posts
Post by: Dismal Shadow on January 15th, 2013, 07:48 PM
I recalled Nibogo making one for SMFand asked me to test it in a private forum somewhere but ended up abandoning it.
Title: Re: Future Dated Posts
Post by: Arantor on January 15th, 2013, 07:53 PM
Oh, I've been known to make a future dated post setup, it's not actually that hard.

The biggest headache is the UI, and then management thereof; in my case only admins ever needed to make such, and in all cases, there was a central page that listed all the topics and so on.

It could, in certain cases, even do back-dated posts.
Title: Re: Future Dated Posts
Post by: Dismal Shadow on January 15th, 2013, 09:10 PM
Back-dated posts? Back in Time? Only the TARDIS can go back in Time, silly. :P

 :niark:
Title: Re: Future Dated Posts
Post by: Arantor on January 15th, 2013, 09:13 PM
Nevertheless, if you run a blog and you have an extended hiatus for multiple reasons, you can use it to insert posts going back a bit...
Title: Re: Future Dated Posts
Post by: Aaron Smith on January 16th, 2013, 01:29 AM
Love love love the idea of Future Dated Posts. In reference to a blog it's really almost a mandatory feature I think. Being able to setup a series of posts ahead of time and them firing off automatically is awesome.

Back dated posts sounds a little sketchy, but if there was some UI element identifying it as such then I see some limited uses for it.
Title: Re: Future Dated Posts
Post by: Arantor on January 16th, 2013, 01:43 AM
It's not part of this plugin as I understand it; I had a very specific use and need to implement it in my own site, knowing the issues that can arise out of doing it.
Title: Re: Future Dated Posts
Post by: live627 on January 16th, 2013, 09:13 AM
In theory, you could back date. What I think would happen is the scheduled task, which would run at midnight server time, would find posts in the queue and set their date accordingly.
Quote from Dragooon on January 15th, 2013, 02:27 PM
What does it require post fields for?
To provide the template container, as pointed out, and to store the date in the DB.
Title: Re: Future Dated Posts
Post by: Arantor on January 16th, 2013, 01:56 PM
Back dating would set the date but physical order would be wrong. Everything is ordered by id, remember.
Title: Re: Future Dated Posts
Post by: Arantor on January 16th, 2013, 03:22 PM
Also, don't forget that jQuery UI is now in the core and you can use their dateinput if you'd like.