Recent Posts

Integrate Olark Live Chat with WHMCS

Olark is a live chat widget that you drop into your site and allows you to chat with visitors through your existing IM app.

If you use WHMCS you can quickly integrate the code supplied by Olark by putting it in a smarty literal tag just before the </body> tag at the end of your footer.tpl file in your template directory:

  1.  
  2. {literal}
  3. //SUPPLIED CODE FROM OLARK
  4. {/literal}
  5.  

If you want the name of your logged in customers to show up in the chat you can to put the following after the last block of code you added:

  1.  
  2. {if $loggedin}
  3. {literal}
  4. <script>
  5. {/literal}
  6. var name = "{$clientsdetails.firstname} {$clientsdetails.lastname}";
  7. {literal}
  8. olark('api.chat.updateVisitorNickname', {
  9. snippet: name
  10. });
  11. </script>
  12. {/literal}
  13. {/if}

If you're not already using live chat on your site, read more and sign up to Olark here.

  1. iOS Enterprise App Error – “Cannot install applications because the certificate is not valid” 7 Replies
  2. An Odd Rap Video A-pier-ance Leave a reply
  3. Obligatory Pictures of West Pier After Storm 3 Replies
  4. The Lost 1984 Video: Young Steve Jobs Introduces the Macintosh Leave a reply