PDA

View Full Version : Who's in Chat


Snort_2005
09-28-2005, 09:10 AM
This is an odd request.. I am on an IRC Server where it outputs an xhtml file to read from. :o

What I would like this to do, it basically plug into the Who's online, (add a new row right under active users) and show the users in chat. :D

This sounds like a strange request, but I just cannot code php for the life of me.

Anywho, I would like to give you some information.

The server we are on is running Unreal IRCD and has the following chan modes. (~&@%+) (Owner,Admin,Op,Halfop,Voice,Normal)

I would like it to say (X) users in (site name) chat. (in the xml, <count>#</count> is what you are looking for to replace (X) with.)

Then, below that, there would be a line that says: (x) Owners, (x) Admins, (x) Ops, (x) Halfops, (x) Voices, (x) Users [(Join Chat Link)]

Then after that, I want to output the list of users.. starting with the owners and working my way downward.

I would also like to be able to color the users based on their rank in chat. I don't know if that has to be in the php code or it can be in a template. All I want is just to be able to read from this xml and output what I want.

The XML is: http://irc.initialized.org/network/channels/~gqmr/xml

I know this may sound wierd, but bear with me. I gave you specifics.. lol

EDIT: Here's a site that has their users in chat similar to what I want. (Note: I don't need the active, idle part, as I cannot get that bot to send my channel's info to my web server. lol (Just what I have is irc server created. lol)) http://www.purezc.com <- scroll all the way to the bottom of the page to see what I mean. :D

???`S?LV?R???`
09-28-2005, 09:41 AM
This is an odd request.. I am on an IRC Server where it outputs an xhtml file to read from. :o

What I would like this to do, it basically plug into the Who's online, (add a new row right under active users) and show the users in chat. :D

This sounds like a strange request, but I just cannot code php for the life of me.

Anywho, I would like to give you some information.

The server we are on is running Unreal IRCD and has the following chan modes. (~&@%+) (Owner,Admin,Op,Halfop,Voice,Normal)

I would like it to say (X) users in (site name) chat. (in the xml, <count>#</count> is what you are looking for to replace (X) with.)

Then, below that, there would be a line that says: (x) Owners, (x) Admins, (x) Ops, (x) Halfops, (x) Voices, (x) Users [(Join Chat Link)]

Then after that, I want to output the list of users.. starting with the owners and working my way downward.

I would also like to be able to color the users based on their rank in chat. I don't know if that has to be in the php code or it can be in a template. All I want is just to be able to read from this xml and output what I want.

The XML is: http://irc.initialized.org/network/channels/~gqmr/xml

I know this may sound wierd, but bear with me. I gave you specifics.. lol

EDIT: Here's a site that has their users in chat similar to what I want. (Note: I don't need the active, idle part, as I cannot get that bot to send my channel's info to my web server. lol (Just what I have is irc server created. lol)) http://www.purezc.com <- scroll all the way to the bottom of the page to see what I mean. :D

Sounds good, I want this too, I'll try to look for a script, and then maybe we can put something together or if we can't figure it out, then maybe just give some information for someone that would like to help with this. I thought I a hack similar to this before on here though in a vb 3.0 version if I recall...

Andreas
09-28-2005, 10:19 AM
Basically
- Parse the XML using class XMLParser
- vb_number_format() count
- split list by space
- check first character and sort the nicks (without the first character) into arrays according to it
- output the counts of these arrays
- loop through the arrays and output the values, pre- and postfixed with your desired HTML markup

Done.

soniceffect
09-28-2005, 10:47 AM
Er .. yeah .. what he said *points upward

LOL

Snort_2005
09-28-2005, 07:28 PM
Basically
- Parse the XML using class XMLParser
- vb_number_format() count
- split list by space
- check first character and sort the nicks (without the first character) into arrays according to it
- output the counts of these arrays
- loop through the arrays and output the values, pre- and postfixed with your desired HTML markup

Done.

Can you lend a hand? XD

Snort_2005
09-30-2005, 10:23 AM
Can you lend a hand? XD

*bump*

devinnull
09-30-2005, 05:36 PM
I'd love something like the TeamSpeak server status mods I've seen where you can see who is online.

Any luck on this?

/cheers

Snort_2005
10-02-2005, 09:06 AM
Can you lend a hand? XD

*bump*

Snort_2005
10-05-2005, 03:12 PM
Can you lend a hand? XD

*bump*

Snort_2005
10-09-2005, 12:12 AM
Can you lend a hand? XD

*bump* from page 5

MogKnight
10-12-2005, 08:31 AM
I would also really like this hack :(

Snort_2005
10-14-2005, 11:10 AM
*bump*

Phlex
11-09-2005, 03:18 PM
*bump*

MortysTW
11-26-2005, 03:23 AM
bumpidity bump bump bump!