New custom conversation without messenger interface, offline message tracking and notification

Last post 04-11-2009, 5:15 AM by Atr3ides. 1 replies.
Sort Posts: Previous Next
  •  04-10-2009, 12:00 PM 50985

    New custom conversation without messenger interface, offline message tracking and notification

    Hi,
     
    I have integrated CuteChat and Cute Web Messenger into a custom ASP.NET community website.  What I need to do further is:
     
    1. To be able to click on a send IM message link inside the website and automatically create a new messenger conversation with that user (i can create a ChatIdentity for that) without necessarily opening the web messenger window.
    2. When a user is logged into the website but with no messenger open to be notified he has a message and, per confirmation, open a conversation
    3. Be able to capture offline messages (or rejected messages as per 2nd issue) and list them somewhere else for the designated user.
     
     So far I haven't found a solution to this.
     
    Regarding the first issue i tried rewriting a new script based on NewMessenger.aspx like shown below. I got a new conversation window, but with serious lack of functionality. If user is already online, no messages are sent. Also, some of the UI hits errors.
    <script>

    <%if (CuteChat.ChatWebUtility.GetMessengerOnlineStatus(Session["UserName"].ToString())=="OFFLINE"){%>
                       Connect("Messenger");
                    <%}%>
            var newcontact = {};
            newcontact.DisplayName="administrator";// or null
            newcontact.UserId="User:administrator";
            newcontact.UserName="administrator";
            newcontact.Description="";
            newcontact.PublicProperties=PropStrToObj("InstantAvatar:avatar.jpg")||{};
            //newcontact.IsContact=false;
            var conv=new CuteChatConversation(this,newcontact);    
            ChatUI_FocusWindow();
            conv.Activate();

     </script>
     
    Thanks
  •  04-11-2009, 5:15 AM 50997 in reply to 50985

    Re: New custom conversation without messenger interface, offline message tracking and notification

    Ok, I managed to solve the first issue by cross window javascript calls. Still working on the other two.
    Can't help to wonder: is there no support for this? No team/person to help potential or paying customers? Documentation is very brief, the forum is very very short on info...
View as RSS news feed in XML