ElkArte Community

Elk Development => Bug Reports => Topic started by: eisenherzz on July 01, 2016, 05:24:43 am

Title: Current Board Notifications
Post by: eisenherzz on July 01, 2016, 05:24:43 am
I noticed something strange regarding the Current Board Notifications. Having the very same configuration than the admin account, "normal" users never receieve an email whereas my admin account gets emails as I would expect them. Is this known behaviour, a bug or just me doing something stupid.

Thanks for helping me here.
Title: Re: Current Board Notifications
Post by: emanuele on July 01, 2016, 07:54:27 am
Hi eisenherzz and welcome. :)

The two settings:
"For topics and boards I've requested notification on, notify me"
and
"Notify me of topics and boards I've requested notification on"
are set to the same for both accounts?
Title: Re: Current Board Notifications
Post by: eisenherzz on July 02, 2016, 08:38:28 am
admin and normal user have the same configuration regarding the notifications. Admin account gets an email when a new topic started, the other users not. Is there a global setting I oversaw?
Title: Re: Current Board Notifications
Post by: emanuele on July 02, 2016, 09:56:24 am
I think I found the issue, if @Spuds can confirm it. :P

In validateNotificationAccess, if "maillist" one of the checks is to determine if we are allowed to "post-by-email" on a specific board (see lines from 836 to 843 (https://github.com/elkarte/Elkarte/blob/e7e6d32ca24365a11dde18f936dc2ff86dd52dc7/sources/subs/Notification.subs.php#L836)).
But, if we are posting "normally", this permission should not be checked (or at least it should check if the user is allowed to post "normally").
Anyway, the reason is not sending the notifications is because this permission is not granted to the group (I think)... that said, if the post by email is enabled.
Title: Re: Current Board Notifications
Post by: Spuds on July 02, 2016, 03:32:28 pm
I'm not sure this is a post by email issue or not ... if @eisenherzz can confirm he has enabled the maillist functions or if this is just a standard "a new topic was started" message that you would get if the maillist functions are off.
Title: Re: Current Board Notifications
Post by: emanuele on July 02, 2016, 04:25:44 pm
Yep, on this very site, I feel notifications are not send out for this reason (at least for my account that has a moderator as primary group).
Title: Re: Current Board Notifications
Post by: Spuds on July 02, 2016, 05:06:15 pm
Sounds like you have confirmed it them  :D
Title: Re: Current Board Notifications
Post by: eisenherzz on July 04, 2016, 02:38:25 am
Post by e-mail (mailinglist) is activated on my board (and assumedly I am the only one using it). So by deactivating this feature as a workaround, notifications will work again? Will test it this evening.
Title: Re: Current Board Notifications
Post by: emanuele on July 04, 2016, 04:37:14 am
Yep, that's my suspect.
Title: Re: Current Board Notifications
Post by: eisenherzz on July 05, 2016, 08:08:36 am
Can confirm this is a workaround. I temporarily deactivated mailinglist feature and notifications work again for non admin users.