Help Center Live Community

Support => Tips and Tricks => Topic started by: dan_uk on February 06, 2009, 01:29:08 PM



Title: User transcript
Post by: dan_uk on February 06, 2009, 01:29:08 PM
Is there anyway to remove the offer of the session transcript to the end user when a session has been ended.

Thanks?


Title: Re: User transcript
Post by: Ryan L. on February 06, 2009, 10:51:56 PM
Yes dan_uk,

You can remove this option.  Simply open up your hcl install folder and navigate to. . .
Code:
templates/*your template here*/chat_end.tpl
and open it in your favorite text editor.

Here, you will find the following code which allows for the user to email themselves the transcript.
Code:
<form action="{$conf.url}/live/chat/end.php?chatid={$chatid}" method="post">
<table cellspacing="0" cellpadding="0" width="80%" class="list">
  <tr class="alt">
    <td align="center">{$lang.email_transcript}</td>
  </tr>
  <tr>
    <td style="padding: 10px;" align="center">{$lang.email}: <input type="text" name="email" /></td>
  </tr>
</table>
<br />
<input type="submit" value="{$lang.send}" name="submit" />
</form>
<br />
<br />
<a href="{$conf.url}/live/chat/end.php?print&chatid={$chatid}">{$lang.print_transcript}</a>
<br />
<br />
<br />

Simply delete this code or comment it out by placing a   "{*"    (without quotes) where you want to start your comment and     "*}"   (without quotes) where you want to end your comment.  Comments are an easy way to render code useless and, unlike deleting, still have the actual code there in case you want it back again (just remove the comment tags).

I hope this is what you were looking for!

Ryan