Topic: A proper working new messages system
I noticed that the new message option shows posts since last visit, I would like a option that replaces that function with a real new messages system that only shows the ! in front of messages that the user hasn't read yet so when the user has read it the sign will dissapear.
is this possible? or isn't it? would it be alot of work and how it work?
I have little php skills but i understand scripts a little and i now how they work.
I thought of a system:
1: add a field to the users table called "unreadmessages" (or something like that)
2: Everetime a message is post on the board write "the message "id" or something like that" to all the users their "unreadmessages" field.
3: replace the original unread messages coding with something that checks if the post id is in the "unreadmessages" field if so add the "! image" in front of the forum and in front of the messages that are new.
If the post is read some kind of code should remove the message id from the "unreadmessages" field.
Please feel free to ask me if anything if something isn't clear to you.