I've been searching to find the places where a visit starts and visit ends. It seems to me that there should be one place for each. There is mod I want to right, But it is not clear to me which modules or better yet which hooks I would use.
Vbulltion keeps track of last activity and last visit in the user table. I want to be able to count the visits in addition as to when the last vist ended.
That's the point, the information is NOT kept. There is lastactivity and lastvisit, but not the count that I want. So I have to either modifiy the code to keep the counts in table or find the right hook to code a plugin to do it.
Yeah, that should be easy, you just have to find where it updates the lst visit and make it add to the cell.
Roger, I hope this doesn't across as rude, but that's how I intended to start the request. I already figured that out. But $userinfo('lastvisit') is updated in many places. From what I can tell, they are set in many places for a variety of "what if" reasons. There are only two logical places that count for my purposes, when the user logs out and when the timeout ocurrs. becuase those are the only two logical places the "visit" ends. I don't really understand where the timeout is detected. So Iwas hoping someone can lead me in the right direction because, I would rather use a hook. Beuase the code as I read it is a bit convoluted and I'm not sure I am looking in the correct Place.