@ admin/user/user, there is an Update option to "Add subscription for selected users". When trying to use it, the message "0 users have been subscribed" will present, regardless of the number of unsubscribed users that are chosen.

notifications_custom.module's hook_user_operations() callback is 'notifications_custom_user_multiple_subscribe'. This function passes each of the $uids to notifications_custom_get_subscription() to determine if a subscription already exists for the user. However, notifications_custom_get_subscription() expects a user object to be sent rather than just a uid.

Comments

Skidz’s picture

I have the same issue. When I first used the bulk subscription feature, I was able to subscribe the first 50 users in the list (selected all users checkbox), and then when I moved to the second page and did the same, I got the '0 users have been subscribed' message. The module isn't throwing any errors. Now if I try subscribing any number of users from the users page using filters, be it a single user or multiple users, I get the same result.

nicktr’s picture

The patch on this page fixes this issue.
http://drupal.org/node/1099530

roball’s picture

Priority: Normal » Major
Status: Active » Closed (duplicate)