FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Plain mailbox import with date/time information
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Odp:Re: Plain mailbox import with date/time information [message #8667 is a reply to message #8666] Fri, 14 February 2003 16:15 Go to previous messageGo to previous message
moozg   Poland
Messages: 4
Registered: February 2003
Karma:
Junior Member
moozg napisał(a) dnia pią, 14 luty 2003 10:15

Yeah, sure, that's pretty obvious, but I am new to FUD and don't know where maillist.php inserts the date to DB. I looked for 'date', 'now' etc. in its code and did found nothing, so I expected it in other file (one of many included).

Can you give me more precise directions where may I find part responsible for message date/time settings?



OK, I already found this, that after line 595:
$msg_post = new fud_msg_edit;

i added:

if( isset($emsg->headers['date']) )
$msg_post->post_stamp = strtotime($emsg->headers['date']);

and it worked. The second problem is user's autoregistration time...
[Message index]
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: include fudforum inside a template
Next Topic: confirmation email not sent
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 07:03:22 GMT 2024

Total time taken to generate the page: 0.04620 seconds