1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Support Me Live

Discussion in 'XenForo Questions and Support' started by masterchief, Mar 26, 2011.

  1. masterchief

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

    <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]">
    <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">
    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.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Moved from tips, tricks & guides to general support.
  3. James

    James Well-Known Member

    I would recommend that you put it into its own template (create a new one) and then use:
    <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
  4. masterchief

    masterchief Well-Known Member

    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

Share This Page