How do I have a php script type counter, which displays the page only the number of connected users in the channel.
With a string like this:
http://www.mywebsite.com/counter.php?chan=mychan
Counter user's chan with php script
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Re: Counter user's chan with php script
The best way to do this would be to have a stats service put user counts and information in a database that can be accessed using PHP by simply pulling the information from the common database (most likely some form of SQL or flatfile database).
Re: Counter user's chan with php script
Indeed. First, install and run Denora stats. Second, if you have knowledge of PHP+SQL or know someone who does (or any other such language) then you can write your own script to fetch the user count of a channel and do all kinds of other things with it.
Also check out the MagIRC Web Frontend on that site, it's quite nice . You could also consider using just that (with Denora stats), and not code anything yourself.
Also check out the MagIRC Web Frontend on that site, it's quite nice . You could also consider using just that (with Denora stats), and not code anything yourself.
Re: Counter user's chan with php script
Thank you, we use Denora stats statistics server. But also ircstats.
Thank you for your comprehensive answer, but I know of no one who can create the script in php. You could tell someone, or some site?
Thank you for your comprehensive answer, but I know of no one who can create the script in php. You could tell someone, or some site?
Re: Counter user's chan with php script
Simply googling "php irc channel stats" (without the quotes) will answer that question for you.TuSaiChi wrote:Thank you, we use Denora stats statistics server. But also ircstats.
Thank you for your comprehensive answer, but I know of no one who can create the script in php. You could tell someone, or some site?
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ