PDA

View Full Version : last time seen online for each user - in postbit template


TECK
04-09-2002, 08:57 AM
i wonder if it will load with queries the server?

DjSap
04-09-2002, 09:20 AM
well $post[lastactivity] works but you only get the timeline, you have to convert it to vbdate in the showthread.php

DjSap
04-09-2002, 09:28 AM
well checked how it worked and found that functions.php should be changed

find this line:
$post[posttime]=vbdate($timeformat,$post[dateline]);

below it add:
$post[lastactivedate]=vbdate($dateformat,$post[lastactivity]);
$post[lastactivetime]=vbdate($timeformat,$post[lastactivity]);

in postbit just add this where you want it to be displayed:
$post[lastactivedate] $post[lastactivetime]

TECK
04-09-2002, 09:40 AM
thanks alot Dj. i will try it later.

DjSap
04-09-2002, 09:43 AM
well i thought maybe some other people wanted this so i released it:

https://vborg.vbsupport.ru/showthread.php?s=&threadid=37201