![]() |
Who's in Chat
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 |
Quote:
|
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. |
Er .. yeah .. what he said *points upward
LOL |
Quote:
|
Quote:
|
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 |
Quote:
|
Quote:
|
Quote:
|
All times are GMT. The time now is 05:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|