Author Topic: Time and date of the delivered image  (Read 6423 times)

0 Members and 1 Guest are viewing this topic.

Offline klechoo

  • Newbie
  • *
  • Posts: 12
    • View Profile
Time and date of the delivered image
« on: January 24, 2006, 09:31:19 PM »
Is it possible to define an exact month and date for sending an image (greeting card)?

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: Delivary time and date
« Reply #1 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. ;)

Offline klechoo

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Time and date of the delivered image
« Reply #2 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.

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: Time and date of the delivered image
« Reply #3 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)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Time and date of the delivered image
« Reply #4 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.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: Time and date of the delivered image
« Reply #5 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  :|).

Offline klechoo

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Time and date of the delivered image
« Reply #6 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.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Time and date of the delivered image
« Reply #7 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.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: Time and date of the delivered image
« Reply #8 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. ;)