Opening a conversation with a user

Last post 09-17-2011, 3:55 AM by chloe0. 6 replies.
Sort Posts: Previous Next
  •  08-01-2011, 3:26 PM 69141

    Opening a conversation with a user

    Created a page that lists online users for the current user to add to their contact list or start a conversation with over messenger.  I need to be able to start a messenger conversation with an online user.  Previous post responded with this:
     
    <a href="#" onclick="Chat_OpenContact('admin')"><img src="CuteSoft_Client/CuteChat/Images/avatar.gif">admin</a>
     
    but that solution wont work.  It tries to open the messenger in the page, which is contained in an iframe as a widget on the whole page.  It also doesn't see already open messenger window, which we always open in a new browser pointed to Messenger.aspx (provided in CuteChat download).  So I guess the functionality I need is:
     
    1) If messenger is not open in a browser, open a new browser window with messenger and start a conversation selected user.
    2) If messenger is open in a browser, start a conversation in existing browser with messenger.
     
    What's the best way to accomplish this?
    Thanks!
  •  08-02-2011, 10:26 AM 69170 in reply to 69141

    Re: Opening a conversation with a user

    Hi rgettel,
     
    Can you post a screenshot to show how it look like when you use  Chat_OpenContact('admin') to open the CuteMessenger?
     
    Regards,
     
    ken
  •  08-02-2011, 12:01 PM 69172 in reply to 69170

    Re: Opening a conversation with a user

     This is a screen shot of the current functionality.
  •  08-02-2011, 12:07 PM 69173 in reply to 69172

    Re: Opening a conversation with a user

     Here is inital state of popup with online users.
     This is a pic of the functional as it should happen, opening in a new browser and starting the conversation (or if browser is already open, then starting the conversation).
  •  08-04-2011, 7:40 AM 69259 in reply to 69173

    Re: Opening a conversation with a user

    Hi rgettel,
     
    What version you are using? (when you download the package)
     
    Please try 
     
    1. Link to http://dotnetdate.com/
     
    2. Login as user:test password:test
     
    3. Than click the "Open Messenger in dialog" link at the left panel. the code I provided should open a window like this.
     
    Regards,
     
    ken
  •  08-04-2011, 9:14 AM 69268 in reply to 69259

    Re: Opening a conversation with a user

    We're using version 4.  Using your code provided I got the embedded functionality shown in post 69172.
  •  09-17-2011, 3:55 AM 70087 in reply to 69141

    Re: Opening a conversation with a user

    well this is  very nice sharing thanks buddy!
View as RSS news feed in XML