WHMCS VoIP Call Back HTML Code
If you have setup Live Help Messenger as a WHMCS module then you need to install special HTML code on your web pages to support the WHMCS integration.
In order for your customers to request a VoIP / Skype telephone callback, you will need to add the Live Help Callback HTML code to your web site’s pages. There are two steps to ensure Live Help will run correctly on your web pages.
Please note: These first step is the same HTML code that is required for the regular Live Help button – this code is used for tracking your web site visitors. Only step two is required if you wish to use the Live Help VoIP call back feature.
You will need to edit the bold text within the HTML code so that the HTML code points to your WHMCS installation folder. An absolute path is required for the HTML code to work as expected.
Step 1.
The following lines should be added on each page after your <title> tag and just before your </head> tag (this should be added once per page):
<!-- stardevelop.com Live Help International Copyright - All Rights Reserved //-->
<!-- BEGIN Live Help Code - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //-->
<script type="text/javascript" src="http://www.yourdomain.com/whmcs/includes/jscript/jquery.js"></script>
<script type="text/javascript" src="http://www.yourdomain.com/whmcs/modules/livehelp/plugins/whmcs/jquery.livehelp.js"></script>
<!-- END Live Help HTML Code - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //-->Note: You don’t need to include the <script> tag to /whmcs/includes/jscript/jquery.js if your web site already includes the jQuery JavaScript library.
Step 2.
The following lines need to be added where you wish to display the Live Help status indicator button (you may display many Live Help status buttons on a single page):
<!-- stardevelop.com Live Help International Copyright - All Rights Reserved //-->
<!-- BEGIN Live Help HTML Code - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //-->
<a href="#" class="LiveHelpCallButton">
<img src="http://www.yourdomain.com/whmcs/modules/livehelp/include/status.php?CALLBACK=1" id="LiveHelpCallback" style="border:none;" class="LiveHelpStatus" alt="Live Help"/>
</a>
<!-- END Live Help HTML Code - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //-->Please note: The above second step is optional and should only be added to web pages that you wish to display the Live Help VoIP call back button.


Leave a Comment!