The Arcive of vBulletin Modifications Site. |
|
Last time user visited forum Details »»
|
|||||||||||||||||||||||||
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 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Screen shot
|
|
#3
|
||||
|
||||
|
works good on 2.2.2 thanks
|
|
#4
|
|||
|
|||
|
works good on 2.21
|
|
#5
|
||||
|
||||
|
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!
|
|
#6
|
||||
|
||||
|
No problem. Just remove the if line and the } a few lines down.
Chris |
|
#7
|
|||
|
|||
|
is it possible to get the period online for each user using your hack?
|
|
#8
|
||||
|
||||
|
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 |
|
#9
|
|||
|
|||
|
i was thinking something like
Period online = last site visit - login time |
|
#10
|
||||
|
||||
|
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 |
![]() |
|
|