HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: How to show a Discussion has read or unread posts in it?
Look at the UserDiscussion table: the crucial information is the DateLastViewed column. If there are no lines in UserDiscussion for sessionUserID and discussionID, then everything is unread. If there are newer comments in the Comment table than the DateLastViewed date from the UserDiscussion, than there are unread… -
How to show a Discussion has read or unread posts in it?
So I am looking at my forum and I am using the plugin that shows unread category icon to show if that category has any unread Discussions or Comments.. Problem is how can you tell a Discussion has unread comments? Everything is bold there are no NEW tags on anything. Is there a way to have its so like this site it shows up… -
Re: How to show a Discussion has read or unread posts in it?
I just realized that that attachment I gave you was not a full table dump. that's actually only like the first 400 records.. Okay so now I understand how this works, I thought that a category would show unread because a calculation was done to see if there was any unread comments/discussions inside of it which is kind of… -
Re: How to show a Discussion has read or unread posts in it?
-
Re: How to show a Discussion has read or unread posts in it?
So just so i understand this correctly If i look at UserCategory there is my userID in there and the categories that I marked as read and a date stamp that i did that.. So if a new comment or new discussion gets added that is after that DateMarkedRead then the category must have unread messages in it. I am assuming that… -
Re: How to show a Discussion has read or unread posts in it?
So I answered my own question.. Looks like this is the code that runs when you click on the "Mark Read" link from the gear, So this does nothing to Discussions or Comments.. public function markRead($categoryID, $tKey) { if (Gdn::session()->validateTransientKey($tKey)) { $this->CategoryModel->saveUserTree($categoryID,…
6 results