zikula-modules / DizkusModule

Official repository for Dizkus, a fully integrated forum solution for Zikula 1.4+
21 stars 7 forks source link

New posts since.. indicator does not work properly (marks even old posts) #250

Open cmfcmf opened 10 years ago

cmfcmf commented 10 years ago

http://zikula.org/index.php?module=Forum&type=user&func=viewforum&forum=56&start=1096

bildschirmfoto vom 2014-08-04 12 46 20

craigh commented 10 years ago

this issue is a hot mess in general. The current method (time based) is problematic at best. other solutions would be better but can be resource hogs.

refs #8 #9 #11

Kaik commented 7 years ago

This I think tracks back to the beginnings of Dizkus. What we can do is to compromise a bit on resources usage and functionality. Fully featured solution would track each topic for each user but maybe we can store only one date per (forum per user) and then get a range of unreaded topics by dates per forum.

This would have some issues as well because reading first new topic from the top on the list marked as unread would do nothing but reading last one marked as unread would change the read date to next unread topic in this forum. I know it might be complicated but it is doable we introduce new user var which stores this date per user per forum.

Kaik commented 7 years ago

Ok, so I'm thinking about reimplementing this. Regarding resource use #8 we could reduce the number of users instead of postings just do topics (last post date) we could get reasonable numbers. By reducing the number of users I mean implement strategies for all users (small website or resources are not an issue) or only for users involved in the topic. Apart from that we could have different user numbers we can have different ways of storing that information, of course, it will be another table lets stay _dizkus_seen with fields like user, a topic as the base but instead of having huge table with all user-topic statuses and search for status we could store records for all users for the particular topic and when user sees it record is deleted or something like that.

Anyway after playing with intercom and seen status etc.. I can't imagine Dikzus will not have this feature back at least you should be able to turn it off. Btw current solution is not usable it does not show things right and will never be able to do it.