vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Add Last Activity/Seen to User Post Info (https://vborg.vbsupport.ru/showthread.php?t=44899)

NoAhBoDy 10-22-2002 10:00 PM

Add Last Activity/Seen to User Post Info
 
This is my first attempt at a (lame) simple hack. If anybody thinks I am going about this in the wrong way, please advise...I'm open to good and bad criticism :)

I wanted to be able to display the "last activity" of a user beside his post info in the main thread display page so people would know when they were "last seen". I chose to use "lastactivity" rather than "lastpost" as it is known to more accurately reflect the information I was seeking.

Instructions are included in the attached txt file.

I would appreciate feedback if someone could guide me in making this so only Admin/mods see the info.

NoAhBoDy 10-23-2002 01:53 PM

Message Thread screenshot

NoAhBoDy 10-23-2002 01:53 PM

Private Message screenshot

N9ne 10-23-2002 03:03 PM

Possible to make it so it only appears in their profile?

N!ck 10-23-2002 09:32 PM

Quote:

Originally posted by Tha Rock
Possible to make it so it only appears in their profile?
https://vborg.vbsupport.ru/showthrea...ine+in+profile

Tim Wheatley 10-24-2002 12:27 PM

This is great for me because I have a different postbit for every usergroup. :) I can easily make it available to who I want - perfect! Thanks for the hack. :)

Tim Wheatley 10-24-2002 12:50 PM

Found a problem (not a bug):
If an unregistered user posts, it shows;
31-12-1969 18:00..

NoAhBoDy 10-28-2002 04:23 AM

Quote:

Originally posted by Tim Wheatley
Found a problem (not a bug):
If an unregistered user posts, it shows;
31-12-1969 18:00..

This is something I would have overlooked as my forum does not allow guest access.

Michael2 11-10-2002 05:56 AM

I think there's already a hack like this...

https://vborg.vbsupport.ru/showthrea...threadid=37201

NoAhBoDy 11-13-2002 03:24 AM

Quote:

Originally posted by Michael2
I think there's already a hack like this...

https://vborg.vbsupport.ru/showthrea...threadid=37201

It appears that you are correct. I did try searching for this and came up empty handed so had to do it myself.


All times are GMT. The time now is 01:44 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.01036 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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