What about people who doesn't speak English or plurals? Should users write 1 day and 2 days?kasimi wrote:No selector needed, just type
i have noticed in several versions of mChat that on initial load of the page with chat that the message window is not scrolled all the way to the bottom on sites with a lot of js in them. i have reported this to dmzx on his site as well as to Martin on his and it still has this random issue that they seem to not see. i tested this on several different computers/laptops using firefox and chrome. that being said, when i had designed my chat for messages scrolling up, to avoid that issue, i set it up to use mainly css to control the scroll and that method seems to work across all browsers that i have tested with as well as devices. i'm just letting you know that there is another way to control message scrollkasimi wrote:This sure sounds like a bug. To be clear, this happens even if you don't touch the scrollbars? How often does that happen? Is there any special content (BBCode, image, content from another extension) in those messages that stop the auto-scrolling?
Can you point me to an example or to the respective code in your extension?spaceace wrote:i set it up to use mainly css to control the scroll
phpBB uses migrations to populate the database. You can find mChat's migrations inLeggy wrote:in which file i can find the mchat's database original mysql tables entries
kasimi wrote:Can you point me to an example or to the respective code in your extension?
Thanks for the help, creating the tables on a fresh install worked, thanks for that, very much appreciated.kasimi wrote:No, that won't work. Running all migrations while some of the schema is still present will likely produce errors. I would try this: install a clean board with only mChat, export the schema that is missing on your live board and import it in on your live board. No idea if it works but that would be my second approach. The first one is restoring a backup.
Thanks for confirming. It might help others in the future.Leggy wrote:Thanks for the help, creating the tables on a fresh install worked, thanks for that, very much appreciated.
dmzx reported a similar issue with the flash BBCode. It looks like mChat's scrolling fails because the height is calculated before the full content is loaded. I got it fixed by continuing to scroll until the bottom is reached. For those who want to test the code: https://github.com/kasimi/mChat/commit/ ... 9ce616ae66spaceace wrote:the js part
setInterval(). As far as I can see you never cancel the timeout and start another one for each new message which starts clogging your CPU pretty heavily because of the constant checks whether the message container needs scrolling.
To make sure the permission takes effect go to the ACP -> Users & Groups -> Manage user page for a user who has this problem. Go the Preferences page of that user and make sure the optionMarshmellooo wrote:i've change the permissions
Location on the index pageis greyed out and set to bottom. If it isn't greyed out you missed a permission.