![]() |
The Date + Time User Was Last Active In Profile!
This hack has been updated!
https://vborg.vbsupport.ru/attachmen...&postid=353901 Download that attachment for newest instructions, credit to Slynderdale! For 2.2.x Idea for hack by: bharvey42 (# days ago part my idea ;)) Description: This hack will add a row to the getinfo page (a member's profile page), which shows when they were last on the forums. It will show it to the exact year, month, day, hour, minute. It also displays how many days ago this was. (If it was less, it will display 0 days ago.) |
|
i notice you used my profile for the screen.:P
Nice hack N9ne this should be a very nice addon to any board. good job. |
Quote:
|
Well, then we definitely have a problem. Initially halfway through reading your post I thought, ah that's not a problem, ifinvisible, don't show, but then that's not an option either...what do you suggest?
|
Quote:
Nice hack though. |
Great Hack N9ne.
*Installs* |
Quote:
However, I will attempt to make an addon which does what you suggest :). You and many others may have a use for it. |
This is great, I installed it. Now how about "The Date + Time User Was Last Active In Posts!"? ;)
|
I'll create a hack to display this on showthread in the postbit too if you wish. Any other places you'd like it? I can't really think of anywhere else appropriate.
|
Not at the moment, I tossed this on thinking 'posts' rather than 'profile' originally, reading too fast ;)
|
Nice to see I got credit for the idea :classic:
Thanks |
Oops, I forgot, i'll edit my post now. I got so caught up in making the hack and releasing it that I forgot to give my usual credits.
|
Ok, I completly rewrote this hack, I fixed the problem if the user is invisible, I added a new fireld called lastvisible that records the last active time of the user when they were visible, but if admins view there profile they see the actual active time, also I have it so it displays the days, hours, minutes and seconds of the last activity.
This is a great hack though, If N9ne wants, I'll release my version (In this thread), all credit should go to N9ne though for first writing this hack. |
you added a lot of detail :). Do release!
|
Ok here it is
|
Heres an example of what you can add to your getinfo template, its what im using in the demo image i posted before
Code:
<tr> |
Quote:
WHat if it is in the postbit (server intensive wise) |
Sorry to burst anyone's bubble, but cditty released a "last site visit" hack quite a while ago that has the date and time of the users last visit in the profile. His just doesn't show the days and hours, etc., which I don't really need anyway. It also only shows up to Admins, SuperMods and Moderators. Has been working great for me for almost a year now. A lot less code, too. ;)
|
Quote:
|
The only difference is that this hack here has a few more details. Allowing only Mods and Admins to see if requires adding one or two lines of code. To each their own, I guess. ;)
|
My version of this hack also adds a lastvisible field that comes in handy not just with this hack, It keeps track when the user was last visible on the forum, I use it in a couple other hacks.
|
can we get this for postbit?
|
I'm currently too busy to do so, I might be able to do it on the weekend, unless Slynderdale can make it ;).
|
The text file could use a mention of what to put in the getinfo template.
Nice hack there! |
If you're referring to Slynderdale's text file, well, on the post below where he posted the text file, there's some instructions on what you can put in your getinfo template.
|
I was refering to yours as this thread is really about your hack. However, anyone can get the information by reading the thread. It's just people might be lazy, just download the file in the first post then wonder where they're going wrong when nothing shows.
|
Well there's been no file in the first post for a long time, if you look at the first post, it has changed, and it was changed a while ago ;).
|
Yeah, I actually downloaded it today so I noticed that. What I mean is the link to get the download is there and the file doesn't mention that you need to edit templates and in the enterprise of being 'idiotproof' and 'professional' I'd recommend that be rectified, though most of us, myself included, have been just fine.
|
N9ne or slynerdale, can you post the hack for the last seen in the postbit please... i want it to display just this ... Last Seen 4-20-03 12:00 PM, how would i put this in my post bit...
|
cditty's hack allows you to show the last visit information publicly if you so choose. :)
|
N9ne,
Is it me or in the very first post, the link where the hack is downloaded, there' s no mention on how to make it appear on the profile? |
I seem to prefer this hack, however neither one shows you how to add it to postbit, I would like to do that... Can anyone help me figure this out? ...and if it is done, will it require +1 query on each showthread?
Thanks... -Jason |
Btw, would just need the date and time display, not the countdown. ;)
|
yes i would also like this in my postbit, please show us how to do it someone...
|
Anyone? I'd really like to make this an alt text for site avatars in postbit...
-Jason |
Anyone have any clue on this? :D
I'd even gladly toss you a few bucks. -Jason |
I guess noone is interested eh. :\
|
i like this hack BUT
shouldnt it be $lastactivetime (in the getinfo template) which would then display the days hours mins secs, IF they are there, i mean, i have alot of active members so most say 0 days 0 hours 4 mins 35 secs or so on then it would just put what is needed |
All times are GMT. The time now is 04:44 PM. |
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:
|