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?
Private Instant Messnger
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
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.
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.
-
sunilbhatia
- Forum Newbie
- Posts: 2
- Joined: Tue Feb 10, 2004 1:14 am
- Location: India
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.
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.
Last edited by sunilbhatia on Wed Sep 22, 2004 12:35 pm, edited 1 time in total.
Is that easy to use? I checked it out and I don't want video, just a standard private IM.sunilbhatia wrote:You could also consider using Flash Communication Server for your task. I have already worked this before and have developed similar functionality.
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?