The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Chat Box Question

View previous topic View next topic Go down

In progress Chat Box Question

Post by Glad E Olah on 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.

Glad E Olah
Forumember

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

http://shoutaroundtheworld.forumotion.com/index.htm

Back to top Go down

In progress Re: Chat Box Question

Post by Ange Tuteur on 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 ?

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Chat Box Question

Post by Glad E Olah on 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.

Glad E Olah
Forumember

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

http://shoutaroundtheworld.forumotion.com/index.htm

Back to top Go down

In progress Re: Chat Box Question

Post by Ange Tuteur on 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

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Chat Box Question

Post by Glad E Olah on 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?

Glad E Olah
Forumember

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

http://shoutaroundtheworld.forumotion.com/index.htm

Back to top Go down

In progress Re: Chat Box Question

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

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

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Chat Box Question

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

Thanks for the info!

Glad E Olah
Forumember

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

http://shoutaroundtheworld.forumotion.com/index.htm

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum