WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: dazza on February 04, 2019, 09:54:14 AM

Title: Whos Online
Post by: dazza on February 04, 2019, 09:54:14 AM
hi i found this Whos Online and started to add to my site but i ran in some mysql problem as im running php 7.0 and i look on here for a update and i found one

Whos Online  v3
i replace the files and got a nother error

http://www.davisworthing.co.uk/whos-online/whos-online.php

this is the files ive found on here

i dont know if im missing somthink?

thanks
Title: Re: Whos Online
Post by: ConligWX on February 04, 2019, 10:42:45 AM
did you create a database and user account for the script?


also I had posted some updated files a while back here for php 7.

https://www.wxforum.net/index.php?topic=2883.msg356511#msg356511
Title: Re: Whos Online
Post by: dazza on February 04, 2019, 10:49:19 AM
hi thank you for getting back to me and yh i ceated them so that part ok

and yh that what ive downloaded and replaced

I think there was a fix for this somewhere out on the net. I know there was about 4-5 files released with fixes a few years back. lemme check....

*Whos-Online.zip make a backup of your files first and see if this fixes it.

The other issue is this script will need a re-write most as the geolite dat file has stopped and a new version will take its place.
Title: Re: Whos Online
Post by: ConligWX on February 04, 2019, 11:02:16 AM
geolite update will not work with the new format. so the the data will be outdated somewhat.

the only other way would be to get a similar app

Pwiki: - now matomo free version over here: https://matomo.org/how-do-i-install-on-premise/

Web Stat: https://www.php-web-statistik.de/

then make available some of the pages available for users I guess.

Unless someone takes of whos-online script it will probably die out soon enough since php is changing and whos online was not designed for newer versions.
Title: Re: Whos Online
Post by: dazza on February 04, 2019, 11:39:56 AM
hi ive been reading about matomo and it look more niceer then who-one line so i going for that one i think just a question i have google analytics do you think this is better? or haveing both at the same time ?
Title: Re: Whos Online
Post by: ConligWX on February 04, 2019, 11:57:46 AM
Matomo does have a cloud services too though I think the local install is just as good. Google analytics is ok but not sure if you can display its data to users on your website.

Sent from my ONEPLUS A6003 using Tapatalk

Title: Re: Whos Online
Post by: dazza on February 04, 2019, 12:31:39 PM
yh i wood like to display its data to users on your website but im still looking for how to do that? and have you got it one your site mate?
Title: Re: Whos Online
Post by: ConligWX on February 04, 2019, 06:43:56 PM
you setup a user to have view access (or annoymous) they dont see the configuration side of it.

I'm in the process of adding it. maybe sometime till is setup correctly.

there is also Widgets that you can add too.
Title: Re: Whos Online
Post by: dazza on February 04, 2019, 06:49:24 PM
yh you right there ive just got it up and runing and it very nice two and thank you for pointing  that out to me
Title: Re: Whos Online
Post by: ConligWX on February 04, 2019, 07:08:03 PM
You'll need to add botchecker too as default does not track bots. Goto market place and install from there.

Also extended crawler list is here you can import.

https://github.com/Thomas--F/BotTracker/files/2434452/crawler-user-agents-extend-list.txt

Title: Re: Whos Online
Post by: dazza on February 05, 2019, 06:33:55 AM
thank you for that i just added it how are you liking it so far? and have you got subdomain set up yet?
Title: Re: Whos Online
Post by: ConligWX on February 05, 2019, 09:31:29 AM
dont have any subdomains.  not sure tbh weather I like it or not yet. I may try a few more too.
Title: Re: Whos Online
Post by: dazza on February 05, 2019, 09:33:05 AM
o ok then well good luck with it all !! :grin: