mIRC Home    About    Download    Register    News    Help

Topic Options
#138547 - 02/01/06 07:09 PM irc sever status on a web page
paul99 Offline
Bowl of petunias

Registered: 02/01/06
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

Top
#138548 - 02/01/06 08:25 PM Re: irc sever status on a web page
Hitchhiker Offline
Fjord artisan

Registered: 13/11/03
Posts: 227
Loc: around
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

Top
#138549 - 02/01/06 09:08 PM Re: irc sever status on a web page
NeUtRoN_StaR Offline
Fjord artisan

Registered: 06/03/05
Posts: 212
/help sockets

Top
#138550 - 02/01/06 10:19 PM Re: irc sever status on a web page
MikeChat Offline
Hoopy frood

Registered: 12/12/02
Posts: 1245
Loc: California, doooood
you might see if you can change/adapt This
thread and code by FiberOPtics.

Top
#138551 - 03/01/06 02:10 AM Re: irc sever status on a web page
genius_at_work Offline
Hoopy frood

Registered: 08/10/05
Posts: 1741
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

Top
#138552 - 03/01/06 11:10 AM Re: irc sever status on a web page
paul99 Offline
Bowl of petunias

Registered: 02/01/06
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

Top