Mibew Messenger Community

General => Support => Topic started by: 190004921 on January 07, 2013, 02:38:53 PM

Title: Disable Sending Chat History
Post by: 190004921 on January 07, 2013, 02:38:53 PM
Hi everyone,

I´m trying to disable the option to send the chat history after the conversation for the clients. Is it possible? And, how can i disable copy and paste too?

Thanks for the help!

Patrick
Title: Re: Disable Sending Chat History
Post by: 190004921 on January 07, 2013, 05:38:18 PM
maybe just remove the button that sends the history and blocking the Copy and Paste, selection and scrolling.. where can i do this? I´m looking for the code but i can´t find it...
Title: Re: Disable Sending Chat History
Post by: Tanmay on June 01, 2013, 02:58:26 PM
Ok so i had a similar requirement and i found the solution.
This is how you do it, cheap and simple  :P

1) Open the chat.tpl file in notepad.
2) Look for the line which has 'ForwardMail' (you could do a Ctrl+F).
3) set the style to display none for that anchor tag.
4) Test your Client.php
Title: Re: Disable Sending Chat History
Post by: UKTech007 on December 10, 2013, 03:11:42 PM
Or you could just comment out the whole line like this:

Code: [Select]
<!-- <td><a href="${page:mailLink}&amp;style=${styleid}" target="_blank" title="${msg:chat.window.toolbar.mail_history}" onclick="this.newWindow = window.open('${page:mailLink}&amp;style=${styleid}', 'ForwardMail', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=603,height=254,resizable=0'); if (this.newWindow != null) {this.newWindow.focus();this.newWindow.opener=window;}return false;"><img class="tplimage iemail" src="${mibewroot}/images/free.gif" border="0" alt="Mail&nbsp;"/></a></td> -->