Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
The Date + Time User Was Last Active In Profile! Details »»
The Date + Time User Was Last Active In Profile!
Version: 1.00, by N9ne N9ne is offline
Developer Last Online: Jul 2019 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-11-2003 Last Update: Never Installs: 20
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-13-2003, 03:13 PM
Gryphon's Avatar
Gryphon Gryphon is offline
 
Join Date: Oct 2001
Location: Seattle, WA
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not at the moment, I tossed this on thinking 'posts' rather than 'profile' originally, reading too fast
Reply With Quote
  #13  
Old 02-13-2003, 04:58 PM
bharvey42 bharvey42 is offline
 
Join Date: Jan 2002
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks
Reply With Quote
  #14  
Old 02-13-2003, 05:42 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 02-13-2003, 09:05 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #16  
Old 02-13-2003, 09:10 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you added a lot of detail . Do release!
Reply With Quote
  #17  
Old 02-13-2003, 09:30 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok here it is
Reply With Quote
  #18  
Old 02-13-2003, 09:42 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #19  
Old 03-05-2003, 09:20 AM
SgtSling SgtSling is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #20  
Old 03-05-2003, 09:44 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 03-05-2003, 03:11 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04508 seconds
  • Memory Usage 2,295KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete