Skip to:
Content

bbPress.org

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#86 closed defect (wontfix)

Allow posts to have an unread status

Reported by: Tom C <whistlerke@…> Owned by: matt
Milestone: Priority: high
Severity: major Version: 0.1
Component: Front-end Keywords: unread, topic, status
Cc:

Description

Before each forum/topic/post there should be an indicator for each user to show the forum/topic/post is edited or new for him/her.
When he visits the topic (or better: the post itself) the status should be changed to read and the indicator should be back normal.
I suggest a little black square for a read topic, a red for a new topic and a yellow one for an edited topic. (check Bamboo)

I would suggest to add a table with a row for each topic and each user. So, for each user there is a row with a field with the id of the first unread post per topic. When the user visits the topic the row should be deleted.

Change History (4)

#1 @anonymous
16 years ago

Perhaps instead of a whole new table (and all the other disk-space-takers associated with it), maybe you could just add a field to the user-meta table called 'unread_posts' or something - a text field or some sort where you store unread post-IDs as CSV?

e.g.

if user with ID 1 has not read posts with IDs 1 and 3, have a row with uID=1,unread_posts='1,3'

Just an idea!

#2 @mdawafffe
16 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

This can now be done with a plugin taking advantage of both topicmeta and usermeta (which serialize arrays and objects before storing them in the database).

#3 @Tom C <admin@…>
16 years ago

OK, I forgot there is a plugin system :-)

#4 @(none)
15 years ago

  • Milestone Version 0.1 deleted

Milestone Version 0.1 deleted

Note: See TracTickets for help on using tickets.