Re: Prepopulate Messenger Contact list

  •  10-22-2010, 3:08 AM

    Re: Prepopulate Messenger Contact list

    Hi Kenneth,
     
    The code works good

     
    I am having some problems in the add contact window
     
     i managed to replace the existing Add Contact window by uncommenting the section as shown below in the ChatUI.js
     
    function ChatUI_ShowAddContact()
    {
        OpenWindowWaitReturn(_ChatUI_ShowAddContact_Return, CuteChatUrlBase + "IM_AddContact.aspx", "", "resizable=1,status=0,menubar=0," + GetOpenWindowSizeText(577, 390));
        
    //    function OnPrompt(name)
    //    {
            //if(name)
            //{
            //    ChatUI_AddContactByName(name)
            //}
    //    }
        //Desktop.Prompt(OnPrompt,TEXT("UI_CONTACT_AddContact_subTitle"),TEXT("UI_MENU_AddContact"));
    }
     
    If i do so, my contact is added intermittently and i am not able to remove the contact as well.
     
    Kindly let me know if i need to have my own page how can i change the js to support this feature
     
    if you can provide me sample code on how to integrate customadd contact with Messenger, it will be great
     
    Thanks and Regards,
     
     
     
     
     
    Filed under:
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems