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 21/4/2015, 22:27

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 21/4/2015, 22:32

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 : 13207
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 21/4/2015, 22:44

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 21/4/2015, 22:47

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 : 13207
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 21/4/2015, 22:49

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 22/4/2015, 18:06

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

Male Posts : 13207
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 23/4/2015, 19:49

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

- Similar topics

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