I have a feed showing the latest posts ordered by Time but i want to integrate some function that just displays a yellow star or something showing the newest posts since the user last visited.
Also if 2 posts have the exact same time how does php decide which one goes first?
Is this hard to implement? any tuts?
Any generic ways of setting users's 'new/latest posts'?
Re: Any generic ways of setting users's 'new/latest posts'?
i'm just guessing here… in the `users` table have a column like "time last visited", so every time a user signs out or whatever it gets updated. then when the user logs back in and checks out the newest posts, have it display every post that was entered from the time in the database and the "current" time
Re: Any generic ways of setting users's 'new/latest posts'?
Yeah I was thinking on that, the session closes when the window is closed so they have to log in each time anyway.JelvinJS7 wrote:i'm just guessing here… in the `users` table have a column like "time last visited", so every time a user signs out or whatever it gets updated. then when the user logs back in and checks out the newest posts, have it display every post that was entered from the time in the database and the "current" time
Thanks!