How is wpDiscuz flagging comments to the user which are "unread"? I would like to access the same information so that I can show a notification count to the user on an another page which leads to my custom post type, that will indicate the number of unread comments.
It's stored in the cookies. So for each post there is stored the comment date when last time the user saw it.
It's stored in the cookies. So for each post there is stored the comment date when last time the user saw it.
This comment date is stored only as a cookie? Or in the DB?
Great! What would be the name of the cookie? Is it something I can access using one of the cookie funcitons? I would like to tally the number of unread comments for a specific post type for the user, and display the number of unread.
The hook name is:
wpdiscuz_last_visit
It saves the data for each post(when that last time the certain users visited each post).