News:

SMF for DIYStompboxes.com!

Main Menu

Chatalicious

Started by aron, February 07, 2004, 03:05:38 AM

Previous topic - Next topic

aron


smoguzbenjamin

Aron, Peter,

I tried it out, cool idea, but for one thing. It only loads once, I opened the chat thing in another window and I had to right-click the "No-one chatting at this moment" and click on 'refresh' to get the "There is currently one user in chat" message. Maybe an auto-refresh function like when you get PM's and you get a popup, you could refresh the message making it current ;)

Just my 2 cents :) Keep up the good work!
I don't like Holland. Nobody has the transistors I want.

Peter Snowberg

Thanks Ben.

Aron has some exapnded code in his PM box. The system didn't like using "includes" in the file that makes up the design of the screen, so Aron came up with the idea for the frameset. It's a colaboration mod in progress. I like that the frameset allows forum use and chat checking to be asynchronous. :) The next rev also makes the status line a link that opens chat in a new window.

Take care,
-Peter
Eschew paradigm obfuscation

aron


smoguzbenjamin

Cool. Whatabout refreshing the status? Could there be a way of sending a message to the little box down there when someone comes into the chatroom?
I don't like Holland. Nobody has the transistors I want.

Peter Snowberg

The second link Aron posted will reload every 180 seconds. The Web is a one-way environment that involves the server responding to the requests from "client" machines. The term for that is "client side pull". Once the request for loading a page has been filled, the communication is over as far as the server is concerned.

There is a way to keep the channel open, but it gets really sloppy unless you are talking about loading up video from something like a web-cam. That case is called "server side push" and it involves making the browser think that it has never completed loading a web page. The server keeps saying, "here's more...." and the next piece of info replaces the last piece on the screen.

It can be done, but it's sloppy and non-universal. The method of reloading every XX seconds is about as good as it gets for HTTP. To get more advanced, you really need a language running on the client side that supports "sockets". Java is about the best there is right now if you don't want to go for a C or BASIC program. It's too bad Java is so buggy and fickle.

Take care,
-Peter
Eschew paradigm obfuscation

smoguzbenjamin

Yeah I was thinking about that. :roll: Aaaargh my keyboard is acting wierd!
I don't like Holland. Nobody has the transistors I want.

aron

I changed the page so it reloads every minute.

troubledtom

wish i could type better than a 3 toed sloth :oops:
  - tom