Page 1 of 1

Quick Links question

Posted: Sun Apr 28, 2019 9:34 am
by John connor
Why is it that under the Quick links link you can only search for active posts while not signed in, but once signed in you can search for new posts? Why wouldn't you want a guest to search for new posts? And can that be changed, or are there consequences I'm not aware of?

Re: Quick Links question

Posted: Sun Apr 28, 2019 9:44 am
by HiFiKabin
I am guessing the problem is how to define "new"

If you are logged in, then its new relative to the last time you visited but if you are a guest wheres the starting point? Especially as you might be viewing the board from several different devices (so dropping a cookie would be of no help)

Re: Quick Links question

Posted: Sun Apr 28, 2019 11:41 am
by thecoalman
I believe New is based on the session length. If you have it set for 3600 seconds that's an hour, if they don't visit for one hour it's reset and only new topics/posts from their last visit are displayed

Re: Quick Links question

Posted: Sun Apr 28, 2019 5:38 pm
by canonknipser
Over the years I found "new posts" quite useless, I tell my users to use "unread" instead. But that is just a personal thing.

New posts depends on the columns user_lastvisit from the user table, which would be changing very often in case of the anonymous user, so (as far as I read the code) that column isn't changed for guests at all.

Tell you guests to use "Active topics" instead.

Re: Quick Links question

Posted: Sun Apr 28, 2019 8:11 pm
by John connor
This is just for me when I visit this site and other sites using phpBB. I always use the new posts link and it seems like it works for the most part. But I see your point.


That does make since now about how to define when you were logged in, etc. Especially with the absence of a cookie. I never thought of it like that before. Perhaps one metric could be the IP address. Granted one could come from different IPs and having it use the IP would yield a massive database table I'm sure.

Re: Quick Links question

Posted: Mon Apr 29, 2019 3:25 pm
by Brf
Yes. "New" refers to posts made since your last session logon. Since Guests do not Logon, "New" is not defined for them.
I was thinking you could turn on Topic Marking for guests in Load Settings, but it only enables "Unread Posts", not "New Posts".