Scheduled Events
Moderator: General Moderators
Scheduled Events
I'm trying to create a website that allows users to blog information but they can set a time delay on it before it's posted. So for example if a user writes a story and set's a time delay of 30 minutes on it, it would wait 30 minutes before it would be posted. How do I set up scheduled events in PhP that would allow me to do this?
Re: Scheduled Events
That method will be annoying.
Set a publication date 30 minutes into the future and make stuff show up only if the publication date has passed.
Set a publication date 30 minutes into the future and make stuff show up only if the publication date has passed.
Re: Scheduled Events
I can't do this. The posts are being sent to twitter using their API so when they are sent they are displayed on twitter immediately. I want to be able to give the user the choice of setting a delay on their post.