Anope IRC Services
Anope Development => Feature Requests => Topic started by: moffgat on August 18, 2006, 08:19:48 AM
-
Hi folks,
I am looking for a way to show the visitors of my website, how many users are online in the IRC-Chat of our Website. The chat is run with UnrealIRCD 3.2.5 and Anope 1.6.4. Is there any way to display the amount of users in a certain channel on a website with Anope oder UnrealIRCD? Does one of you know a solution? Thank you in advance
Yours
Frank
-
Do you mean something like this:
DALnet has 33,134 users in 15,169 channels.
The Top 5 channels:
DALnet:
#jakarta (696)
#bandung (691)
#medan (417)
#surabaya (387)
#kampung (315)
that type of statistics and banner displayed stats are freely provided by http://searchirc.com/
SearchIRC can give you the java scripts for your network freely for your website. All you have to do is registered your network on their site and wait for activation :p
and also for reference, services like StatServ (eg: Denora / NeoStats etc.) can collect Networks/Channel(s) statistics too and displayed them on a webpage :9
[Edited on 18-8-2006 by n00bie]
-
Tnx noobie,
the Services you mention are not exaktly what I am looking for. All are just presenting regular statistics not the just in time status of a certain channel. I want a script that determines the amount of users in a certain channel, the moment it is started to display this Info on the Website. As far as i understood the mentioned services don't provide this.
Frank
-
umm.... some bots like eggdrop can maintained and displayed a channel statistics too... i can't remember the name of the eggdrop tcl's that can create a live channel stats... better to google around ;)
-
I dont see why something like denora (spelling? you all know what i mean) wouldnt be able to do this? it would be able to tell you the channel count of any channel whenever you asked for it.
-
I can vouch for Denora being able to do what is being requested here as you can clearly see from my site http://www.invictachat.co.uk All you need to do is set up Denora to connect to MySQL to store it's data which is easy and then use a simple PHP script to retrieve the data from the MySQL database.
And from the data saved by Denora you can get results such as: http://www.invictachat.co.uk/index.php?action=channels
My site is proof that Denora stats can produce the number of users on a channel and the overall number of users on the network at least. As well as being able to prduce a fair few other statistics.
My site doesnt even use half of the information made available by Denora.
For the record all the statistics on my site are live.
[Edited on 18-8-2006 by Jobe1986]
-
Ok seems like Denora is really able to deliver these Stats. I just have one simple question, how is Denora triggered to update the Stats? Is denora automatically doing this when anything in a channel changes, or is it done on a regular time-base, or do you have to trigger it manually?
Thanx
Frank
-
Denora is real time stats.. soon as the event happens sql is updated
-
As Trystan said Denora writes to the SQL databases as soon as something changes. On larger networks where this would be a problem Denora also has i believe an option to have it update the SQL data periodically instead of live.
-
I found this:
http://www.mirc-egg.net/?name=EZCMS&menu=14&page_id=62&menu=501
maybe useful too :7
-
Thank you all guys, I installed Denora and made some simple php script to query the database now I got what I needed. Thanks for all your support.
Yours
Frank