how to build a simple Chat room
Moderator: General Moderators
first off, the jenChat DOESN'T refresh, that's one of it's features. And second off using a metarefresh every half second would be extremely useless on bandwidth (even though it's text, it's still alot), and on visual aid, it would blink so much nobody would be able to use it. The jenChat fixes both of those problems, but I couldn't get the sessions to last long enough.
ok, i was a little bored. so i thought i would play with http://jpspan.sf.net
i created a little chatbox
but i'm not a javascript hero, so that still needs some updating (keeping track of last recieved message_id to recude downloads)
you can test it at http://timvw.madoka.be/chatbox
and sources are here:
http://timvw.madoka.be/programming/php/chat_client.txt
http://timvw.madoka.be/programming/php/chat_server.txt
http://timvw.madoka.be/programming/php/chat_dump.sql
edit
(for some odd reason it doesn't seem to work in IE. Booooooo)
edit2
ah, now it works with IE6 too
i created a little chatbox
you can test it at http://timvw.madoka.be/chatbox
and sources are here:
http://timvw.madoka.be/programming/php/chat_client.txt
http://timvw.madoka.be/programming/php/chat_server.txt
http://timvw.madoka.be/programming/php/chat_dump.sql
edit
(for some odd reason it doesn't seem to work in IE. Booooooo)
edit2
ah, now it works with IE6 too
maybe a dumb question, but what is JPSpan?
edit:
Feyding Moon says:
haha
Feyding Moon says:
not sure why you asked that question..
Feyding Moon says:
(your newest post)
ßµяяiτö says:
ummm...cause I don't know maybe
Feyding Moon says:
did you see the site link for it?
ßµяяiτö says:
neg
ßµяяiτö says:
was it in that thread
Feyding Moon says:
yes.
Feyding Moon says:
ßµяяiτö says:
doh!
Feyding Moon says:
you blind
ßµяяiτö says:
semi
doh! doh! doh!
I need a doughnut
edit:
Feyding Moon says:
haha
Feyding Moon says:
not sure why you asked that question..
Feyding Moon says:
(your newest post)
ßµяяiτö says:
ummm...cause I don't know maybe
Feyding Moon says:
did you see the site link for it?
ßµяяiτö says:
neg
ßµяяiτö says:
was it in that thread
Feyding Moon says:
yes.
Feyding Moon says:
ßµяяiτö says:
doh!
Feyding Moon says:
you blind
ßµяяiτö says:
semi
doh! doh! doh!
I need a doughnut
alright i got it working i had to do alittle work to it i just made a new page and done a table and stuff and created it.. here is a link if you want to look at it..
http://www.hauntedgraveyard.southsidede ... client.php
only thing is i need is to make it refresh on its own :S
http://www.hauntedgraveyard.southsidede ... client.php
only thing is i need is to make it refresh on its own :S
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia