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....
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>