Initiate chat programatically?

Last post 12-01-2011, 10:26 AM by Kenneth. 6 replies.
Sort Posts: Previous Next
  •  11-11-2011, 12:25 AM 71326

    Initiate chat programatically?

    I am evaluating Cute Web Messenger for a feature within my site.
     
    I have installed and have the basic scenario (click link to open contact list; then initiate chat with a contact) working. I have a slightly different need, my users will not see a contact list. When a user (say user1) initiates a chat, my program will select a contact for user1to chat with. Then I need to programatically open a web chat between the two users.
     
    Is it possible to initiate a chat session via code? Any links, code would help immensely!
     
    Thanks.
    - Pradeep 
  •  11-11-2011, 6:29 AM 71341 in reply to 71326

    Re: Initiate chat programatically?

    Hi pradman,
     
    You can use the code below to open the chat for the current user when he click on the link.
     
    <a href="#" onclick="Chat_OpenContact('David')">David</a> 
     
    Regards,
     
    Ken
  •  11-11-2011, 10:43 AM 71346 in reply to 71341

    Re: Initiate chat programatically?

    Hi Ken,
     
    I have already tried that, this opens up the messenger main window with all my contacts, along with the chat window; which I am trying to avoid.  
     
    Any workarounds?
     
    - Pradeep 
  •  11-30-2011, 6:15 AM 71719 in reply to 71346

    Re: Initiate chat programatically?

    Hi Ken,
     
    Do you have already a solution? I have de same problem. If you have a solutions, please help me out...
     
    Thanks,
     
    Walter
  •  11-30-2011, 7:00 AM 71724 in reply to 71719

    Re: Initiate chat programatically?

    Hi Walter75,
     
    The Messenger body is necessary, for now can't only open the chat window for the end user without the messenger body.
     
    Regards,
     
    Ken 
  •  11-30-2011, 7:13 AM 71727 in reply to 71724

    Re: Initiate chat programatically?

    Hi Ken,
     
    Wil it be possible in the near feature? Maybe I can create a workaround with the messenger body in a hidden iframe. But it's a very ugly solutions, so i have to make sure it's just temporary...
     
    Regards,
     
    Walter
  •  12-01-2011, 10:26 AM 71757 in reply to 71727

    Re: Initiate chat programatically?

    Hi Walter75,
     
    I do not thing so, I think the development team will not add this function in the near feature. Sorry for your inconvenience.
     
    Regards,
     
    Ken 
View as RSS news feed in XML