Chatbox problem
3 posters
Page 1 of 1
Chatbox problem
Greetings!
i haven't found a topic about this one. If there is one, please, tell me, but I could'nt find one.
Recently we experience a chat problem in our forum. I'm not the admin here, but the founder asked me to report this problem, so we will be able to see if there is a solution for this.
This problem occured to me, and for several users too. When I send a message to the chatbox, it stops refreshing. The message is still sent however, but the chat does not refresh itself. If I refresh the whole page, the chatbox is fine again for a few moments.
This is happening since the server change of forumotion.
Link to our forum:
http://swordartonline.lifeme.net/
Thanks in advance.
EDIT: Solvedi haven't found a topic about this one. If there is one, please, tell me, but I could'nt find one.
Recently we experience a chat problem in our forum. I'm not the admin here, but the founder asked me to report this problem, so we will be able to see if there is a solution for this.
This problem occured to me, and for several users too. When I send a message to the chatbox, it stops refreshing. The message is still sent however, but the chat does not refresh itself. If I refresh the whole page, the chatbox is fine again for a few moments.
This is happening since the server change of forumotion.
Link to our forum:
http://swordartonline.lifeme.net/
Thanks in advance.
Last edited by Suwun on November 10th 2014, 7:27 pm; edited 1 time in total
Suwun- New Member
- Posts : 15
Reputation : 1
Language : Hungarian
Re: Chatbox problem
Hello Suwun,
As far as I know I believe it has been reported, but I'll double check to make sure. For the moment you can force refresh the chatbox by clicking this button :
As far as I know I believe it has been reported, but I'll double check to make sure. For the moment you can force refresh the chatbox by clicking this button :
Re: Chatbox problem
I'd try to deactivate and then activate the chatbox from within the ACP. Did you already try that?
It's in the MODULES tab -> Chatbox -> Configuration. Select "Activate the chatbox" > NO, press VALIDATE, then select "Activate the chatbox" > YES, press VALIDATE.
It may come back to life again!
It's in the MODULES tab -> Chatbox -> Configuration. Select "Activate the chatbox" > NO, press VALIDATE, then select "Activate the chatbox" > YES, press VALIDATE.
It may come back to life again!
Guest- Guest
Re: Chatbox problem
I'm going to ask he admins to do that. We will see if that fixes the problem. ^^
Force refresh works, but it would be uncomfortable to always do that.
Force refresh works, but it would be uncomfortable to always do that.
Suwun- New Member
- Posts : 15
Reputation : 1
Language : Hungarian
Re: Chatbox problem
It works, but it's not ideal. ^^
I wrote a quick script that will click the refresh button every second, but it can be adjusted. If the problem still persists you may tell them this :
Go to Administration Panel > Modules > JavaScript codes management
Make sure JS management is enabled and create a new script.
Title : Your choice
Placement : In the homepage ( if the chat is in the homepage )
Paste the code below and submit :
In the script is this variable :
It determines how often the chat is refreshed. 1000 = 1 second, 2000 = 2 seconds, and so on..
I wrote a quick script that will click the refresh button every second, but it can be adjusted. If the problem still persists you may tell them this :
Go to Administration Panel > Modules > JavaScript codes management
Make sure JS management is enabled and create a new script.
Title : Your choice
Placement : In the homepage ( if the chat is in the homepage )
Paste the code below and submit :
- Code:
$(function() {
var refresh_rate = 1000, // 1000 = 1 second, 5000 = 5 seconds..
fa_chat = document.getElementById('frame_chatbox'), frame;
if (!fa_chat) return;
fa_chat.onload = function() {
if (fa_chat.contentDocument) frame = fa_chat.contentDocument;
else if (fa_chat.contentWindow) frame = fa_chat.contentWindow.document;
var a = frame.getElementsByTagName('A'),i;
for (i=0; i<a.length; i++) if (/archives/.test(a[i].href)) a[i].onclick = function() { window.clearInterval(_chat_refresh) };
_chat_refresh = window.setInterval(function() {
var ref = frame.getElementsByTagName('A'),j;
for (j=0; j<ref.length; j++) if (/ajax_refresh_chatbox/.test(ref[j].onclick)) ref[j].click();
},refresh_rate);
}
});
In the script is this variable :
- Code:
var refresh_rate = 1000,
It determines how often the chat is refreshed. 1000 = 1 second, 2000 = 2 seconds, and so on..
Re: Chatbox problem
Thank you for the help. It seems like disabling, then enabling the chatbox worked fine. If anything goes wrong again, I'll tell the admins to use this script. They don't really like codes at all, even though it's not a problem for me. xD But well, I'm just a user there, who is there to help.
Problem solved. ^^ Thank you for the responses.
Problem solved. ^^ Thank you for the responses.
Suwun- New Member
- Posts : 15
Reputation : 1
Language : Hungarian
Re: Chatbox problem
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum