Loving the chat. It's really nice and simple!
Can I put in a couple requests? Feel free to say no to them... But I've got an idea for what I'd like out of a chatroom, and if you agree, I think what you've got would be a great basis for them!
1) Logging in... I notice that if you're not logged in, you can't use the chat, but you can still see the chat box. Ideally, none of it would be run/processed at all if you're not logged in. Though that's going to be a very easy change...
2) Rooms... One thing about chatrooms as opposed to shoutboxes is that they tend to have rooms. So you'd join a specific room (preferably controlled from an admin panel), and the chat would be specific to that room.
3) Who's Online, on a room by room basis. I think my main use of the chat would be a separate page/popup, rather than in-line, so there would be a very definite 'this person is in the chatroom', rather than anyone visiting the site being in the chatroom.
4) Things being sorted in ascending time... I took a look at the code, and that would be a very easy change... The problem comes with making it so that you're always
Let me know you're thoughts. If you're not interesting in implementing them, would you mind me using what you've done as a base to do it myself?
I'm massively busy at the moment with uni stuff, but once that's done, I can give you a hand, if it's wanted.