Quote:
Originally Posted by mharmon
Actually this didn't work. It fixed the private message problem -- but it then made all the time counts in the threads say <1
|
Oops, I modified the hack, removed some code and somehow forgot to tell that. If you change that code in functions_showthread now the modifications done in showthread.php should now be undone. That is delete in showthread.php the two ocurrences of
Code:
$post['avgtimespent'] = explain_time(floor($post['timespent']/((TIMENOW-$post['joindate'])/86400)));
$post['timespent'] = explain_time($post['timespent']);
they are no longer needed since now it is done in the functions_showthread part, that also adds compatibility with the private messages and wherever else you use a postbit.