Is "view new posts" controlled by cookies?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
hybiepoo
Registered User
Posts: 29
Joined: Tue Jun 10, 2008 12:09 am
Location: Sydney, Australia

Is "view new posts" controlled by cookies?

Post by hybiepoo »

In the last couple of days, I have a few users on one of my websites saying that the list of topics in the "view new topics" search is getting longer and longer because it's still showing topics that are not actually new since their last visit.

I have changed nothing on the website in a fair while, so I really don't think it's an issue with the site itself.
I'm running version 3.0.14.

Can someone confirm for me how this search function works so I can either look in to a website issue, or explain that it's client side?
hybiepoo
Registered User
Posts: 29
Joined: Tue Jun 10, 2008 12:09 am
Location: Sydney, Australia

Re: Is "view new posts" controlled by cookies?

Post by hybiepoo »

Ok, so it might not be cookies after all.

Code: Select all

WHERE t.topic_last_post_time > ' . $user->data['user_lastvisit']
So the users table should be updated with the users last visit time and that is used for the search.
It does look like there might be an issue.

This is interesting:
PostPosted: Tue Aug 16, 2016 2:42 am
Last visited: Fri Aug 12, 2016 6:57 am

So it appears that the users "Last Visited" time is not being updated?
User avatar
AmigoJack
Registered User
Posts: 5799
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Is "view new posts" controlled by cookies?

Post by AmigoJack »

It belongs to the life span of a session (by default 60 minutes) - that means the session of those users isn't renewed between their visits. This can either be forced by reducing the session length (ACP > board settings), or by asking your users to actively log out on their own (and then log in again), as that should "solve" the behaviour.
  • The worst thing about censorship is ███████████
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
hybiepoo
Registered User
Posts: 29
Joined: Tue Jun 10, 2008 12:09 am
Location: Sydney, Australia

Re: Is "view new posts" controlled by cookies?

Post by hybiepoo »

Thanks Amigo.
I will get them to log out and back in and hope it's a permanent fix.
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51682
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Is "view new posts" controlled by cookies?

Post by stevemaury »

You can log them all out. ACP, main page, Purge sessions.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
Locked

Return to “[3.0.x] Support Forum”