{title help="Live Support"}{tr}Live support system{/tr}{/title}
{button href='#' _onclick="javascript:window.open('tiki-live_support_console.php','','menubar=no,scrollbars=yes,resizable=yes,height=400,width=600');" class="btn btn-primary" _text="{tr}Open operator console{/tr}"} {button href='#' _onclick="javascript:window.open('tiki-live_support_client.php','','menubar=no,scrollbars=yes,resizable=yes,height=450,width=300');" class="btn btn-primary" _text="{tr}Open client window{/tr}"} {button href="?show_html" class="btn btn-primary" _text="{tr}Generate HTML{/tr}"} {button href="tiki-live_support_transcripts.php" class="btn btn-info" _type="link" _icon_name="file-text-o" _text="{tr}Transcripts{/tr}"}
{if $html} Generated HTML code:
Copy-paste the following XHTML snippet in the pages where you want to provide live support.
HTML code
result
{$html}
{/if} {if count($online_operators) > 0}

{tr}Online operators{/tr}

{cycle values='odd,even' print=false} {section name=ix loop=$online_operators} {/section}
{tr}Operator{/tr} {tr}Stats{/tr}
{$online_operators[ix].user|avatarize}
{$online_operators[ix].user|escape}
{tr}Accepted requests:{/tr} {$online_operators[ix].accepted_requests}
{tr}{$online_operators[ix].status}{/tr} {tr}since:{/tr} {if $online_operators[ix].status_since ne "0"}{$online_operators[ix].status_since|tiki_short_datetime}{else}{tr}unknown{/tr}{/if}
{tr}transcripts{/tr}
{if $tiki_p_live_support_admin eq 'y'} {tr}Del{/tr} {tr}offline{/tr} {else}   {/if}
{/if} {if count($offline_operators) > 0}

{tr}Offline operators{/tr}

{cycle values='odd,even' print=false}
{section name=ix loop=$offline_operators} {/section}
{tr}Operator{/tr} {tr}Stats{/tr}
{$offline_operators[ix].user|avatarize}
{$offline_operators[ix].user|escape}
{tr}Accepted requests:{/tr} {$offline_operators[ix].accepted_requests}
{tr}{$offline_operators[ix].status}{/tr} {tr}since:{/tr} {if $offline_operators[ix].status_since ne "0"}{$offline_operators[ix].status_since|tiki_short_datetime}{else}{tr}unknown{/tr}{/if}
{if $tiki_p_live_support_admin eq 'y'} {tr}Del{/tr} {else}   {/if}
{/if} {if $tiki_p_live_support_admin eq 'y'}

{tr}Add an operator to the system{/tr}


{tr}Operators must be tiki users{/tr}
{/if}