Quote:
Originally Posted by kh99
Do you want posts since the last time he logged in? Then I think you could query for threads where thread.lastpost > user.lastactivity . If you wanted to know if the user actually read the posts or not (even if he was logged in since it was posted) then it gets more complicated, and I don't know how to do that off the top of my head.
|
okay , me too i cannot build this Idea in my head
that's not i want .. i don't want to alert users to all new posts in forum , only new posts in user's threads when user he is a poster.
Focused with me , now i write this thread i will Receive a notification tell me (kh99 write a post in your thread .... read it)
and want too, you will Receive a notification tell you (omardealo quote your post on this thread .... read it)
Regardless of his last visit, I want to show the alarm until he delete it or to see it .
that's it .. !
I'm thinking to select all posts in user's threads , Except that by him and that read it ..
posts that by him , ok i know how i know it
but how i know user read this post or not ? can i use the table (postlog) or there is another way ...
Thank you !