Chat Box Question Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
2 posters

    Chat Box Question

    Glad E Olah
    Glad E Olah
    Forumember


    Female Posts : 216
    Reputation : -1
    Language : English
    Location : MO USA

    In progress Chat Box Question

    Post by Glad E Olah April 21st 2015, 10:27 pm

    Can our forums be allowed to see chat box when we log into our site? 

    Explanation:  I would like to see the open chat box instead of having to log into the box.  Is this possible?

    My chat box is rarely used because members do not take the time to log into the box.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Chat Box Question

    Post by Ange Tuteur April 21st 2015, 10:32 pm

    Hi @Glad E Olah,

    You can find a few modifications for the chatbox here. I'm assuming automatic login is what you're looking for, correct ?
    Glad E Olah
    Glad E Olah
    Forumember


    Female Posts : 216
    Reputation : -1
    Language : English
    Location : MO USA

    In progress Re: Chat Box Question

    Post by Glad E Olah April 21st 2015, 10:44 pm

    When someone arrives at the forum I would like them to see an ongoing chat in the chat box without them having to log in.  I checked your link above and did not understand which css code I should use for an open chat box.

    Thanks for your help.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Chat Box Question

    Post by Ange Tuteur April 21st 2015, 10:47 pm

    Administration Panel > Modules > JavaScript codes management > Create a new script

    Placement : In the homepage
    Code:
    $(window).load(function() {
      var chatbox_script = function() {
        setTimeout(function(){ $('#chatbox_option_co:visible').click() }, 1000);
      };
      var s=document.createElement('script');s.text="("+chatbox_script.toString()+")();";$('object[data^="/chatbox/index.forum"],iframe[src^="/chatbox/index.forum"]').each(function(){try{$(this.contentDocument||this.contentWindow.document).find("#chatbox").closest("html").find("head").first().each(function(){this.appendChild(s.cloneNode(true))})}catch(a){}})
    });

    As long as your chatbox is on the homepage, your members will be automatically logged in. Wink
    Glad E Olah
    Glad E Olah
    Forumember


    Female Posts : 216
    Reputation : -1
    Language : English
    Location : MO USA

    In progress Re: Chat Box Question

    Post by Glad E Olah April 21st 2015, 10:49 pm

    Thanks so much...it is on page now....will see if it stays.


    Later......the chat box is there but it times out.  Can the time out be omitted?
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Chat Box Question

    Post by Ange Tuteur April 22nd 2015, 6:06 pm

    As far as I know, we've no way to disable the time out. blackeye
    Glad E Olah
    Glad E Olah
    Forumember


    Female Posts : 216
    Reputation : -1
    Language : English
    Location : MO USA

    In progress Re: Chat Box Question

    Post by Glad E Olah April 23rd 2015, 7:49 pm

    Thanks for the info!