MyBB Community Forums

Full Version: Change max. recipients
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Quote:You may send this message to a maximum of 5 people.

How to change this number?
it is based on Group permissions
Admin Panel >> Users & Groups >> Groups >> Edit User Group (by clicking on Group name) >>
Users and Permissions (tab) --> Private Messaging --> Maximum Recipients Per Message
Hmm, I set for 10 but still I add only 3 recipients :/

Here is the same problem: [attachment=32396]
yes, there is a bug ..
How we can fix it?
Confirmed - it is a bug Sad
Here's a temporary fix (needs to be adjusted to take into account group limits):

Open up the "private_send_autocomplete" templatebit and change "maximumSelectionSize: 3," to whatever you need it to be.
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/1427

Thanks for contributing to MyBB!

Regards,
The MyBB Group
Templates & Style > Templates > Template > Private Messaging Templates > private_send_autocomplete

Change:
maximumSelectionSize: 3,
to
maximumSelectionSize: "{$max_recipients}",
That's not a fix, $max_recipients is a string: https://github.com/mybb/mybb/blob/featur...e.php#L922 The number is just $mybb->usergroup['maxpmrecipients'] but that's not a complete fix either, I'm working on a PR,
Pages: 1 2