Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Forum ➜ Problems ➜ Always unread

Always unread

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #15 on Wed 07 Oct 2009 05:34 AM (UTC)
Message
*shrug* I thought Nick said it recorded the last post you read, not the last time you visited

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #16 on Wed 07 Oct 2009 06:04 PM (UTC)
Message
Oh, sorry, I misunderstood what you said. Yes, it works on the last post you read. FWIW, I wouldn't want it to be based on last visit, because that would mean I couldn't scan the post list without all of them being marked as read.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #17 on Thu 08 Oct 2009 12:12 AM (UTC)
Message
Fair point. Maybe instead of changing how it works, he can just add a "Mark All As Read" button?

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #18 on Thu 08 Oct 2009 06:08 AM (UTC)
Message
I suppose I could to that, which would just update the time of the last read post, effectively moving the "read/unread" line upwards.

As for the other ideas, I'm not sure how that would work. For one thing, how do you define a "session"? Especially if you are logged in at multiple PCs.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #19 on Thu 08 Oct 2009 05:42 PM (UTC)
Message
Nick Gammon said:
For one thing, how do you define a "session"?

I'm not sure which session you're referring to? My proposal was to tie it to the user forum-side. Whenever you visit the forum (or just the post list) your (forum-stored) list of unread posts is refreshed w.r.t. your previous visit of that page. It doesn't really depend on any given login session.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #20 on Thu 08 Oct 2009 08:15 PM (UTC)
Message
David Haley said:

It doesn't really depend on any given login session.


Well, it does. If you visit the forum, it has to know that David has read a post and not, say, Twisol. Now since the forum now allows for multiple sessions, would you want it to record across all sessions (ie. the reading is done by David, and is not specific to a PC?).

Now to quote from the Wikipedia page earlier:

Wikipedia said:

Session — when a user's session starts, this method relies on the user's "last visit time" to display all messages created since that date as unread. Everything that was posted before "last visit time" is considered "read" regardless of whether the user has actually seen it or not. Until the user's session expires, this method properly tracks read/unread messages, starting with messages that were selected as "unread" when the user's session started.


So we need to establish "when a user's session starts" - is this when you login a particular PC? What if you have multiple logins? If it is a particular PC (that is, the session starts at one PC), then reading some messages at work, they still stay unread at home.

Then it says "Everything that was posted before 'last visit time' is considered "read" regardless of whether the user has actually seen it or not." . That seems worse behaviour than we currently have. In other words, if you log out at work, and then log in at home, everything is considered read. I would say that is a step backwards to the present system.

I still don't see an easy way of implementing it.




- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #21 on Fri 09 Oct 2009 03:30 AM (UTC)
Message
Oh, sorry. I thought you meant several login sessions of one user, as opposed to individual users. I would imagine that reading should be done on a per-user basis, not a per-PC basis.

I don't think that what the wikipedia section you quoted is a good proposal, to be honest, because I agree that it would be taking a step backwards.

Just to be clear, I don't think multiple logins really factor into this any more than they do for the current last-read-post time keeping.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


73,024 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.