Quote:
08-30-02 at 01:12 AM Souly said this in Post #69
I have do the follow to calculate a correct "Time Online Per Day".
First you need the Timestamp (LINUX) before you start to install my changes! ! !
in timeonline.php find:
PHP Code:
$daysregs = floor((time() - $lead[2]) / 86400);
change it to: [installtimestamp=yourtimestampyou must change it manually]
PHP Code:
$daysregs = floor((time() - installtimestamp) / 86400);
I have Start the Tool now, an now is Linuxtime=1030666140 - also my Code is
PHP Code:
$daysregs = floor((time() - 1030666140) / 86400);
And don?t look on my bad english - first learn german :lick:
|
Thanks, this works well on my forum. The 'time online per day' was starting from when my forum first opened so the values were very low, but this sorted it out.
Thanks
Craig