HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Categories keep showing as unread when everything is read
So my users are still having issues that they will mark a category as read and there are no new posts in the category and all of a sudden it shows there are unread posts in this category with a * beside the category and also i am using the unread icon to denote this. I am having the same issue also with my account. Ill… -
Re: Categories keep showing as unread when everything is read
Sorry just to note i am using the plugin "CategoryUnreadPhoto" When looking at the code it seems to use this code to determine if the category is read or not public function categoriesController_render_before($sender) { foreach ($sender->data('CategoryTree', []) as $id => $category) { if (!$category['Read'] &&… -
Re: Categories keep showing as unread when everything is read
So I think this is what the issue is. I mark a category as read. This set the DateMarkedRead on the category to today's date and time. There might be 10 unread posts inside that category but because the DateMarkedRead is newer then them it no longer matters and the Category shows Read. Then someone posts something inside… -
Re: Categories keep showing as unread when everything is read
So I have this straight for everyone and sorry for the many posts!! If a user posts to an existing discussion or posts a new discussion the system will update the field LastDateInserted on the Category. When a user loads the Category view the system looks to see if DateMarkedRead >= LastDateInserted to see if there is any… -
Re: Categories keep showing as unread when everything is read
Interesting, thanks for the wrap up. No discussion under a category should show unread posts if a category is marked as read that's the point of marking it as read IN my opinion. Then I don't believe there would be a need to Fuzzy check to see of there are unread posts under the category by visiting a post you update the… -
Re: Categories keep showing as unread when everything is read
This is probably the code you are looking for: Essentially when a discussion is marked as read, the last 2 pages of the containing category are checked. If they are read, the category is then marked as read. There has been a PR to disable this feature by default, meaning you would actually have to mark a category as read… -
Re: Categories keep showing as unread when everything is read
Just to add to that if I mark a category as read and lets say there are 10 unread posts in there and then I go open the category It will still show unread posts under it and in discussion view those posts still show up as unread so this is a very confusing system here. If I mark a category as read I would assume it should… -
Re: Categories keep showing as unread when everything is read
Okay so maybe I am not understanding this properly... It seems that it uses the datemarkedread and comparing it to the LastDateInserted for the category. So based on this logic I have to manually mark each category as read.? By reading any new threads it will never trigger this, what real use is this feature if you always… -
Re: Categories keep showing as unread when everything is read
9 results