Closed (duplicate)
Project:
Notify
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2004 at 08:20 UTC
Updated:
21 Dec 2006 at 22:43 UTC
Jump to comment: Most recent file
Comments
Comment #1
killes@www.drop.org commentedGood idea. How shoul dthe interface for this look like? Would you only want to enable it for new users or also for existing ones?
Comment #2
qgil commentedOne suggestion could be (ammending my English):
- Add in admin/settings/notify:
By default, users have notifications [disabled / enabled - only new users / enabled - all users] (((drop down menu with "disabled" intially selected)))
(((when enabled, the same "Detail settings" as user/n/notify could be configured to define the content sent by default in the notifications. Then the following text)))
IMPORTANT:
If you enable notifications by default it is strongly recommended to state this policy in the registration message (((link to admin/user/configure))). Selecting enabled - all users will override current users' preferences, use this feature carefully.
Comment #3
xand commentedAn admin interface which would encompass my feature request http://drupal.org/node/15460 and this one is probably best implemented as an additional tab, probably labelled something like "users"
This would list each user and their settings for the notify module. It is probably easiest to use dropdown boxes if there are three settings and checkboxes for those where there are two settings (e.g. notification on/off)
It might also be a better idea to put this under admin/users, much like the profile.module interfaces with that module.
Comment #4
pamphile commentedAny news on this update ?
Comment #5
pamphile commentedSelect * from users
See if user exists in notify list
If user does not exist, use one of the inserts below:
Title only
INSERT INTO `notify` (`uid`, `status`, `node`, `comment`, `attempts`, `teasers`) VALUES (1, 1, 1, 1, 0, 0);
Title + Teaser
INSERT INTO `notify` (`uid`, `status`, `node`, `comment`, `attempts`, `teasers`) VALUES (1, 1, 1, 1, 0, 1);
Title + Body
INSERT INTO `notify` (`uid`, `status`, `node`, `comment`, `attempts`, `teasers`) VALUES (1, 1, 1, 1, 0, 2);
http://01debug.com
Comment #6
dreed47 commentedI provided a patch for this issue here http://drupal.org/node/25215.
It does not provide an option to turn on notifications for all users. I can see how this might be helpful in some situations but I'm also very concerned about people using it on a live site where many users many have explicitly turned off notifications for their account.
Comment #7
dtan commentedIf you could create a seperate patch and post here that would be great. How about adding a configuration option for the default new users. Perhaps create a new group in the settings which mirrors the user notify settings, which will then be applied to new users (if the settings is on). This would be instead of the default 1, 1, 1, 1 you have now. What do you think?
Comment #8
dreed47 commentedHere's a patch with the defaults hard-coded. If I get a chance over the next week or so I'll take a shot at adding the options on the settings page.
Comment #9
tain commented*bump*
Comment #10
tain commentedThat patch doesn't work on current versions of the module.
I am not a coder/patcher, but was able to get the defaults changed by doing this....
In notify.module, find
function notify_userAnd, inside (on the next line) of this:
switch ($type) {, insert this code:Comment #11
RobRoy commentedNeed a re-roll against HEAD. We really just need a way to turn notify on for all users. I'm thinking for 4.7 we'll skip the mass enable for existing users as the operations hooks in D5 will make this easier. For 4.7 however, we should probably have a default on/off for new users in settings/notify or allow them to opt-in at registration http://drupal.org/node/39915.
Comment #12
kthagen commentedI think that this functionality is covered by the patch here, and it will probably be easier to repatch that against HEAD. So I'm marking this issue a duplicate.