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 log in/out

View previous topic View next topic Go down

Solved chat box log in/out

Post by zenzo on March 17th 2017, 2:52 am

hello,..how to remove chat box log in/out

is it possible when you log in to the forum you will automatically log in to chatbox permanently until you will log out.

http://gsmcotabato.forumotion.com/
avatar
zenzo
Forumember

Posts : 563
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: chat box log in/out

Post by Draxion on March 17th 2017, 3:35 am

Hi there, there is one code that allows it to forcefully log users into the chatbox every time they visit the index page but as to force them in there 'permanently' until they log out isn't possible since they will be timed out regardless after being idle for so long.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1713
Reputation : 223
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: chat box log in/out

Post by zenzo on March 17th 2017, 3:46 am

Draxion wrote:Hi there, there is one code that allows it to forcefully log users into the chatbox every time they visit the index page but as to force them in there 'permanently' until they log out isn't possible since they will be timed out regardless after being idle for so long.

what is that code...
avatar
zenzo
Forumember

Posts : 563
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: chat box log in/out

Post by Draxion on March 17th 2017, 3:56 am

Here you are.

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){}})
});


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1713
Reputation : 223
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: chat box log in/out

Post by zenzo on March 17th 2017, 4:07 am

well done thank you, topic solve
avatar
zenzo
Forumember

Posts : 563
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: chat box log in/out

Post by Draxion on March 17th 2017, 4:08 am

You're very welcome.

Have a good night! Smile


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1713
Reputation : 223
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: chat box log in/out

Post by SLGray on March 17th 2017, 6:22 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40203
Reputation : 2716
Language : English
Location : United States

https://fmthemes.forumotion.com/

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