Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

Direct Conversation with a User without Messenger Window

Last post 09-26-2011, 7:30 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  09-26-2011, 4:50 AM 70192

    Direct Conversation with a User without Messenger Window

    Hi,
     
    I am trying to implement a web-based call to open up a conversation with a particular user, bypassing the messenger dialog.
    i.e. for example, using a simple javascript, I could converse with user "test2". I am test1. I have tried using Chat_OpenContact('test2') but there two problems:
     
    1) It launches the Messenger Dialog First, then tell me there a message from test2 (when there was no message from test2).
    2) Then I must click on "OK" to launch the chat window.
     
    Is there a way to do it cleanly such that:
    1) Messenger Dialog is not shown at all.
    2) I don't see the prompt that says "test2 sent you a message"...
     
    I am trying to do a "facebook style" where by a click on the username will trigger the cutechat chat conversation window directly.
     
    Appreciate your technical advice on this matter.
     
    Thank you.
     
  •  09-26-2011, 7:30 AM 70195 in reply to 70192

    Re: Direct Conversation with a User without Messenger Window

    Hi HenryLim,
     
    1. The Messenger body is necessary
     
    2.  If you do not want the cofirm message show and show the chat window directly, please try the way below
     
       a) Open file  \CuteSoft_Client\CuteChat\IntegrationUtility.js.aspx
       
       b) Find method below
     
       function ContinueShowResponse()
     
       c) Change the line below in the method above
     
       msgs.push("You have "+info.Messages.length+" new message(s).");
     
       d) Change to
     
       Chat_OpenMessengerDialog();
       win.Close();
       msgs.push("You have "+info.Messages.length+" new message(s).");
     
    Regards,
     
    Ken
View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.