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)
-   -   Last time user visited forum (https://vborg.vbsupport.ru/showthread.php?t=36418)

cditty 03-21-2002 10:00 PM

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

cditty 03-22-2002 03:45 PM

Screen shot

Recluse 03-22-2002 03:57 PM

works good on 2.2.2 thanks

Lionel 03-22-2002 06:37 PM

works good on 2.21

Dade 03-22-2002 07:22 PM

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!

cditty 03-22-2002 07:26 PM

No problem. Just remove the if line and the } a few lines down.

Chris

Ruth 03-22-2002 11:04 PM

is it possible to get the period online for each user using your hack?

cditty 03-22-2002 11:09 PM

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

Ruth 03-22-2002 11:14 PM

i was thinking something like

Period online = last site visit - login time

cditty 03-23-2002 01:47 AM

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
  • Page Generation 0.01188 seconds
  • Memory Usage 1,721KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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