mIRC Home    About    Download    Register    News    Help

Print Thread
irc sever status on a web page #138547 02/01/06 07:09 PM
Joined: Jan 2006
Posts: 2
P
paul99 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
P
Joined: Jan 2006
Posts: 2
Hi all

Hope someone here will be able to help me ...

I'm trying to find a way of displaying the number of users currently connected to an irc channel on a webpage. The nicks of the users aren't really needed, just how many are on there (i.e. so that web page browsers can see that there are users in the irc channel).

Can anyone point me in the direction of a script that will do this?

I've spent a few hours searching for an appropriate script, but so far have nothing to show for it :-(

Thanks
Paul

Re: irc sever status on a web page #138548 02/01/06 08:25 PM
Joined: Nov 2003
Posts: 227
H
Hitchhiker Offline
Fjord artisan
Offline
Fjord artisan
H
Joined: Nov 2003
Posts: 227
Not sure that your question has that much to do with mIRC,
unless you've scripted a web server with mirc.

If you're using apache or other http server that supports PHP.

See this http://uk2.php.net/manual/en/function.ircg-pconnect.php

I've never used it before though, unsure how it works

Re: irc sever status on a web page #138549 02/01/06 09:08 PM
Joined: Mar 2005
Posts: 212
N
NeUtRoN_StaR Offline
Fjord artisan
Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
/help sockets

Re: irc sever status on a web page #138550 02/01/06 10:19 PM
Joined: Dec 2002
Posts: 1,245
M
MikeChat Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
you might see if you can change/adapt This
thread and code by FiberOPtics.

Re: irc sever status on a web page #138551 03/01/06 02:10 AM
Joined: Oct 2005
Posts: 1,741
G
genius_at_work Offline
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
I currently have a webpage that shows the current users for all servers on the networks, as well as a couple channels. I'm using MRTG to create graphs of each piece of data. Here is a screen cap:



My set up executes the /map command and stores the data to a file in the MRTG dir. Then MRTG uses an external PERL script to retrieve the data for the graph.

-genius_at_work

Re: irc sever status on a web page #138552 03/01/06 11:10 AM
Joined: Jan 2006
Posts: 2
P
paul99 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
P
Joined: Jan 2006
Posts: 2
Ok, Thanks for all the replies, I thought that there would be a fairly straightforward script I could have used for this as sadly the programming is way over my head. However I showed this thread to a freind and taking some of the advice on here managed to do it fo me smile.

Thanks for taking the time to reply, even though I now know that it was not really an IRC question.

Paul