PDA

View Full Version : Cookies... Hmmm


conan
03-04-2001, 07:14 PM
Ok I was thinking about the cookies and I had an idea that in my humble opinion would look great.

See how when you read a thread the folder resets to read when you go back to the forum?

What I had in mind was so whenever you visit all new threads in a forum, the whole forum would be marked as read.

I imagine that is not too hard to do, and I think other people might be interested in that!

03-05-2001, 09:26 PM
Anyone agree with me? :(

03-06-2001, 07:03 AM
You'd need a cookie per forum, but with the existing cookie routines it might not be to hard to do.

Anyway, it would probably be a nice feature for some (wouldn't use it personally, since I go back and forth between forums quite often)

03-06-2001, 05:33 PM
I don't know if you understood what I meant.
I'm saying that a forum will be marked as read only if all posts on that forum were read, right now even if you read all posts on a forum the forum is still on!

I think it would be nice to have it this way

03-07-2001, 07:36 AM
if you only want the forum to be marked as read of *all* messages have been read would be almost impossible, and at the very least add alot of stress. After all, you'd have to track every user.

03-07-2001, 08:11 AM
Could be done though...

Now it's set in your cookie when you read a message. You could make some while loop that checks every new msg in that forum against the cookie -> if all new messages are listed in the cookie of the user -> forum marked as read...

I don't know if you'll need an extra query for this though, but I guess you will...(for asking all new message-id's per forum)