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!
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)
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
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.
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)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.