Actually it was pretty easy:
In editpost.php line 255
change:
Code:
$getlastpost=$DB_site->query_first("SELECT postid FROM post WHERE threadid=$threadid ORDER BY dateline DESC");
into this:
Code:
$getlastpost=$DB_site->query_first("SELECT postid, dateline FROM post WHERE threadid=$threadid ORDER BY dateline DESC");
In editpost line 264:
change:
Code:
$DB_site->query("UPDATE thread SET replycount=replycount-1,lastposter='".addslashes($lastusername)."' WHERE threadid=$threadid");
to this:
Code:
$DB_site->query("UPDATE thread SET replycount=replycount-1,lastposter='".addslashes($lastusername)."', lastpost = $getlastpost[dateline] WHERE threadid=$threadid");
And that should update the time correctly. For some reason the last poster is updated, but they just forgot the time.
[Edited by mrogish on 09-18-2000 at 06:59 PM]