PDA

View Full Version : Print total # visited last 24 hrs


BasilFawlty
03-22-2018, 07:32 PM
I'm running VB4.2.5 and would like to be able to print to a file the value for "Total members that have visited the forum in the last 24 hours: XXX"

Every time the Who's Online script runs (every time it refreshes per Admin CP) I'd like to simply print the "XXX" number to a flat file. Can anyone help. I'm pretty sure the code would need to be in online.php?

Thanks in advance.

Dave
03-22-2018, 08:15 PM
The online.php script doesn't fetch the number of users that were online the last 24 hours, only the forum homepage script does that. You want to move this functionality to online.php and then store it in a flat file?

BasilFawlty
03-23-2018, 02:35 AM
Not necessarily move the functionality, but learn where exactly the functionality is so I can write the number of members online in past 24 hours to a file.

final kaoss
03-23-2018, 03:03 AM
Look under /forum/admincp/stats.php?do=activity
User activity