@sharonyue said in Page views not counted corrected:
Thank you guys!!
@scottalanmiller Do you also change if (req.uid >= 0) { ?
I'm not sure why, but mine is already that. So it's been that way a long, long time. So yes.
When I access a topic that it's listed in recent page from it's category, for example, the number of unwatched recent topics is not updated; even if I refresh recent page.
Shouldn't this list be updated wherever the access is made?
For me has no sense having read a topic, and visualizing it in recent as non-read/with new replies.
Regards.
Please feel free to submit a bug.
https://github.com/NodeBB/NodeBB/issues
But it is probably CPU Saving & Optimization.
I don't really get what you mean. Can you explain a little more?
When you read a topic it should be marked as read in /recent. Doesn't matter if you read it from /recent or /category
@baris of course, i will try to put an example as follows: (you can't understand my explanation, because i completely wrote wrong the explanation, my fault):
The problem is produced when I access a topic from it's category, and it exists on /recent.
Example:
/recent:
- Topic A.
- Topic B.
If I access topic B browsing it's category, /unread doesn't get updated, and it still marked as unread, even if I refresh /unread.
I hope to have explained better this time. I wrote /recent in the previous reply but it was /unread.
PS:excuse me for my 'Tarzan' English haha.
Ok now I understand what you mean, although it seems to work on this forum.
If I enter a topic that is unread from the category page, the unread counter goes down by one and that topic is removed from /unread. Is this not working for you on this forum?
@baris
Working now on this forum. I was sure it wasn't working at the time I wrote this topic. Might be getting crazy.
Sorry and thank you.
PS: issue closed on github.