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.

Chat Box Question

2 posters

Go down

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.
Glad E Olah
Glad E Olah
Forumember

Female Posts : 216
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 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
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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.
Glad E Olah
Glad E Olah
Forumember

Female Posts : 216
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 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
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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?
Glad E Olah
Glad E Olah
Forumember

Female Posts : 216
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 April 22nd 2015, 6:06 pm

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

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

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Chat Box Question

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

Thanks for the info!
Glad E Olah
Glad E Olah
Forumember

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

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

Back to top Go down

Back to top


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