darnoldy
7th December 2004, 07:12 PM
Folks-
How does vB decide if a post is new--what value(s) does it look at?
I ask because several testers on my site have commented that sometimes messages are not showing as new, while I notice that messages seem to be new even after I've read them a couple of times.
--don
Disjunto
7th December 2004, 07:28 PM
they are new if they were not there last time you logged in.
if you logout and then log back in it "should" remove all "new" posts, but ofcourse pressing mark all as read is easier.
just viewing the post/thread does not remove it's new status
darnoldy
8th December 2004, 01:08 AM
if you logout and then log back in it "should" remove all "new" posts
Okay, since I don't ever explicitly "log in", I assume its handled automatically by cookies.
If I visit a forum, go to another site, then return to the forum, all without quitting the browser, does this count as one log in? Do I have to quit the browser to get the status to update?
Zachery
8th December 2004, 08:16 AM
Everytiem you click a link, your last visit time is recorded, when you leave (don't renew your session), vBulletin knows you have logged out.
:) so when you come back and make a new session, vBulletin checks your last visit date (last page you clicked) agasint your new date, any posts with a datebetween lastvisit and now are marked new
Andrew B.
10th December 2004, 04:24 AM
Ah ha! I think you just explained something I've been wondering about. I'll have to check it out. Thanks!
darnoldy
10th December 2004, 07:43 AM
Everytiem you click a link, your last visit time is recorded, when you leave (don't renew your session), vBulletin knows you have logged out.
Zachery-
Something about this is not quite that straightforward (or I ain't gettin' it).
Yesterday I launched my browser at home, visited this site and my own site, read new messages, quit the browser and shut down the computer.
I then drove 20 minutes to work, turned on the computer there, launched the browser, and visited the same two sites. The same messages that I had read at home were still marked as new.
So, is "date of last vist" stored in a cookie on the client machine, or is it stored in the database on the server, and it takes a while to update?
--don
Zachery
12th December 2004, 08:03 AM
What is your cookie timeout set to,
No its the one that is stored in the database, your last visit is stored there
darnoldy
13th December 2004, 11:05 PM
Zachery-
I just came into the forum and had a bunch of messages marked as new, but I had already read them, logged off and came back. then I noticed that the welcome box said "You last visited: 11 Hours Ago at 01:47" even though I was reading a message that I had posted an ahour before (see attachment).
Any idea why this happens?
--don
Zachery
14th December 2004, 05:08 AM
I am guessing floris has set the session to be longer or somthing strange, I only know how the system should work.
Nick0r
17th December 2004, 11:25 PM
It may also work on whether you have read them or not.