Fork me on GitHub

Members Online Duration  Bottom

  • The following code is in the Multiblock file which shows the names of users online, if they have accessed the PNphpBB.

    Code

    $activetime = time() - (pnConfigGetVar('secinactivemins') * 60);


    At line 507. The thing is it shows members online when they have left. How do I make the measure more representative, i.e. cut the elapsed time before update?

    Many thanks.

This list is based on users active over the last 60 minutes.