I want users notified by default of new book, forum and event posts and comments.
Notifications for book, forum and event are NOT being sent out. However, if I create a new content type for testing purposes, called announcements, notifications ARE sent out for announcements. I don't see any difference in the setup.
I looked at "Notifications not sending," http://drupal.org/node/623978, but think my problem is different.
I'm using Drupal 6.14, Messaging 6.x-2.1, Notifications 6.x-2.1 (enabled Content Notifications, Notifications, Notifications Autosubscribe, Notifications Lite, Notifications UI, Notifications Views), Custom subscriptions 6.x-2.0-beta2.
Settings:
admin/messaging/notifications/settings: Notify poster of own posts
admin/messaging/notifications/content: Set up for each content type on Administer Content Types.
Global options: Thread. Subscribe to all changes and comments for a thread.
Content type. Subscribe to all content of a given type.
Set all users to "autosubscribe" by default
admin/messaging/notifications/events: All checked (Notifications lite, node creation, update, comment)
admin/messaging/customsubs/csid/1/edit: New user subscription, Event type: Node, Fields: Node type Forum topic, Resource item (book), Event, User editable, will be shown to users., Enabled for new users (checked).
admin/content/node-type/event: Allowed subscription types: Thread and Content type. Same for Forum and Resource item (Book).
admin/messaging/customsubs/csid/2/edit: Testing new announcement content type, Event type: Node, Fields: Node type Announcement, User editable, will be shown to users., Enabled for new users (checked).
admin/content/node-type/announcement: Allowed subscription types: Thread and Content type.
Create new user: judy, user 59. Has 2 active subscriptions: "New user subscription" and "Testing new announcement content type" both checked. Default send interval: Immediately. Autosubscribe checked.
User admin creates a forum post. "Do not send notifications for this update" is NOT checked.
admin/messaging/subscriptions/overview Notifications in queue: 2
Run cron.php
Notifications in queue: 0
Users admin and hallman received notification messages (I think admin from Autosubscribe and hallman from content type subscription). But user judy did NOT receive notification.
User admin creates an Announcement. "Do not send notifications for this update" is NOT checked.
admin/messaging/subscriptions/overview Notifications in queue: 3
Run cron.php
Notifications in queue: 0
All three users (admin, hallman, AND judy) received notification.
I'm not a php or mysql person. I can dump out tables but can't make much sense out of what's there. Here are the notifications and notifications_custom tables.
admin is user 1, hallman is user 2, judy is user 59
select * from notifications;
+-----+-----+-----------------------------+------------+------------+---------------+-------------+------+---------------+--------+-------------+
| sid | uid | type | event_type | conditions | send_interval | send_method | cron | module | status | destination |
+-----+-----+-----------------------------+------------+------------+---------------+-------------+------+---------------+--------+-------------+
| 15 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 24 | 2 | nodetype | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 25 | 2 | nodetype | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 21 | 2 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 16 | 1 | grouptype | node | 2 | 0 | mail | 1 | notifications | 1 | |
| 10 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 11 | 1 | grouptype | node | 2 | 0 | mail | 1 | notifications | 1 | |
| 12 | 2 | grouptype | node | 2 | 0 | mail | 1 | notifications | 1 | |
| 14 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 17 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 18 | 2 | grouptype | node | 2 | 0 | mail | 1 | notifications | 1 | |
| 19 | 2 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 20 | 2 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 23 | 2 | nodetype | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 26 | 2 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 27 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 61 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 60 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 31 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 32 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 33 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 34 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 35 | 2 | nodetype | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 36 | 2 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 37 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 38 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 39 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 40 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 41 | 5 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 42 | 2 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 43 | 2 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 44 | 2 | custom_testing_announcement | node | 1 | 0 | mail | 1 | | 1 | |
| 45 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 47 | 2 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 48 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 59 | 59 | custom_testing_announcement | node | 1 | 0 | mail | 1 | | 1 | |
| 50 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 56 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 55 | 1 | thread | node | 1 | 0 | mail | 1 | notifications | 1 | |
| 58 | 59 | custom_new_user | node | 1 | 0 | mail | 1 | | 1 | |
+-----+-----+-----------------------------+------------+------------+---------------+-------------+------+---------------+--------+-------------+
select * from notifications_custom;
+------+-----------------------------+---------------------------------------+--------+---------------------------------------+-------------+------------+--------+----------+----------+------------+---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| csid | type | title | module | name | description | event_type | weight | required | register | visibility | default_value | fields |
+------+-----------------------------+---------------------------------------+--------+---------------------------------------+-------------+------------+--------+----------+----------+------------+---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 1 | custom_new_user | New user | | New user subscription | | node | 0 | 0 | 0 | 1 | 1 | a:3:{i:0;a:2:{s:4:"type";s:4:"type";s:5:"value";s:5:"forum";}i:1;a:2:{s:4:"type";s:4:"type";s:5:"value";s:4:"book";}i:2;a:2:{s:4:"type";s:4:"type";s:5:"value";s:6:"event2";}} |
| 2 | custom_testing_announcement | Testing new announcement content type | | Testing new announcement content type | | node | 0 | 0 | 0 | 1 | 1 | a:1:{i:0;a:2:{s:4:"type";s:4:"type";s:5:"value";s:12:"announcement";}} |
+------+-----------------------------+---------------------------------------+--------+---------------------------------------+-------------+------------+--------+----------+----------+------------+---------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Comments
Comment #1
danepowell commentedAs near as I can tell, you are only going to get notified if something posted is all of a forum AND book AND event2 content type. Custom subscriptions require all fields to be met, not just any fields. Does that make sense?
Comment #2
danepowell commentedComment #3
eft commentedcould #714622: Custom subscription role, description and UI clarification be an explanation of the OP's problem?
Comment #4
danepowell commentedI'm going to assume so, yes. Thanks.