Hi surfo101,
1. How to disable the “Create a group” button?
Open file “CuteSoft_Client\CuteChat\NewMessengerMain.htm”
Find section below
<span title="[[AddNewGroup]]" class="MessangerToolbarItem" hoverclass="MessangerToolbarItemHover"
onclick="CuteChatMessenger.BubbleCommand('AddNewGroup',this,event)">
<img src="#__cc_urlbase#Images/add_group.png" />
</span>
Change to
<span style=" display:none" title="[[AddNewGroup]]" class="MessangerToolbarItem" hoverclass="MessangerToolbarItemHover"
onclick="CuteChatMessenger.BubbleCommand('AddNewGroup',this,event)">
<img src="#__cc_urlbase#Images/add_group.png" />
</span>
2. How to disable the “View profile” button which appears in the dialog window when you hover over a user?
Open file “CuteSoft_Client\CuteChat\Script\NewMessenger.js”
Find section below
sb.push("<img class='ContactFloatPanelButton' id='ccm_fpprofile' src='"+__cc_urlbase+"Images/profile.gif' title='"+TEXT("UI_MENU_ViewProfile")+"'/>");
Change to
sb.push("<img style='visibility:hidden' class='ContactFloatPanelButton' id='ccm_fpprofile' src='"+__cc_urlbase+"Images/profile.gif' title='"+TEXT("UI_MENU_ViewProfile")+"'/>");
How to disable the “View profile” button on the right click menu?
Open file “CuteSoft_Client\CuteChat\Script\NewMessenger.js”
Find section below and comment/delete it
menuitem=menu.Add(1,TEXT("UI_MENU_ViewProfile"),""+__cc_urlbase+"Images/profile.gif"
,CuteWebUI.Delegate(messenger,messenger.OnMenuClick),null);
menuitem.command="ViewProfile";
menuitem.contactid=contactid;
Regards,
Ken