Disabling Whisper function

Last post 06-21-2011, 6:44 AM by RafalL. 4 replies.
Sort Posts: Previous Next
  •  09-13-2007, 2:42 AM 33520

    Disabling Whisper function

    Hei
    How can I disable or hide whisper fuction?
  •  09-13-2007, 10:14 AM 33532 in reply to 33520

    Re: Disabling Whisper function

    mem,
     
    Open CuteSoft_Client\CuteChat\ChatUI.xml and find the following code:
     

          <td style="width:18px;">
           <input type="checkbox" id="checkbox_whisper" onchange="SetWhisper(this.checked);"/>
          </td>
          <td>
           <label for="checkbox_whisper">[[UI_Whisper]]</label>
          </td>
     
    and change it to:
     

          <td style="width:18px;">
           <input type="checkbox" id="checkbox_whisper" style="display:none" onchange="SetWhisper(this.checked);"/>
          </td>
          <td>
           <label style="display:none" for="checkbox_whisper">[[UI_Whisper]]</label>
          </td>
     
    Find the following code:
     
    <Class TypeName="ChannelList" BaseType="HtmlSource"  Focusable="True" Height="42" Visible="False">
     
    And change its constructor to:
     
     <Constructor>
        <![CDATA[
         this.SetVisible(false);
        ]]>
       </Constructor>
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  06-17-2011, 2:35 AM 68020 in reply to 33532

    Re: Disabling Whisper function

    This is not right way.
    Setting disabling whisper from admin panel does not work, there is no conditional function in channel.aspx code like this:
    <%if(ChatWebUtility.GlobalShowSignoutButton){%>
     
    To disable Whisper only way is to comment out code here:
     
    Is there any functon/method to use with conditional?
     
     
                                <tr>
                                    <td><!-- <select id="select_targetuser" title="tips : Right click to target 'All'" style="vertical-align:middle;width:120px;">
                                            <option value="">[[UI_MENU_TargetAll]]</option>
                                        </select> -->
                                    </td>
                                    <td>
                                        <!-- <input type="checkbox" id="checkbox_whisper" onchange="SetWhisper(this.checked);" /> -->
                                    </td>
                                    <td>
                                        <!-- <label id="label_whisper" for="checkbox_whisper">[[UI_Whisper]]</label> -->
                                    </td>
                                    <td>
                                        <button id="btn_connect" class="ConnectionButton" style="width:92px;height:22px;">[[UI_Menu_Connect]]</button>
                                    </td>
                                </tr>
     
  •  06-17-2011, 2:16 PM 68030 in reply to 68020

    Re: Disabling Whisper function

    Dear RafalL,
     
    If you want to disable whisper feature,  please open "CuteSoft_Client\CuteChat\Channel.aspx
    Change:
     <td>
             <input type="checkbox" id="checkbox_whisper" onchange="SetWhisper(this.checked);" style="" />
     </td>
     <td>
            <label id="label_whisper" for="checkbox_whisper">[[UI_Whisper]]</label>
      </td>
     
    to
     
     <td style="display:none">
             <input type="checkbox" id="checkbox_whisper" onchange="SetWhisper(this.checked);" style="" />
            </td>
            <td  style="display:none">
             <label id="label_whisper" for="checkbox_whisper">[[UI_Whisper]]</label>
            </td>
     
    Thanks for asking
     
     
  •  06-21-2011, 6:44 AM 68071 in reply to 68030

    Re: Disabling Whisper function

    Dear Eric,
    And what about 'Allow whisper' option in Chat Administration Console Functionalities - it does not working?
View as RSS news feed in XML