Results 1 to 8 of 8

Thread: Unread posts problems

  1. #1

    Unread posts problems

    I have been having problems with messages being marked as read when I haven't actually read them. This usually happens if I log on and then IE crashes, and then when I log on again, everything has been marked as read. Perhaps you could set it so that posts are not marked as read until you actually open them? It's annoying to have to manually look for new posts.
    [size=10px][ Join us in #pgd on irc.freenode.net ] [ Sign the Petition for a Software Patent Free Europe ][/size]

  2. #2

    Unread posts problems

    Try to remove all your cookies... I have this problem quite often and it's mostly a cookie problem.
    Do it by the book, but be the author!
    <br />
    <br />Visit the Lion Productions website at:
    <br />http://lionprod.f2o.org

  3. #3

    Unread posts problems

    Hmmm, that's a difficult one because it's your 'last visit' time that is used to work out if a post is new or not. I'm not sure how it works out that you have logged out, there's probably a timeout value somewhere, I'll investigate......

    Meanwhile, try to find out why IE is crashing (does it need a reason? ) and use the 'posts in the last 1 day' thing to see what's most recent.

    I'll see what can be done :batman:

  4. #4

    Unread posts problems

    Aye Batman ;-)

    In a perfect Delphi-world you could always make another "LastVisit" record, and call it LastVisitBackup. And make some sort of Button that Useless can click on which says "IE Crashed" or "I screwed up" or something which sets LastVisit := LastVisitBackup?

    As in when they log in. LastVisitBackup := LastVisit and LastVisit := to whatever it normally is set to? ;-)

    I'm feeling so competent right now (mind you, I've never really done any webprogramming) so I'm considering making Windows2500 :twisted:
    _____
    Eriken

  5. #5

    Unread posts problems

    Quote Originally Posted by Eriken
    I'm feeling so competent right now (mind you, I've never really done any webprogramming) so I'm considering making Windows2500 :twisted:
    Are you sure you would be able to finish it by then?
    [size=10px][ Join us in #pgd on irc.freenode.net ] [ Sign the Petition for a Software Patent Free Europe ][/size]

  6. #6

    Unread posts problems

    Quote Originally Posted by BlueCat
    Hmmm, that's a difficult one because it's your 'last visit' time that is used to work out if a post is new or not. I'm not sure how it works out that you have logged out, there's probably a timeout value somewhere, I'll investigate...
    The thing is, I may not have looked at every new post in my last visit, and then when I come back, they are not marked as new, so I might not notice them.

    Quote Originally Posted by BlueCat
    Meanwhile, try to find out why IE is crashing ...
    It only happens on a few of the computers at college, so there's nothing I can do about it really. Maybe I should persuade them to install Mozilla. :twisted:
    [size=10px][ Join us in #pgd on irc.freenode.net ] [ Sign the Petition for a Software Patent Free Europe ][/size]

  7. #7

    Unread posts problems

    Had a little look around and it seems that the easiest way to do it would be to store a record for every post for every user. At the moment that would be about 160(users) x 2400(posts) = 384000 records. That's just not practical. You can see why it's done per-session at the moment.

    My solution would be to set a time limit, 3 days for example, for checking unread posts. Then we could keep records for each user of which posts they've read in the last 3 days. After that though, we'd have to assume posts were read or at least call them 'old posts' or something. Then when a users reads a post, if it is not older than the time limit, a record is stored for that user and that post. In the same script we could delete any records that referred to 'old' posts for that user. I think that would work, the time limit could be set in a users profile with an overall maximum set by Admins. If the tables got too big, the maximum value could be reduced.

    Not the perfect solution, but the only way I can think of that doesn't involve a massive table

  8. #8
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    Unread posts problems

    What about doing it by Forum. When I come to DGDev I always look at certain forums first. If you stored a last read date/time per person for each forum it could help.
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •