Page 98 of 98

Re: [3.1][3.2][RC] mChat

Posted: Thu Dec 15, 2016 6:15 pm
by mark5228
In extension management when i try to enable it, it comes up The selected extension cannot be enabled, please verify the extension’s requirements.
I have php 5.5 and 3.1.10

Re: [3.1][3.2][RC] mChat

Posted: Thu Dec 15, 2016 6:33 pm
by kasimi
The only reason for this that I can think of is that the phpBB version isn't defined correctly.

Open [board root]/includes/constants.php
Find // phpBB Version
What does the line below that one say?

Re: [3.1][3.2][RC] mChat

Posted: Thu Dec 15, 2016 7:21 pm
by mark5228
// phpBB Version
define('PHPBB_VERSION', '3.1.6');

should i change that to 3.1.10

Re: [3.1][3.2][RC] mChat

Posted: Thu Dec 15, 2016 7:57 pm
by kasimi
It looks like your update from 3.1.6 to 3.1.10 didn't complete successfully. By simply changing the version to 3.1.10 you will be able to install mChat but you might run into problems if other parts of the code are still from 3.1.6. It can cause problems with other extensions as well.

The only real solution is to make sure all your phpBB files are up to date.

Re: [3.1][3.2][RC] mChat

Posted: Thu Dec 15, 2016 8:43 pm
by GoBieN
Run the automatic update package, it should detect files that are not up to date.
https://www.phpbb.com/downloads/?mode=u ... sion=3.1.6

Re: [3.1][3.2][RC] mChat

Posted: Fri Dec 16, 2016 10:47 am
by mark5228
thanks for the reply ive got it up and running now. I have edited prosilver colours to a style i like so you cant see the message_icons_black i cant find where to change this to show the message_icons_white.png.
Image

Re: [3.1][3.2][RC] mChat

Posted: Fri Dec 16, 2016 10:54 am
by kasimi
Glad you got it working. :) [HowTo] White icons for dark styles

Re: [3.1][3.2][RC] mChat

Posted: Fri Dec 16, 2016 12:45 pm
by rahlzel
This is new. Just got a message from our web host about mChat:

"You have an auto-refreshing script that uses a notable amount of CPU and is triggering every 10 seconds, causing a higher load on the machine and some overall performance problems."

My Refresh Interval is set to 10 seconds. That's the only script I can think of that's running.

Here are my current settings: http://i.imgur.com/0HDAmdj.png

Phpbb 3.1.9
mChat 2.0.0-RC7

Re: [3.1][3.2][RC] mChat

Posted: Fri Dec 16, 2016 2:15 pm
by mrgtb
rahlzel wrote:This is new. Just got a message from our web host about mChat:

"You have an auto-refreshing script that uses a notable amount of CPU and is triggering every 10 seconds, causing a higher load on the machine and some overall performance problems."

My Refresh Interval is set to 10 seconds. That's the only script I can think of that's running.

Here are my current settings: https://goo.gl/photos/6ffJKyG2QznWXQjC8

Phpbb 3.1.9
mChat 2.0.0-RC7
That is what your host means. The shoutbox is refreshing every 10 seconds to show any new messages in it and some shared host don't like people running things like a shoutbox with a forum doing it... because it does increase CPU usage on the shared box. Unfortunately, that is a problem with using a shoutbox on a shared host, many don't like it done.

You could increase it from 10 seconds to something like 20 or 30 seconds instead (not ideal) if being used a lot though, also make sure your not pulling too many shouts at once in shoutbox pages being loaded. Limit it on forum home to about 10 shouts only displayed, and about 20 on shoutbox main page. But most likely your host now isn't happy about you running it with the forum. They might end up telling you to get a VPS with them if wanting to carry on using it.

You might also consider using a different shared host. I run MCHAT refreshing at 10 seconds with my shared host for a few months now and they've not complained about it, and see looking a resources monitor in cPanel I've had no issues logged with it used and CPU stays low around 6.0 to 6.2 usage out 100%, which is nothing.

Re: [3.1][3.2][RC] mChat

Posted: Fri Dec 16, 2016 9:52 pm
by rahlzel
Thanks, mrgtb.

On another note, mChat has been working fairly well for me for about a year now, but recently it is no longer refreshing. It makes a beep noise and displays an "Error Forbidden" at every 30 second refresh interval, and then displays "Update is off" at the bottom: http://i.imgur.com/2no8EEg.png

I didn't have this issue with versions before v2.0.0, but they are no longer on your Releases page so I can't test them. I'm also reasonably sure I didn't have the issue with v2.0.0 RC-5, so I might try wiping mChat and reinstalling that to see if I can duplicate the issue.

My full settings page: http://i.imgur.com/t1rIoIe.png

This might have something to do with my web host, too. Perhaps they sent me the warning I posted above and then did something to limit the script at the same time. I'll check with them as well.

phpBB 3.1.9
mChat 2.0.0-RC7

EDIT: Nevermind. This was my web host editing my htaccess file without my knowledge. Having a script running more than once every 30 seconds is against their rules (very basic hosting package), but it would've been nice for them to inform me of the edit. Anyway, thanks for this great extension.

Re: [3.1][3.2][RC] mChat

Posted: Thu Dec 29, 2016 11:20 pm
by boogi
I hava a proposition - in archive view, sort messages from older (top) to newer (down), so they are easier to read. Now when you read archive, you have to read it from down to top which is awkward. This setting is independent from "new messages location" in normal (not archive) chat window.

Re: [CDB] mChat

Posted: Fri Dec 30, 2016 4:20 pm
by kasimi
Yes, I agree. I was always confused by the reversed order of messages in the archive. Here's a ticket you can follow: https://github.com/kasimi/mChat/issues/13


Meanwhile, mChat has been successfully validated. Thanks to everyone who helped getting mChat to where it is today. :)

mChat in the CDB: https://www.phpbb.com/customise/db/exte ... extension/

Further support: https://www.phpbb.com/customise/db/exte ... on/support