Hello! Log in or Register   |  Help  |  Donate  |  Buy Shirts See all banner ads | Advertise on TheSamba.com  
TheSamba.com
 
How is "last visited" calculated?
Forum Index -> Site Share: Facebook Twitter
Reply to topic
Print View
Quick sort: Show newest posts on top | Show oldest posts on top View previous topic :: View next topic  
Author Message
///Mink
Samba Member


Joined: May 03, 2000
Posts: 5051
Location: Fair Oaks, CA
///Mink is offline 

PostPosted: Thu Feb 07, 2008 8:55 am    Post subject: How is "last visited" calculated? Reply with quote

I'm curious how a member's "last visited" date is calculated. I've wondered this for a while, actually. I'll sometimes see someone online, then look at their profile later that day and it will show their last online date of several days ago.

For example, this user:

http://www.thesamba.com/vw/forum/profile.php?mode=viewprofile&u=94201

Shows a "last visited" date of Feb 4, but he made several posts yesterday (Feb 6).

Just curious.
Back to top
View user's profile Send private message Send e-mail Gallery Classifieds Feedback
Glenn Premium Member
Mr. 010


Joined: December 25, 2001
Posts: 76884
Location: Sneaking up behind you
Glenn is offline 

PostPosted: Thu Feb 07, 2008 8:58 am    Post subject: Reply with quote

Must be a glitch in the Matrix.
_________________
Glenn
74 Beetle Specs | 74 Beetle Restoration | 2180cc Engine
"You may not get what you pay for, but you always pay for what you get"

Member #1009

#BlueSquare
Back to top
View user's profile Send private message Send e-mail Visit poster's website Gallery Classifieds Feedback
EverettB Premium Member
Administrator


Joined: April 11, 2000
Posts: 69798
Location: Phoenix Metro
EverettB is offline 

PostPosted: Thu Feb 07, 2008 9:13 am    Post subject: Reply with quote

There is some logic built into it so it doesn't update the date every time you go to a new screen. Unfortunately several people, you included, have noticed that it doesn't always seem correct.
_________________
How to Post Photos
Everett Barnes - [email protected] | My wanted ads
"Water is the only drink for a wise man" | "Communication prevents complaints"
Stop dead photo links! Post your photos to The Samba Gallery!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Facebook Instagram Gallery Classifieds Feedback
///Mink
Samba Member


Joined: May 03, 2000
Posts: 5051
Location: Fair Oaks, CA
///Mink is offline 

PostPosted: Thu Feb 07, 2008 10:01 am    Post subject: Reply with quote

EverettB wrote:
There is some logic built into it so it doesn't update the date every time you go to a new screen. Unfortunately several people, you included, have noticed that it doesn't always seem correct.


So how is the online/offline indicator updated? Couldn't the "last visited" date be updated at the same time as the indicator?

Or am I oversimplifying?
Back to top
View user's profile Send private message Send e-mail Gallery Classifieds Feedback
EverettB Premium Member
Administrator


Joined: April 11, 2000
Posts: 69798
Location: Phoenix Metro
EverettB is offline 

PostPosted: Thu Feb 07, 2008 1:35 pm    Post subject: Reply with quote

Ok, I looked at the code. The last visit time is the time you last visited the site. So if you visit once per day, it would be yesterday. The reason it does this is so the site can show you what is new since the last time you visited. You would not want to mess with that variable or it would screw up what the site thinks is new to you.

There is another date/time entry that is more current as it gets updated every time you go to a new page. This is the variable used for the online/offline display as well as telling the system what section of the site you are in and some other things.

I changed the profile and memberlist pages to display that date/time instead.
_________________
How to Post Photos
Everett Barnes - [email protected] | My wanted ads
"Water is the only drink for a wise man" | "Communication prevents complaints"
Stop dead photo links! Post your photos to The Samba Gallery!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Facebook Instagram Gallery Classifieds Feedback
///Mink
Samba Member


Joined: May 03, 2000
Posts: 5051
Location: Fair Oaks, CA
///Mink is offline 

PostPosted: Thu Feb 07, 2008 2:29 pm    Post subject: Reply with quote

Nice. Thanks, Everett. It's fun to be the one reporting the bugs instead of the one researching them for a change. Very Happy
Back to top
View user's profile Send private message Send e-mail Gallery Classifieds Feedback
Plantman
Samba Member


Joined: July 12, 2004
Posts: 688
Location: Brevard,NC
Plantman is offline 

PostPosted: Thu Feb 07, 2008 6:48 pm    Post subject: Reply with quote

Along the same line of question as Mink. I have often, but not always, had the new post indicators show all unread posts as read, after following a link in one of the threads. Is there anyway I can prevent this from happening?
Thanks,
David
_________________
Every day may not be good, but there is something good in every day,
No matter where you go, there you are.
'69 bug & '71 Ghia
Back to top
View user's profile Send private message Gallery Classifieds Feedback
EverettB Premium Member
Administrator


Joined: April 11, 2000
Posts: 69798
Location: Phoenix Metro
EverettB is offline 

PostPosted: Thu Feb 07, 2008 6:58 pm    Post subject: Reply with quote

That is strange and I am not sure as the individual threads are stored via cookies. So there may have been a cookie malfunction in your browser for some reason.
_________________
How to Post Photos
Everett Barnes - [email protected] | My wanted ads
"Water is the only drink for a wise man" | "Communication prevents complaints"
Stop dead photo links! Post your photos to The Samba Gallery!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Facebook Instagram Gallery Classifieds Feedback
Plantman
Samba Member


Joined: July 12, 2004
Posts: 688
Location: Brevard,NC
Plantman is offline 

PostPosted: Thu Feb 07, 2008 7:25 pm    Post subject: Reply with quote

Thanks Everett, It just did it again. I minimised the Samba while I checked email and all posts in all forums were marked as read. It is probably time to have the hard drive serviced/cleaned up. Wish I were capable of doing that myself.
David
_________________
Every day may not be good, but there is something good in every day,
No matter where you go, there you are.
'69 bug & '71 Ghia
Back to top
View user's profile Send private message Gallery Classifieds Feedback
EverettB Premium Member
Administrator


Joined: April 11, 2000
Posts: 69798
Location: Phoenix Metro
EverettB is offline 

PostPosted: Thu Feb 07, 2008 9:39 pm    Post subject: Reply with quote

I'd try clearing your cookies and cache in your browser first.
_________________
How to Post Photos
Everett Barnes - [email protected] | My wanted ads
"Water is the only drink for a wise man" | "Communication prevents complaints"
Stop dead photo links! Post your photos to The Samba Gallery!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Facebook Instagram Gallery Classifieds Feedback
Plantman
Samba Member


Joined: July 12, 2004
Posts: 688
Location: Brevard,NC
Plantman is offline 

PostPosted: Fri Feb 08, 2008 6:31 am    Post subject: Reply with quote

Thanks, I'll do that.
David
_________________
Every day may not be good, but there is something good in every day,
No matter where you go, there you are.
'69 bug & '71 Ghia
Back to top
View user's profile Send private message Gallery Classifieds Feedback
Display posts from previous:   
Reply to topic    Forum Index -> Site All times are Mountain Standard Time/Pacific Daylight Savings Time
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

About | Help! | Advertise | Donate | Premium Membership | Privacy/Terms of Use | Contact Us | Site Map
Copyright © 1996-2023, Everett Barnes. All Rights Reserved.
Not affiliated with or sponsored by Volkswagen of America | Forum powered by phpBB
Links to eBay or other vendor sites may be affiliate links where the site receives compensation.