Actually, you can pull up all users (or any entity) based on a field value by using the 'Fetch entity by property' action.
Since users (and nodes, and comments, etc) are all entities, you can use this action to pull up a list of users with a certain value in a field.
In your rule, that gets fired upon the update of a node, simply
add the 'Fetch entity by ...
When I write a comment on a node, I want to be able to select the users that will get a notification about that new comment.
1) Download Rules and Entity Reference Modules.
2) Enable Rules, Rules UI (User Interface, we need this), and Entity Reference
3) In your comment fields
Add a field with Entity Reference and a widget of Auto complete (tag style)
The Notifications module currently only has an Alfa version for D7 (which is this question is about), which dates from Dec 2011.
Therefor, use the Flag module as an alternative. So that users can "flag" authors they want to "follow". You'd want to use a flag related to entity "users", which is a non-global flag. Probably defined with a ...
Use Rules module. Create the following Rule:
Event: after saving a new comment. You will probably want to restrict this by content type as well.
Add action: send mail. Arguments:
To: switch to data selection and choose comment:node:author:mail
Subject: whatever you want, for example "A comment has been posted to your blog post"
Add the message
Approach 1: Menu Badges
Use the Menu Badges module to add such notifications to any menu item and/or menu tab of your choice. Here are some details about it (from its project page):
Provides a method for adding iOS-style badges to menu items. (see screenshot)
Adding Badges to Menus
Once enabled, go to Administration > Structure > Menus, and click &...
There are two reasons to use Drupal's text filtering system: security and proper formatting of the information for the context.
In reverse order:
For formatting: if you use something like the markdown filter or limit with html tags can be used for simple sanity (i.e. no h1) then you want to use a filter that removes that.
For security: you want to remove ...
You may consider the Notify module, which is a lightweight framework for sending out periodic notifications about new site content to users and admins.
From the project page:
The notify module allows users to subscribe to periodic emails which include all new or revised content and/or comments of specific content types, much like the daily newsletters ...
I would go with Messaging. Dedicated Entity (if implement properly) is always faster than Node. I participated in the big D7 project and we were happy with Message API. By using a custom entity you can switch to custom storage, like: https://www.drupal.org/project/mongo_entity
This can be helpful for D8:
Use the Rules module together with Rules Scheduler (a sub-module of it), as explained in the steps below. These steps are based on a date field which is added to the user profile, so that for each user you can indicate an appropriate date.
Step 1: Create a field to store the reminder date
Similar to that "Entry date" field you already have, add ...
Part 1 - Messages module
Use the Message module to create "Messages" for each of the message types (bullets) in your question, similar to what is detailed in the answer to "How to get notifications in a new window when using the Mentions module?".
The Message module uses so called "Message types" (which you have to configure within admin). It seems that ...
I think you can accomplish it by creating a custom module. Whenever users create nodes of type B, you can mail and notify those users who created nodes of type A.
You can get the list of users who created nodes of type A with a SQL query like the following.
SELECT DISTINCT uid FROM node WHERE type = 'goals'
In order to send mails when users create nodes ...
You can do it using Rules.
Create a field (probably a checkbox) in user account settings to subscribe for notification.
Then create a rule condition using hook_rules_condition_info() to check whether he has subscribed or not.
Create a rule to send a email notification when a new node is saved and add your custom condition to it.
Conceptually the business logic you want to complete is possible using Drupal. Finding a way to make this scale to a very large website -- I leave as a project for you.
Start by looking at Saved Searches and Views Saved Search or Views Save. These modules let you save a search with a simple name for later re-use. Some of these modules allow per-user saved ...
There can be some performance issues because all your messages will be stored in the node table along with the other nodes. This will slow down any node loading or any kind of node type handling. I would suggest creating your own entity which would result in these being in their own table. They can also be referenced via entity reference and into views. ...
Enable the Simplenews Rules module within the Simplenews project. It will add 2 events A user has been subscribed & A user has been unsubscribed.
Use the subscribe event combined with your Send mail action to send a message on user subscription.
See Update Advanced module:
Extends the administrative interface for Drupal core's "Update status"
module. In particular, the per-project settings to ignore certain
projects or even specific releases, is absent in the core version of
the module. The "Update status advanced settings" module restores
these settings, and might eventually provide ...
Preface - start
This answer assumes you're using the current version of Flag, i.e. 7.x.-3.x. Though a comment below this answer states:
Statuses is not compatible with flag 3. It works with flag 2. When you install flag 2, status updates will show "like" button in status updates and status comments. Not only this, but you will also be able to see ...
Umair, have you looked at the patches in drupal.org/node/1787930 and drupal.org/node/1311468 and maybe some others ? I got flag 3 working with the status + rules, but not the comments. It could be possible but I didn't want the comments flaggable so I didn't spend any time trying.
For some reason, I can't recreate the order of patches that got me my working ...
You can achieve your goal using both Rules and Scheduler module.
Using rules to send an email x days after a user registers.
If you are looking for custom coding, you can implement hook_cron, as explained in the answer to the question about
"How to create a task which run at cron time and send emails to users?".
Some other links which may help you:...
A project that is similar in scope to Notifications and is actively supported for Drupal 7 is Subscriptions.
You may also want to look at some of the more lightweight notification modules. The project Notify is designed to send out notifications whenever new content of a certain content type appear (Disclosure: I am the maintainer of Notify).
There is a ...
It depends on the mail backend you are using. DefaultMailSystem perform basic sanitization on send, but it cares only about mail specification and ignores the fact that body might be HTML - that's on you. So you are guaranteed what you send will be formally valid e-mail, but not that it will be valid HTML. Exact part about body sanitization is:
// Note: e-...
You should be able to add another "Send email" action to your rule, but place it inside a Rules loop so it can iterate over the multiple values in the user reference field. You may need to first add an "Entity has field" condition to get access to these values.
To my knowledge this is NOT possible only usiing Drupal core, so you'll have to do some "customization". So far the bad news ... The good news is that you can use the Rules module to create a rule to send such notifications.
However the challenge in your question is "which users should get the notifications". If you'd have dozens, or hundreds (or thousands?)...
Part 1: Rules
Have a look at my answer to "Rule to store user's last post date and scheduled rule based 30 day reminder", a question that is a variation of part of your question. It explains how you can use the Rules module for this (using the Rules Scheduler also).
Part 2: Message Stack
Have a look at the Message Stack, these are the basic components ...
Install Flippy module.
1. Go to desired content type -> admin/structure/types/manage/<content_type>
2. Click on Flippy Settings tab
3. Select "Build a pager for this content type"
4. Customize the module or template, theme as you want.
Just a simple concept:
I could imagine using the Rules Forms module with the following Form API conditions:
Form ID: form_id == YOUR_CONTENT_TYPE_node_form
Clicked button: $form_state['clicked_button']['#id'] !== 'edit-save-edit'