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

Home » FUDforum » How To » private messages
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: private messages [message #29326 is a reply to message #29312] Tue, 13 December 2005 00:07 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
Well, it is a relatively easy query to fetch a messages sent by user A to user B within a certain date range.

Basically something a long the lines of:

SELECT * FROM fud_pmsg WHERE ouser_id=SENDER_ID AND duser_id=RECEPIENT_ID AND post_stamp BETWEEN START_DATE END END_DATE;

Then you can use the foff and length param to fetch the message body.


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Reducing the overall width of the forum.
Next Topic: Threaded View
Goto Forum:
  

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

Current Time: Fri Sep 20 15:43:38 GMT 2024

Total time taken to generate the page: 0.05248 seconds