4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: klechoo on January 24, 2006, 09:31:19 PM

Title: Time and date of the delivered image
Post by: klechoo on January 24, 2006, 09:31:19 PM
Is it possible to define an exact month and date for sending an image (greeting card)?
Title: Re: Delivary time and date
Post by: TheOracle on January 24, 2006, 11:40:49 PM
Postcards.php file would require a small modification where the "Send Postcard" action is located. From there, you could probably use your date command as a simple tag inside your postcard's HTML file. ;)
Title: Re: Time and date of the delivered image
Post by: klechoo on January 24, 2006, 11:42:18 PM
Thanks I'll try. I was thinking for some kind of MOD but may be and this is a decision.
Title: Re: Time and date of the delivered image
Post by: TheOracle on January 24, 2006, 11:50:50 PM
Actually, while I was suggesting this, I thought about digging into these functions myself and try this out. ;)

However, if you do have a solution, you're still welcome to post your inputs. 8)
Title: Re: Time and date of the delivered image
Post by: V@no on January 25, 2006, 01:03:48 AM
Are you trying to show the exact month and date when the poscard was sent? Is it supposed to be displayed on the page when the recepient opened the received link to the postcard?
Please specify what exacly is it you trying to do.
Title: Re: Time and date of the delivered image
Post by: TheOracle on January 25, 2006, 02:19:43 AM
Quote

Is it supposed to be displayed on the page when the recepient opened the received link to the postcard?


And this gets back to the 1969 year bug issue I reported on the old forum. It does post the date but displays the wrong time (I don't know if it's the same for this user but this is what it looks like to me  :|).
Title: Re: Time and date of the delivered image
Post by: klechoo on January 25, 2006, 08:35:56 PM
I want to specify a date on which the greeting card will be sent and the exact month of course.
Title: Re: Time and date of the delivered image
Post by: V@no on January 26, 2006, 12:26:18 AM
Sorry, its not possible. PHP is not designed to be running without someone requesting a page, untill that happend, PHP stays inactive, so you cant set a date when it should be executed byitself.
Title: Re: Time and date of the delivered image
Post by: TheOracle on January 26, 2006, 12:57:26 AM
Quote

you cant set a date when it should be executed byitself.


Differ. By setting a cron job (either from your server or from your cPanel from your host), this can be automated at the preferred settings. ;)