![]() |
Last time user visited forum
This will place the user's last visit time & date in the user's member profile. Only visible to mods, super mods & admins.
Install time: 2 minutes Attachment in following post. Enjoy CDitty |
Screen shot
|
works good on 2.2.2 thanks
|
works good on 2.21
|
I want any user, even a guest, to view when the last time they were on the forums. I kind of know how but any further asstiance would be greatly appreaciated!
|
No problem. Just remove the if line and the } a few lines down.
Chris |
is it possible to get the period online for each user using your hack?
|
Not that I can see. This hack just uses an existing column in the user table that is updated when a new page is loaded by the user.
Chris |
i was thinking something like
Period online = last site visit - login time |
There are a few problems that I see with this. The first is what about users that do not log out. I for one, never log out. The period online could be in the hundreds of hours. Second, I don't think there is a record for the login. I may be wrong, but I don't really know.
Chris |
All times are GMT. The time now is 07:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|