Offline message notification

Last post 11-15-2007, 4:40 PM by CC777. 3 replies.
Sort Posts: Previous Next
  •  10-25-2007, 9:13 AM 34592

    Offline message notification

    I've seen a few posts in the forums discussing a way to determine if a user has offline messages awaiting, but I haven't seen an answer regarding exactly how to make this determination.

    My users don't always keep the IM window open, and I'd like to display a link on pages that would appear to instruct them to open the IM window since they have pending offline messages.

    I've searched through the CuteSoft.Chat namespace, but I can't find anything that seems to work.  Has anyone been able to figure this out?

    Josh

  •  10-25-2007, 12:03 PM 34606 in reply to 34592

    Re: Offline message notification

    Josh,

    I don't think we have this API. I will discuss it with developers. Maybe we can include it in the version 4.0.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  10-25-2007, 1:27 PM 34611 in reply to 34606

    Re: Offline message notification

    I actually found a way around it...if you create a CuteChatUser object then use the CuteChat.GetInstantMessages method you can determine if there exist offline messages.

    However, I'm still running into a bit of a problem.  Let me begin by giving you an idea of what I'm trying to accomplish.  I'd like for members of my site to be able to instant message one another, regardless of whether they're online or not.  If they are online, I would like the message to instantly pop up.  If they are not online, I would like any offline messages to be somehow visible when they do come back online.

    I have accomplished the first requirement by using the embedded client inside a div with the "visibility: hidden" style attribute.  This allows messages to pop without the actual IM main interface having to be displayed regardless of whether the user has separately opened the IM main interface.

    However, I still can't get to offline messages when someone comes back online, even if I do have the IM main interface open.  If I sign in as a user and message another user that is offline, then log in as that other user I do not see the offline conversation in the conversations list.  The only way I can get to the messages is to view the message history.

    I should tell you that I have integrated CuteChat into our existing member database and therefore modified the user retrieval functions as instructed in the help file.  IM sessions between two online users works fine as well.

    Maybe it would help if you could tell me how offline messages are supposed to work?  Then, perhaps you can tell me if it's possible via the API to pop the conversation window automatically if a user signs in and there are offline messages for him?

    Thanks,
    Josh

  •  11-15-2007, 4:40 PM 35140 in reply to 34611

    Re: Offline message notification

    I'm actually looking for something similar.  We are interested in launching the web messenger automatically on the recipient's machine when another user sends an offline message.  The other user would have to be logged on to our site, but might not necessarily have the web messenger window open.
     
    Thanks,
    -Chris
     
View as RSS news feed in XML