ManOnDaMoon
Well-known member
Sorry but without the info I asked for, I cannot help you. Once again, can you tell me which JS file is causing trouble ? At least copy/paste an error message where you found that the file could not be fetched.
As soon as I get home, sure!Sorry but without the info I asked for, I cannot help you. Once again, can you tell me which JS file is causing trouble ? At least copy/paste an error message where you found that the file could not be fetched.
I am currently investigating this issue with The Dark Wizard, but I'm interested in your config.php file and a copy of your AJAX-Chat settings for me to have a look. Do not forget to mask your DB credentials.
Just sent you a PM. Removing the DB credentials would not help, I need at least a testing environment with a valid DB user that may have only temporary access.Do you still want access to my admincp on my dev site? I'd have to remove the DB credentials.
This version fixes a missing uninstallation callback. Sorry for this. For those with the bug described there, please reinstall and uninstall again.
Hi and thanks for the suggestion.Manondamoon,
Just installed on test board and this seems to work great. One question though - when testing using an Ipad the text box seems too long - is there any easy way to shorten the chat box length (top to bottom) so that Ipad users don't have to continually scroll up and down (the 'pop-up' keyboard means the screen moves down and therefore you cant see any posts at the top on earlier messages when joined....)?
Thanks
Paul
Any progress with The Dark Wizards problem because I am having the same issue.
I am currently investigating this issue with The Dark Wizard, but I'm interested in your config.php file and a copy of your AJAX-Chat settings for me to have a look. Do not forget to mask your DB credentials.
Great! I will investigate further in order to find why this option is causing problems.
It is not a CDN issue, but as far as I have figured out, it is more probably a bug in the way AJAX-Chat handles its timestamps. Also, it explains why some people have the issue and I am still unable to reproduce it on my own install.
This is the line that causes the issue.
AJAX-Chat inserts messages in the database using the MySQL function NOW() for the message timestamp (it is not a Unix timestamp).
When the "Request Message Prior Channel Enter" option is checked, AJAX-Chat uses MySQL operators (INTERVAL, among others) to compare timestamps.
But when the "Request Message Prior Channel Enter" option is unchecked, AJAX-Chat uses the PHP date() function to format the timestamps and feeds them to MySQL instead of using MySQL operators. Due to timezones differences betweent PHP and MySQL configurations, this is causing :
1) for you and the darkwizard, a time offset that means you would have to wait several hours online before seeing the chat messages ;
2) for me, a negative time offset that forces previous messages to display event if the RMPCE option is disabled!
This is either an AJAX-Chat core issue or a configuration requirement. I'm getting in touch with the main AJAX-Chat developper to clarify this. In the meantime I'll provide a quickfix in next update.
We use essential cookies to make this site work, and optional cookies to enhance your experience.