[Kss-devel] A live chat module...
Godefroid Chapelle
gotcha at bubblenet.be
Wed Oct 17 13:55:37 CEST 2007
George Gozadinos wrote:
> Hi,
> I started working on an open source live chat product for plone3.
> There is a working prototype ready, however I would like to report the
> following seeking for some advice...
>
> 1) While I can set a document:load on my kss there seems to be no
> document:unload. That would be good to have for this use case as I would
> like to know when a user leaves the chat room... Now I periodically try
> to see if there was no user ping for a while to detect quitters, which
> is not so nice...
Can you add a feature request/bug in the bug tracker of kssproject.org ?
>
> 2) I also use document:timeout to do the polling client-side. Is there a
> way to set evt-timeout-delay at run-time rather than have it fixed? When
> my product was using a custom js that I wrote, I used to set the ping
> interval as a property of the chat room. Is is possible to set this
> parameter somehow?
You could store the value in HTML and access it as a KssAttr.
>
> 3) Doing a self.core.focus("#msgInput") seems to work fine on firefox
> and the rest but not IE.
I thought this was working on IE. Can you file another bug and include
IE version ?
>
> Thanks and keep up the good work...
> G. Gozadinos
> http://qiweb.net
>
> PS. I will write a tutorial about how I did egoban.org with KSS. Expect
> this in about a month...
Looking forward.
I was happy to meet you even if we did not have a lot of time to speak.
--
Godefroid Chapelle (aka __gotcha) http://bubblenet.be
More information about the Kss-devel
mailing list