General > Support
Disable Sending Chat History
(1/1)
190004921:
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
190004921:
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...
Tanmay:
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
UKTech007:
Or you could just comment out the whole line like this:
--- Code: --- <!-- <td><a href="${page:mailLink}&style=${styleid}" target="_blank" title="${msg:chat.window.toolbar.mail_history}" onclick="this.newWindow = window.open('${page:mailLink}&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 "/></a></td> -->
--- End code ---
Navigation
[0] Message Index
Go to full version