number of connected on a website

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Post Reply
Webmaster78
Posts: 35
Joined: Sun Mar 15, 2020 2:06 am

number of connected on a website

Post by Webmaster78 »

-
-
hi,
How to be able to indicate the number of connected on the chat on a website ?

Thank you !
-
-
PeGaSuS
Official supporter
Posts: 96
Joined: Tue Jun 27, 2017 4:42 pm
Contact:

Re: number of connected on a website

Post by PeGaSuS »

Actually you can't, unless you make a custom module that counts the number of webirc/websockets connection.
IRC Network: PTirc - GitHub: TehPeGaSuS - Help and support: #unreal-support
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: number of connected on a website

Post by Syzop »

k4be has a 3rd party module called third/wwwstats which you can see on https://modules.unrealircd.org/
His docs are here. You would still have to write some PHP code to connect to the socket, though, and it assumes you are running IRC and the website on the same machine etc.
He also has wwwstats-mysql, an unreleased module. Again, here too you will need to do write the PHP-side, but at least the IRC and website can run at two different machines.
Webmaster78
Posts: 35
Joined: Sun Mar 15, 2020 2:06 am

Re: number of connected on a website

Post by Webmaster78 »

-
-
Thank you so much.
-
-
CrazyCat
Posts: 215
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: number of connected on a website

Post by CrazyCat »

If you use services as anope, you can activate mysql db and query it.
Most of services now include mysql/mariadb support and let you have some stats
Post Reply