New users don't get email notifications for private messages by default

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Scam Warning
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50562
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: New users don't get email notifications for private messages by default

Post by stevemaury » Thu Mar 17, 2016 1:06 pm

Please start your own topic.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

richey
Registered User
Posts: 612
Joined: Mon Feb 18, 2002 4:26 pm
Location: now@Cyberspace
Contact:

Re: New users don't get email notifications for private messages by default

Post by richey » Sat Mar 19, 2016 9:21 pm

As mentioned in another thread, I had exactly the same problem after converting from phpBB2 -> phpBB3, and for me, after months of trial and error, I found that setting the "Email package size" in ACP's "Email Settings" did the trick.

hope this helps,
r.
.

mike2003
Registered User
Posts: 90
Joined: Sun Mar 20, 2016 12:10 am

Re: New users don't get email notifications for private messages by default

Post by mike2003 » Sun Mar 20, 2016 12:14 am

ZemSharp wrote:Enjoy your default email notifications ;)
does not work
I receive an error like

Code: Select all

Parse error: syntax error, unexpected ''S_ZEBRA_FRIENDS_EN' (T_ENCAPSED_AND_WHITESPACE) in Z:\T\xampp\htdocs\phpBB3\includes\functions_user.php on line 3717

papaformigas
Registered User
Posts: 28
Joined: Mon Feb 15, 2016 10:44 am

Re: New users don't get email notifications for private messages by default

Post by papaformigas » Sun Mar 20, 2016 2:48 am

Hi Richey,
richey wrote: I found that setting the "Email package size" in ACP's "Email Settings" did the trick.

To what value did you set this "Email package size". By default system value is "20". Should I increase this value? What does this parameter means?? What is ts function??

richey
Registered User
Posts: 612
Joined: Mon Feb 18, 2002 4:26 pm
Location: now@Cyberspace
Contact:

Re: New users don't get email notifications for private messages by default

Post by richey » Sun Mar 20, 2016 9:51 am

Silly me forgot to mention that I set it it '0' (zero). :oops: :)
.

User avatar
peopleinside
Registered User
Posts: 192
Joined: Sat Jan 31, 2015 10:37 pm
Name: Marco
Contact:

Re: New users don't get email notifications for private messages by default

Post by peopleinside » Fri Apr 22, 2016 11:09 am

Thank you for this topic and for the solution!

If you want activate ALL email notification by default for new registered user, you should edit file:
includes/functions_user.php

find the line:

Code: Select all

 if ($notifications_data === null) 
so replace:

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',
         ),
      );
   }
   
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',
         ),
         array( // Enable "Email notification on new private messages" by default.
            'item_type' => 'notification.type.pm',
            'method'    => 'notification.method.email',
         ),
         array( // Enable "Email notification when you are quoted in a message" by default.
            'item_type' => 'notification.type.quote',
            'method'    => 'notification.method.email',
         ),
         array( // Enable "Email notification on bookmark topic reply" by default.
            'item_type' => 'notification.type.bookmark',
            'method'    => 'notification.method.email',
         ),
         array( // Enable "Email notification on approved message" by default.
            'item_type' => 'moderation_queue',
            'method'    => 'notification.method.email',
         ),
      );
   }
I like user is always informed about something happen in the forum and only if user don't want email can deactivate IT so hope this post will help.

richey
Registered User
Posts: 612
Joined: Mon Feb 18, 2002 4:26 pm
Location: now@Cyberspace
Contact:

Re: New users don't get email notifications for private messages by default

Post by richey » Fri Apr 22, 2016 3:57 pm

As I've posted in another thread, I was able to get phpBB to send email notifications by setting "Email package size" to 0 in "ACP -> Email settings". No idea why, but that did the trick for me.

hope this helps,
r.
.

Bullseye!
Registered User
Posts: 170
Joined: Sun Mar 21, 2010 11:42 pm

Re: New users don't get email notifications for private messages by default

Post by Bullseye! » Sat May 14, 2016 6:56 pm

I'll give it another shot then.. thank you :)


~John~

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50562
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: New users don't get email notifications for private messages by default

Post by stevemaury » Sat May 14, 2016 11:41 pm

My thought is that forcing email on users who did not request it is spam. Hence the default setting.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

User avatar
peopleinside
Registered User
Posts: 192
Joined: Sat Jan 31, 2015 10:37 pm
Name: Marco
Contact:

Re: New users don't get email notifications for private messages by default

Post by peopleinside » Sun May 15, 2016 7:33 am

stevemaury wrote:My thought is that forcing email on users who did not request it is spam. Hence the default setting.
This is correct but is SPAM when you cannot stop email. If notification have an easy link for unsubscribe so deactivate the notification is good.

Sometimes I see if email notification is not sent on for example PM (private Message) can pass different time before user discover IT.
Or if user are not subscribe to the topics where reply or made post and not receive any email (as default) when some one reply will be more difficult or will take more time before a reply is read.
I understand anyway you.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66479
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: New users don't get email notifications for private messages by default

Post by Lumpy Burgertushie » Sun May 15, 2016 1:50 pm

no, it is spam when you did not request the email to begin with.

if you want to get email when a reply is made, you subscribe to the forum.

if you want an email when you get a PM, you choose that in your settings.

etc.
etc.

if you want to know what is going on at a bulletin board that you are a member of, you visit that board to find out what new posts are made, etc. etc.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50562
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: New users don't get email notifications for private messages by default

Post by stevemaury » Sun May 15, 2016 2:12 pm

If they know how to opt out, they should know how to opt in.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

parshakov
Registered User
Posts: 36
Joined: Sun Jul 28, 2013 8:03 pm

Re: New users don't get email notifications for private messages by default

Post by parshakov » Sun May 15, 2016 4:36 pm

stevemaury wrote:If they know how to opt out, they should know how to opt in.
Maybe the users of this forum do, but most people are not tech-savvy to any degree and have no idea they can do either, and they get really pissed when they miss an important PM. And when you have a forum where people come to seek advice on how to treat a sick/injured animal, getting no notifications by default may cause the death of the animal. This is so weird that I have to go and hack the code in order to make sure that new user get PM notifications by default. I hope phpBB 3.2 will at least have a setting in ACP for that.

User avatar
peopleinside
Registered User
Posts: 192
Joined: Sat Jan 31, 2015 10:37 pm
Name: Marco
Contact:

Re: New users don't get email notifications for private messages by default

Post by peopleinside » Sun May 15, 2016 5:03 pm

parshakov wrote:
stevemaury wrote:If they know how to opt out, they should know how to opt in.
Maybe the users of this forum do, but most people are not tech-savvy to any degree and have no idea they can do either, and they get really pissed when they miss an important PM. And when you have a forum where people come to seek advice on how to treat a sick/injured animal, getting no notifications by default may cause the death of the animal. This is so weird that I have to go and hack the code in order to make sure that new user get PM notifications by default. I hope phpBB 3.2 will at least have a setting in ACP for that.
Maybe the solution for make all happy is create a wizard on the user registration who let the user to choose all email notification to activate or not. So issue resolved :) so maybe as user put his name, email etc should be a section where user should select if activate notification for all or just some services.

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50562
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: New users don't get email notifications for private messages by default

Post by stevemaury » Sun May 15, 2016 5:16 pm

parshakov wrote: I hope phpBB 3.2 will at least have a setting in ACP for that.
It won't. You could post an Announcement explaining how to get PM email notification.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Post Reply

Return to “phpBB Discussion”