Author Topic: Disable Sending Chat History  (Read 8599 times)

0 Members and 1 Guest are viewing this topic.

190004921

  • Jr. Member
  • **
  • Posts: 2
Disable Sending Chat History
« 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

190004921

  • Jr. Member
  • **
  • Posts: 2
Re: Disable Sending Chat History
« Reply #1 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...

Tanmay

  • Full Member
  • ***
  • Posts: 5
Re: Disable Sending Chat History
« Reply #2 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

UKTech007

  • Jr. Member
  • **
  • Posts: 2
Re: Disable Sending Chat History
« Reply #3 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> -->