vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   The Date + Time User Was Last Active In Profile! (https://vborg.vbsupport.ru/showthread.php?t=48848)

Gryphon 02-13-2003 03:13 PM

Not at the moment, I tossed this on thinking 'posts' rather than 'profile' originally, reading too fast ;)

bharvey42 02-13-2003 04:58 PM

Nice to see I got credit for the idea :classic:

Thanks

N9ne 02-13-2003 05:42 PM

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.

Slynderdale 02-13-2003 09:05 PM

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.

N9ne 02-13-2003 09:10 PM

you added a lot of detail :). Do release!

Slynderdale 02-13-2003 09:30 PM

Ok here it is

Slynderdale 02-13-2003 09:42 PM

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>
        <td bgcolor="#13486D"><normalfont><b>Last Activity:</b></normalfont></td>
        <td bgcolor="#13486D"><normalfont>$last[activity]<br>Last Visited: $last[days] days, $last[hours] hours, $last[minutes] minutes, $last[seconds] seconds ago</normalfont></td>
</tr>


SgtSling 03-05-2003 09:20 AM

Quote:

Originally posted by N9ne
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.
please do.. and is this server intensive?
WHat if it is in the postbit (server intensive wise)

Boofo 03-05-2003 09:44 AM

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. ;)

N9ne 03-05-2003 03:11 PM

Quote:

Originally posted by Boofo
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. ;)
Then it is different, as it only allows authoritcal figures to see it, and it doesn't show the extra details.


All times are GMT. The time now is 06:18 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
  • Page Generation 0.01131 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete