Re: Add User To Buddy List and Launch IM Session From Application

  •  07-11-2006, 11:48 PM

    Re: Add User To Buddy List and Launch IM Session From Application

     nick2006 wrote:
    How do I pass the information of the target user to the buddy list and to IM when I launch IM Session from user's profile? It kept defaulting to the current logon user, which is me; which means I'm communicating with myself. The target user does exist in my application. Also, when I try to add the target user to contact list, it shows me the same user all the time, which is the current logon user. Finally, I'm getting a failed to validate license when I try to launch it from another computer in my local network.
     
    Will the target username be the UniqueName between the hyperlink tags as shown below?
    <a href="#" onclick="Chat_OpenContact('IE')"><img src="CuteSoft_Client/CuteChat/Images/avatar.gif">UniqueName=IE</a>
     
    Help,
     
    thanks...Nick
     
     
    Hello Nick,
     
    In my application I have written code to pull the current users UserName (data bind). This is common to personalize a site, for example after a user logs in, the welcome page will read, "Welcome Back UserName."
     
    All you need to do is create this code if you do not already have and insert the bound data where the script says IE. See below...
     
    <A class="searchBottom" href="#" onclick="Chat_OpenContact('<%=username%>')">Chat</a>

    Paul
    Post Hope
View Complete Thread