Author Topic: online users php script  (Read 1032 times)

0 Members and 1 Guest are viewing this topic.

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
online users php script
« on: September 01, 2017, 01:41:18 PM »
Hello all,
  I am using the Who's Online PHP Script by Mike Challis and wonder if it can provide the total number of users in a day in addition to the "concurrent" users that is now provides?

Jim

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: online users php script
« Reply #1 on: September 08, 2017, 08:36:01 AM »
bump.... :?

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: online users php script
« Reply #2 on: September 08, 2017, 08:45:21 AM »
Hi Jim,

I am using this:  <?php echo $whos_online_records; ?> in my footer, which lists the current visitors, max for the day, month, year and all-time.

Is this what you are looking for?

John

GR2AE, GR3, Cumulus

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: online users php script
« Reply #3 on: September 08, 2017, 08:59:47 AM »
John,
  I am using the same script. It shows "concurrent" users, not total visitors /day, etc.

I was looking to see if it kept track of total "unique' visitors in a day, not concurrent totals.

John

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: online users php script
« Reply #4 on: September 08, 2017, 09:18:44 AM »
You can get the number of unique visitors per day by using 'Flag Counter', which is a part of my footer. Here are my statistics.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: online users php script
« Reply #5 on: September 08, 2017, 09:40:39 AM »
Thanks Jerry.

I wanted to use the current script seeing that probably somewhere in there it already has the stats I want/need, I assume. But I may be wrong...again....lol

Jim

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: online users php script
« Reply #6 on: September 08, 2017, 10:16:06 AM »
When you move to PHP 7.x the whos-online scripts will require major revisions in order to function.  I gave up trying to get it working on my self-hosted Debian 'Stretch' server, made possible by my new high-bandwidth fiber-optic connection along with a dedicated Lenovo(IBM) Xeon server.  The vast majority of 'Flag-Counter' page views on this alternate and private site (search engines actively discouraged) are mine.

I believe Ken True also gave up on the whos-online scripts after his move to PHP 7.x, but I can't find the relevant post right now.  His 'SaratogaWx' site contains no 'whos-online' link that I can find.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline SoMDWx

  • Forecaster
  • *****
  • Posts: 1014
    • Southern Maryland Weather
Re: online users php script
« Reply #7 on: September 08, 2017, 12:54:54 PM »
Uh, not moving to 7....

 

anything