change time out for chat
+2
FrOsTyXi
azwiz
6 posters
Page 1 of 2
Page 1 of 2 • 1, 2
change time out for chat
I can't find the duration time in AP to change time out for chat . Brain fart I guess but I don't see the modify chat room .
Re: change time out for chat
Try this
JavaScript Management
(No timeout)
Name your choice
Placement Home page
JavaScript Management
(No timeout)
Name your choice
Placement Home page
- Code:
setInterval(function(){ $.post('/chatbox/chatbox_actions.forum?archives','mode=send&sent='); }, 5000);
Re: change time out for chat
Ok I had to enable Javascript . Then I added the code .FrOsTyXi wrote:Try this
JavaScript Management
(No timeout)
Name your choice
Placement Home pagethis will only work if the chatbox is in the home page
- Code:
setInterval(function(){ $.post('/chatbox/chatbox_actions.forum?archives','mode=send&sent='); }, 5000);
But I used to be able to adjust the length of time a user stayed ( change to )inactive in the chat box before he was automatically logged out . I can't find that now ?
I am certain that a couple weeks ago I changed it from 10 minutes to 30 minutes . I definitely did . But since that time I accidentally deleted my chat . Someone here gave me a code to restore it . I guess it was in the code that I deleted .
BTW what does that code do ?
Last edited by azwiz on December 17th 2014, 8:36 am; edited 3 times in total (Reason for editing : change active to inactive)
Re: change time out for chat
Hello @azwiz,
As far as I know, there are currently no options to adjust the timeout for the chatbox, aside from user-side coding.
As far as I know, there are currently no options to adjust the timeout for the chatbox, aside from user-side coding.
Re: change time out for chat
I am certain that a couple weeks ago I changed it from 10 minutes to 30 minutes . I definitely did . But since that time I accidentally deleted my chat . Someone here gave me a code to restore it . I guess it was in the code that I deleted .
BTW what does that code do ?
setInterval(function(){ $.post('/chatbox/chatbox_actions.forum?archives','mode=send&sent='); }, 5000);
Can I put it in my forum message ?
Did I need to enter this too ?
(No timeout)
Name your choice
Placement Home page
I am still stuck on this .
I put that code in the Javascript right ?
BTW what does that code do ?
setInterval(function(){ $.post('/chatbox/chatbox_actions.forum?archives','mode=send&sent='); }, 5000);
Can I put it in my forum message ?
Did I need to enter this too ?
(No timeout)
Name your choice
Placement Home page
I am still stuck on this .
I put that code in the Javascript right ?
Re: change time out for chat
Most likely, I don't recall ever seeing settings for the chatbox timeout in the Administration Panel.
Go to Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In the homepage
Paste the code below and submit :
It should remove the timeout altogether.
Go to Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In the homepage
Paste the code below and submit :
- Code:
setInterval(function(){ $.post('/chatbox/chatbox_actions.forum?archives','mode=send&sent='); }, 5000);
It should remove the timeout altogether.
Re: change time out for chat
You are kidding me . Lol I had it for 30 minutes. I wanted more . So if I remove that code will it go back to 30 minutes ? There used to be a chat modification page where I could set it for any length of time .Ange Tuteur wrote:Most likely, I don't recall ever seeing settings for the chatbox timeout in the Administration Panel.
Go to Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In the homepage
Paste the code below and submit :
- Code:
setInterval(function(){ $.post('/chatbox/chatbox_actions.forum?archives','mode=send&sent='); }, 5000);
It should remove the timeout altogether.
Last edited by azwiz on December 18th 2014, 11:03 pm; edited 1 time in total (Reason for editing : edit spelling)
Re: change time out for chat
Wish I had seen this topic sooner. I am having the same problem at the moment!
P.S I have added this code and it did not work!
P.S I have added this code and it did not work!
Last edited by brandon_g on December 18th 2014, 11:38 pm; edited 1 time in total
Re: change time out for chat
I don't get it . Why would you give me a code that removes it alltogether ? And now no one knows how to make a page where I can set the time .
We mostly use my chat while we are playing a round of golf or surfing or coming here to support . Able to check back , still active when you are gone you are still listed as away . It doesn't do that anymore at all . I really need that feature badly . Please help me . It is a forumotion created forum . I should be able to access the original features .
We mostly use my chat while we are playing a round of golf or surfing or coming here to support . Able to check back , still active when you are gone you are still listed as away . It doesn't do that anymore at all . I really need that feature badly . Please help me . It is a forumotion created forum . I should be able to access the original features .
Last edited by azwiz on December 19th 2014, 12:02 am; edited 1 time in total (Reason for editing : added " or surfing or coming here to support .")
Re: change time out for chat
You mean the code does not work?
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: change time out for chat
The code they sent me removed the duration time alltogether . Now I am totally screwed . Even though I had lost my editability It was still set for 30 minutes . Which was perfect . Now it is set for zero and they tell me they don't remember a feature like that . Now my chat is useless . the second you leave the page you are disconnected from the chat . Now it is worthless .brandon_g wrote:You mean the code does not work?
The reason for my original question was that I wanted to change it from 30 minutes to 45 minutes . Not from 30 minutes to ZERO minutes .
I wonder if I did a system restore to a date before I lost my chat the first time that maybe I would get the chat edit back that I used to have .
Re: change time out for chat
Oh I get it now! That doesnt make sense. Why would someone want it to be set at ZERO minutes?
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: change time out for chat
I don't know but that is where it is and I am patiently waiting for a response so that can be changed .brandon_g wrote:Oh I get it now! That doesnt make sense. Why would someone want it to be set at ZERO minutes?
were you looking to lengthen the duration time also ?
Re: change time out for chat
No, I wanted to disable the feature all together! Its a pain in the royal A**.
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: change time out for chat
Other than that, I know of no way to change timeout for the chat. If there was an option in the AP I would know and point you to it, but the only options under chat are to activate, change the display of the chatbox, and manage mods / bans.
Re: change time out for chat
great, so we are stuck with this? How do we atleast reverse this stupid code! It's made it worse!Ange Tuteur wrote:Other than that, I know of no way to change timeout for the chat. If there was an option in the AP I would know and point you to it, but the only options under chat are to activate, change the display of the chatbox, and manage mods / bans.
Re: change time out for chat
I wonder if I did a system restore to a date before I lost my chat the first time that maybe I would get the chat edit back that I used to have .Ange Tuteur wrote:Other than that, I know of no way to change timeout for the chat. If there was an option in the AP I would know and point you to it, but the only options under chat are to activate, change the display of the chatbox, and manage mods / bans.
Re: change time out for chat
I am sorry to hear that you do not know . Can you direct me to someone that does ?Ange Tuteur wrote:Other than that, I know of no way to change timeout for the chat. If there was an option in the AP I would know and point you to it, but the only options under chat are to activate, change the display of the chatbox, and manage mods / bans.
Re: change time out for chat
What feature is it that you have ? Can you copy the modify part or the code that runs it and paste it . Maybe that is all I need ?brandon_g wrote:No, I wanted to disable the feature all together! Its a pain in the royal A**.
Re: change time out for chat
This Freaking ridiculous! You mean tell us that on our own FORUM we cannot remove the time out feature!! Also please tell how reverse this CODE my members are gettting timed out like NUTS!
Re: change time out for chat
I also really need to restore back to before you gave me that code . Please . This immediate ( below ) is really bad .
(session timeout)
(session timeout)
Re: change time out for chat
@brandon_g,
It's as simple as going to JavaScript management, ticking the script you want to remove, and then clicking delete.
It's as simple as going to JavaScript management, ticking the script you want to remove, and then clicking delete.
I understand that you're frustrated, however, there is no reason to get upset with me, as it's not going to speed along my responses. It has been like this since the chatbox was introduced. If you were idle for a certain amount of time you will be disconnected from the chat.brandon_g wrote:This Freaking ridiculous! You mean tell us that on our own FORUM we cannot remove the time out feature!! Also please tell how reverse this CODE my members are gettting timed out like NUTS!
I could forward your query to Buttercup, however, as I mentioned it has been like this for awhile. If you were idle, you will be removed from the chat. Furthermore, there has never been any options to modify this timeout, other than user-side coding.azwiz wrote:I am sorry to hear that you do not know . Can you direct me to someone that does ?
Re: change time out for chat
For now I am deacivating my Chatbox and reactivating it I hope fixes the issue!
@ange I have done this! But it is still doing it! And I am not upset with you, I am upset with forumotion. This really frustrating that we can not control our own forum chatbox!
@ange I have done this! But it is still doing it! And I am not upset with you, I am upset with forumotion. This really frustrating that we can not control our own forum chatbox!
Re: change time out for chat
" user-side coding." Ok that must have been what I had . Whatever that is ? How do I get it and add it to my forum ? "there has never been any options to modify this timeout " Never is a pretty big word . Yesterday users in my chat remained in the chat for 30 minutes before the " session timeout " . You had me enter a code that took that 30 minutes away . I would like it back please .Ange Tuteur wrote:@brandon_g,
It's as simple as going to JavaScript management, ticking the script you want to remove, and then clicking delete.I understand that you're frustrated, however, there is no reason to get upset with me, as it's not going to speed along my responses. It has been like this since the chatbox was introduced. If you were idle for a certain amount of time you will be disconnected from the chat.brandon_g wrote:This Freaking ridiculous! You mean tell us that on our own FORUM we cannot remove the time out feature!! Also please tell how reverse this CODE my members are gettting timed out like NUTS!I could forward your query to Buttercup, however, as I mentioned it has been like this for awhile. If you were idle, you will be removed from the chat. Furthermore, there has never been any options to modify this timeout, other than user-side coding.azwiz wrote:I am sorry to hear that you do not know . Can you direct me to someone that does ?
Are you calling me a liar ?
It has been like this since the chatbox was introduced. If you were idle for a certain amount of time you will be disconnected from the chat.
I was able to set the damn time for any duration . This really making me mad . It is becoming evident that you are not qualified to handle this subject .
Please direct me to someone who can
Re: change time out for chat
session_start(); // 20 mins in seconds $inactive = 1200; $session_life = time() - $_session['timeout']; if($session_life > $inactive) { session_destroy(); header("Location: logoutpage.php"); } $_session['timeout']=time();
If this were the right code to log a user out after being inactive for 20 minutes ( I am assuming it is the right one ) . Where would I put it or enter it ?
If it isn't written right for this forum , could one of you use this and create one for me ?
IDK if php works in html
If this were the right code to log a user out after being inactive for 20 minutes ( I am assuming it is the right one ) . Where would I put it or enter it ?
If it isn't written right for this forum , could one of you use this and create one for me ?
IDK if php works in html
Re: change time out for chat
BTW why would I need or not need this ?
[size=12]Title * :Do you wish to use your forum header and footer ?[size=12] Yes No
If you check "No", you will have to make a full html page (with html, body, head ...).
In this case, when you edit the page, html editor is disabled.Use this page as homepage ? No Yes
If you check yes, you have to insert a link to forumotion.com[/size]Page content *
Here you can add HTML pages based on a source code editor allowing you to directly edit in HTML. This mode allows you a full control over the content of the page to ensure the quality of the document.
[/size]
HTML
- HTML pages management
- Add a HTML page
Items marked with a * are required.
[size=12]Title * :Do you wish to use your forum header and footer ?[size=12] Yes No
If you check "No", you will have to make a full html page (with html, body, head ...).
In this case, when you edit the page, html editor is disabled.Use this page as homepage ? No Yes
If you check yes, you have to insert a link to forumotion.com[/size]Page content *
Here you can add HTML pages based on a source code editor allowing you to directly edit in HTML. This mode allows you a full control over the content of the page to ensure the quality of the document.
[/size]
Re: change time out for chat
If it isn't a forumation chat . How do I find out who made it . It turns out I don't have a restore point for then .
I still don't understand how you can give a code that eliminates the duration and then you tell me that there never was a duration ?
@azwiz, If you need to add additional information you can use the edit button. As this is your fourth reminder you have received a warning.
Whatever . It's not like we had to cut down any tress to use a page . It's E space and it's infinite .
if you don't wish to use forumotion chat for what ever reason
No I don't want to change the chat . Way over my head . But I would like you to restore what you deleted yesterday Please .
or in a widget on your homepage or portal page by creating a new widget in
modules>homepage widgets or portal widgets
I don't know anything about the codes I would need . So that would not help me .
If I can only edit ? How do I qoute ?
session_start(); // 20 mins in seconds $inactive = 1200; $session_life = time() - $_session['timeout']; if($session_life > $inactive) { session_destroy(); header("Location: logoutpage.php"); } $_session['timeout']=time();
If this were the right code to log a user out after being inactive for 20 minutes ( I am assuming it is the right one ) . Where would I put it or enter it ?
If it isn't written right for this forum , could one of you use this and create one for me ?
IDK if php works in html
Well it looks like I accidentally deleted everything . Because of your warning . Oh well .... it . I am obviously not going to solve this anyway .
I still don't understand how you can give a code that eliminates the duration and then you tell me that there never was a duration ?
@azwiz, If you need to add additional information you can use the edit button. As this is your fourth reminder you have received a warning.
Whatever . It's not like we had to cut down any tress to use a page . It's E space and it's infinite .
if you don't wish to use forumotion chat for what ever reason
No I don't want to change the chat . Way over my head . But I would like you to restore what you deleted yesterday Please .
or in a widget on your homepage or portal page by creating a new widget in
modules>homepage widgets or portal widgets
I don't know anything about the codes I would need . So that would not help me .
If I can only edit ? How do I qoute ?
session_start(); // 20 mins in seconds $inactive = 1200; $session_life = time() - $_session['timeout']; if($session_life > $inactive) { session_destroy(); header("Location: logoutpage.php"); } $_session['timeout']=time();
If this were the right code to log a user out after being inactive for 20 minutes ( I am assuming it is the right one ) . Where would I put it or enter it ?
If it isn't written right for this forum , could one of you use this and create one for me ?
IDK if php works in html
Well it looks like I accidentally deleted everything . Because of your warning . Oh well .... it . I am obviously not going to solve this anyway .
Last edited by azwiz on December 20th 2014, 1:51 am; edited 7 times in total (Reason for editing : accidentally deleted other post)
Re: change time out for chat
@azwiz, If you need to add additional information you can use the edit button. As this is your fourth reminder you have received a warning.
User-side coding : I am referring to scripts you install on your forum to modify content yourself.
Never, as in there has not been any options in the admin panel to modify the chatbox timeout. If you have removed the script that FrOsTyXi provided and are encountering problems still, then it may be server side. What exactly is the "error" that you're getting, could you provide a screenshot ? This would help clarify things, because right now we're getting nowhere.
Lastly, I am Volunteer, I am trying to help you as best I can during my free time.
User-side coding : I am referring to scripts you install on your forum to modify content yourself.
Never, as in there has not been any options in the admin panel to modify the chatbox timeout. If you have removed the script that FrOsTyXi provided and are encountering problems still, then it may be server side. What exactly is the "error" that you're getting, could you provide a screenshot ? This would help clarify things, because right now we're getting nowhere.
Not at all, I am trying to explain to you that there have not been options in the admin panel. I have a question, was the chat that you were using before hosted by Forumotion, or was it third-party ?azwiz wrote:Are you calling me a liar ?
It has been like this since the chatbox was introduced. If you were idle for a certain amount of time you will be disconnected from the chat.
I was able to set the damn time for any duration . This really making me mad . It is becoming evident that you are not qualified to handle this subject .
Lastly, I am Volunteer, I am trying to help you as best I can during my free time.
Re: change time out for chat
@Ange did you forward our request to buttercup?
I would really like to see if we can get this resolved.
I thank you for all of your help you have offered at this time. I really do appericate it, along with the rest of forumotions team. I do apologize I can get over worked sometimes.
I would really like to see if we can get this resolved.
I thank you for all of your help you have offered at this time. I really do appericate it, along with the rest of forumotions team. I do apologize I can get over worked sometimes.
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: change time out for chat
azwiz i can second there is no option in the admin panel for the chat time out and never has there been ..i have been threw the whole admin panel multiple times helping people and working on my own stuff as well as ange has so we would have noticed this option if it was there .... if i remember correctly your chat had something to do with your with being in your
Homepage message
so i would have to assume the chat you was using was not forumotion chat ..maybe you can do a restore and get back the chat you was using i dont know
if you don't wish to use forumotion chat for what ever reason you can search google for chat widgets and place it in your
Homepage message
or in a widget on your homepage or portal page by creating a new widget in
modules>homepage widgets or portal widgets
Homepage message
so i would have to assume the chat you was using was not forumotion chat ..maybe you can do a restore and get back the chat you was using i dont know
if you don't wish to use forumotion chat for what ever reason you can search google for chat widgets and place it in your
Homepage message
or in a widget on your homepage or portal page by creating a new widget in
modules>homepage widgets or portal widgets
Page 1 of 2 • 1, 2
Similar topics
» Chat Box time out
» Chat-time for disconnection
» Chat box text color change/shadow change
» Change The Time
» Theme that change with time of day
» Chat-time for disconnection
» Chat box text color change/shadow change
» Change The Time
» Theme that change with time of day
Page 1 of 2
Permissions in this forum:
You cannot reply to topics in this forum