Page 1 of 1

Private Instant Messnger

Posted: Tue Sep 21, 2004 5:42 pm
by Jonelle
My boss would like an instant messenger added to the site. But this isn't your standard IM, it's gonna run more like this:
-You see a user online, and click their them to initiate a chat.
-They get a pop up window saying, "So and so would like to start a conversation with you? Do you accept? or Decline?"
-If they accept, it'll bring them to the IM window and they can talk to the person, but also while both people are talking to each other, if someone else wants to talk to one of them, they are presented with a pop-up saying, "This person is currently talking to someone, please try again later"
-If they decline, the window is simply closed.

I have no idea of how I'm gonna program what I mentioned, but I do have an IM already which works, it's just not in it's own popup, but located on every page and it refreshes. Some help please?

Posted: Tue Sep 21, 2004 6:10 pm
by feyd
you can't directly initiate a popup of any kind without it being in a request from the user. i.e., they will get the popup when they go to another page on your site (unless you have onunload's set, which isn't cool in most cases)

so, you can't push stuff from the server without a connection. Technically, once they've finished requesting a page and it's content, you no longer have a connection.

This sounds like a bunch of Javascript... which probably isn't the best idea.

Posted: Tue Sep 21, 2004 6:14 pm
by Jonelle
alright, thanks. i'll try javascript ... now that i think about it, it makes a little more sense to use that.

Posted: Tue Sep 21, 2004 11:57 pm
by sunilbhatia
Hi Jonelle,

You could also consider using Flash Communication Server for your task.

You could check http://www.macromedia.com/software/flashcom/

Please let me know if you require something else on this front.

Posted: Wed Sep 22, 2004 10:36 am
by Jonelle
sunilbhatia wrote:You could also consider using Flash Communication Server for your task. I have already worked this before and have developed similar functionality.
Is that easy to use? I checked it out and I don't want video, just a standard private IM.

Would I be able to easily integrate it? Because only registered members of the dating site would be able to use it ... and I need it to check if the person is registered before they can send messages to other members.

AND .. Do I have to install or configure anything on the server for it?