Please add default notifications setting.
-
As per this pinned support thread, switching the functionality from “send new upload notification Emails by default unless the Group Member has specifically said that they don’t want them in their own Notifications Settings” to “don’t send such notifications by default unless the Group Member has specifically said that they do want them” is a matter of a simple change to one line of code near line #107 of the
inc/notifications.php
file.Problem is, we had no way of knowing that until the issue cropped up by us testing out this plugin. We were developing a BuddyPress site for an organization to replace their old hand-coded PHP 5.6 site that won’t work properly under PHP 7+ and bring them into at least the 2010s, and this was being done behind the scenes in a subdomain leaving the main domain pointing to the old site for now. We were going to reveal the new site to the users in a special meeting. But your plugin spilled the beans by sending out those Emails, which is bad. Very, very, bad.
The default all along should’ve been to not send out notifications. Opt-in, not opt-out. Always.
That said, I can see situations where having the default be as it currently is might be useful. So, this should be a setting in the Admin:
Notification Settings
For Members who have not specified a notofication preference for new uploads, default to:
◎ Send new upload notification Email.
◉ Don’t send new upload notification Email.The default should be as shown for new installations of the plugin. When upgrading an existing installation after implementing this feature, you may want to reverse the default for backwards compatibility, or, better yet, have the install script check line 107 of the already installed version of notifications.php file to see if the site admin has already used the workaround, and if so, keep the above default instead of using the backwards-compatible previous default.
- The topic ‘Please add default notifications setting.’ is closed to new replies.