well you make a table 'read_threads', then when a user reads a thread you store in the table the id of the thread and the id of the user.
then when the user browses, if there is not a record corresponding to both that user and that thread, you display an unread symbol/format