That is the standard setting. They will get a board notification, but not email unless they select that.parshakov wrote:New users on my board do not get email notifications for private messages by default.
They are probably in the Newly Registered Users group which has the permission to send PMs disabled.parshakov wrote:Two users aslo reported that they could not send private messages to other users but I could not replicate this problem.
ACP > PERMISSIONS > Global Permissions > Group permissions > Newly Registered Users > Advanced permissions > Private messages > Can send private messages = Noparshakov wrote:How can I make PMs enabled by default for new users?
I don't want to ask all new users to go to their CP and change this setting manually as soon as they log in. Please help me make email notifications the default setting for PM!Oyabun1 wrote:That is the standard setting. They will get a board notification, but not email unless they select that.parshakov wrote:New users on my board do not get email notifications for private messages by default.
Unfortunately, it didn't work in my case (see the first post)stevemaury wrote:This should still work in 3.1 - https://www.phpbb.com/support/docs/en/3 ... nd-values/
Code: Select all
// Use default notifications settings if notifications_data is not set
if ($notifications_data === null)
{
$notifications_data = array(
array(
'item_type' => 'notification.type.post',
'method' => 'notification.method.email',
),
array(
'item_type' => 'notification.type.topic',
'method' => 'notification.method.email',
),
);
}
Code: Select all
// Use default notifications settings if notifications_data is not set
if ($notifications_data === null)
{
$notifications_data = array(
array(
'item_type' => 'notification.type.post',
'method' => 'notification.method.email',
),
array(
'item_type' => 'notification.type.topic',
'method' => 'notification.method.email',
),
array( // Enable "Email notification on new private messages" by default.
'item_type' => 'notification.type.pm',
'method' => 'notification.method.email',
),
);
}
ZemSharp wrote:Hi there,
I was facing the same issue but I solved it so I come back to give the answer :
Open functions_user.php
Locate the lines :Replace with :Code: Select all
// Use default notifications settings if notifications_data is not set if ($notifications_data === null) { $notifications_data = array( array( 'item_type' => 'notification.type.post', 'method' => 'notification.method.email', ), array( 'item_type' => 'notification.type.topic', 'method' => 'notification.method.email', ), ); }
Enjoy your default email notificationsCode: Select all
// Use default notifications settings if notifications_data is not set if ($notifications_data === null) { $notifications_data = array( array( 'item_type' => 'notification.type.post', 'method' => 'notification.method.email', ), array( 'item_type' => 'notification.type.topic', 'method' => 'notification.method.email', ), array( // Enable "Email notification on new private messages" by default. 'item_type' => 'notification.type.pm', 'method' => 'notification.method.email', ), ); }