Support Me Live

masterchief

Well-known member
I need some help incorporating this code into a block somehow so that I can insert it into templates and such. Please advise

Basically, it is for livesupport chat feature. I will share with all once I get it working. peace
Original code by Tom Boutwell, I am just trying to get it to work with XenForo.

This provides for notification Live Support is logged in to the module or not. When Live Support is logged in, there is also a link for logging into Live Support Chat. Interesting concept, I like to tinker a lot....

Code:
<html>
<head>
<title>A Handy Way To Enter Chat Only If Support Is Logged In</title>
<script type="text/javascript" src="[URL='http://xenforo.com/community/view-source:http://www.masterchief.com/community/js/supportmelive/chatentry.js']/community/js/supportmelive/chatentry.js[/URL]">
</script>
</head>
<body onLoad="setTimeout('chatEntryCheckAndShow()', 10)">
If technical support is logged in, that will be indicated here, with
a link to log in. This box automatically updates at one-minute intervals.
<div id="chatinvite" style="width: 200px; border: 2px solid green">
</div>
Notice that this can be inserted into any page in any convenient
location. You do not have to use a green box. That's just the example
CSS code used in this page.
</body>
</html>
 
I would recommend that you put it into its own template (create a new one) and then use:
Code:
<xen:include template="name_of_template" />
in the block you wish to use this code.

Once you specify where you want it, more specific help can be given.

EDIT: You'll have to specify whether you want it as a template or a page (i.e. site.com/pages/support
 
I would recommend that you put it into its own template (create a new one) and then use:
Code:
<xen:include template="name_of_template" />
in the block you wish to use this code.

Once you specify where you want it, more specific help can be given.

EDIT: You'll have to specify whether you want it as a template or a page (i.e. site.com/pages/support

excellent starting point, thank you.. this being just a notification, it is probably best suited in the sidebar, header, etc... to be treated somewhat as an advertisement in regards to location.

This is the link provided when support staff is logged in... http://www.masterchief.com/community/supportmelive/

The actual support chat module is also needing conversion. peace
 
Top Bottom