Suggestion: Option for 'Enter' to send the message

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
antonjw
New member
New member
Posts: 16
Joined: 17 Oct 2013, 21:13
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Suggestion: Option for 'Enter' to send the message

Postby antonjw » 06 Dec 2014, 12:01

Hi Rich,

Liking the larger, improved text box in the latest version of mChat. However, most of my users, and myself, type in pretty short messages into the chat box. Usually, you're not typing separate paragraphs, and of course, to use that dreaded analogy... folks are quite used to hitting enter into Facebook, and that is part of what makes such chat very speedy and instant-feeling.

I was wondering, would it be possible to have an ACP setting where we could choose if we want 'Enter' to do the sending, or not? I would choose to have it, because the vast majority of people are not being verbose in mChat.

I would think they are more than likely used to Shift+Enter by now from using Facebook, if they wish to separate sentences.


Thanks,

Anton

antonjw
New member
New member
Posts: 16
Joined: 17 Oct 2013, 21:13
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Suggestion: Option for 'Enter' to send the message

Postby antonjw » 06 Dec 2014, 12:26

So I just noticed the UCP setting, 'Input Mode' or 'TextArea Mode', and I guess that Input Mode is still driven by the Enter button? (wasn't able to set it, as during the upgrade I didn't run the SQL script to create that new field).

If I run that script, presumably it will only create that new field, and leave all other database entries for mchat as they are?

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Suggestion: Option for 'Enter' to send the message

Postby RMcGirr83 » 06 Dec 2014, 12:35

It will add what is missing and leave others alone.

antonjw
New member
New member
Posts: 16
Joined: 17 Oct 2013, 21:13
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Suggestion: Option for 'Enter' to send the message

Postby antonjw » 06 Dec 2014, 19:54

Marvellous, thankyou.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Modders MOD support”

Who is online

Users browsing this forum: No registered users and 5 guests