The Rules module is a module that allows site administrators to define actions that are conditionally executed, either programmatically or in response to predetermined events.

learn more… | top users | synonyms

0
votes
1answer
25 views

How much of a server load to use rules to loop through hundreds of users to add a node to an entity reference field? [on hold]

I'm fairly stuck with an issue here that can easily be solved with rules.. When a new node of certain type is saved (not often), I want to add it to an entity reference field for hundreds of users. I ...
3
votes
2answers
43 views

How to send an eMail notification when a specific field of a node or user has been changed?

When a node (or user profile) is modified, is it possible to send an email notification only when a specified field is modified? With the node I have no problem, but I cannot get it to work for a ...
0
votes
0answers
15 views

Drupal Rules components to load a list of node title as selector input

I am trying to setup a custom VBO action for managing a content reference, so I managed to add a new action and with 2 variable components : and one of the variable I used is list of content items ...
0
votes
1answer
16 views

Drupal commerce email order notification not sending properly

On the rule of sending email order notification I just changed the "FROM:" of the send mail, instead of the email of the website I want the email of the anonymous customer from a custom field of ...
0
votes
2answers
18 views

How can I send a Privatemsg using Rules and have the name of the site as the sender?

D7 Using Privatemsg and Rules, I am trying to set up an automatically generated welcome message to new member registering on the site. This message will go into the new member's inbox. I do not see ...
1
vote
1answer
10 views

Is there any way to show a progress bar during loop iteration in a rules?

I have made a rule set and in my rules I load a collection of nodes into a list and by iterating, I perform some modifications in each node. Sometimes the number of nodes is more than 500. I want to ...
0
votes
0answers
9 views

Passing custom object through the Rules and SOAP Web Services

I deal with SOAP client, to send some Commerce Order info, after succesfull payment. I am at the point where I need to send an object with test data: $customerInfo = new stdClass(); ...
0
votes
0answers
8 views

Help with rules reminder

A few years ago i created a rules 'reminder' for events and album releases.. the code from that project does not work anymore and I'm trying to recreate it, but it just wont work. The goal is to send ...
1
vote
1answer
13 views

is there any way to load commerce_products into a collection in rules configuration

I need to load all commerce products that their status is "active" into a collection in rules configuration. I searched in internet and also I tried rules bonus pack but the didn't help me. Is there ...
1
vote
0answers
21 views

How to autopopulate entity reference field w/ user-created entityform submission [on hold]

I'm developing a website for recruitment for research associates. I am currently using Entityforms as the questionnaire. I've created a rule to create an entity of a certain content type, which I ...
1
vote
1answer
21 views

Set a data value for a content field with rules

I am able to create a new content with rules whenever a user has been flagged as 'satisfied'. However, i need to fill in the fields as well with the flagged username, and some other fields in the ...
3
votes
1answer
19 views

How to use the Rules module to send a privatemsg to users of a role in a group?

I am using the module Rules with Group (not Organic groups) as well as the Privatemsg module. I want to send an email to all users of a role that are in a group. I am able to send an email to all ...
0
votes
0answers
5 views

Rules component uses different theme than page-theme! Why?

I use rules to send follow-upt-emails. Works fine actually. In the past I used a different theme for my site, and somehow this theme (call it "old-theme" for now) is applied when a follow-up-email is ...
0
votes
0answers
26 views

Send E-Mail to a role based on profile2 fields

I have tried the following solution; unfortunately, it does not work. I am using profile2 and rules. Step 1: The registered user edits the profile and has a select list with multiple options Ex. ...
0
votes
0answers
17 views

How to export content to campaign monitor? [on hold]

How to export content to campaign monitor: the admin will chose content from different content types that content will be exported to campaig nmonitor will be separated in different campaigns lists ...
1
vote
0answers
37 views

Ordering product only once Drupal Commerce [closed]

I'm just creating a commerce site in drupal. There are 25+ products in my site. Currently, a single user can able to check out the same product for multiple times. I want to restrict that. If a user ...
3
votes
2answers
19 views

How to use Rules to redirect a user based on URL argument?

I'm using Drupal 7 and the Drupal Commerce module. I'm now able to capture an argument passed by URL using Rules (thanks to this helpful thread). However, I'd now like to be able to redirect the user ...
3
votes
2answers
97 views

How do I create a rule to stop a user sending a message via the Privatemsg module?

As a courtesy to registered users on my website, I require all users who send private messages to have a profile picture. I already have system messages throughout the site to encourage them to ...
3
votes
2answers
38 views

How to add product details to Drupal Commerce order confirmation email

Default email that is sent when user completes the checkout process contains order number and other details. I want to include additional product details and product type in this email. How can I do ...
1
vote
1answer
33 views

How to send email after a node field gets updated by admin?

I need to send an email notification to the node editor (reviwer/moderator) when an admin changes a (custom) field. I've added the list of editors as a field in node form. The nodes will be created ...
0
votes
1answer
41 views

Remove VAT based on company field and country

How can I remove tax based on the company field and based on the country. For example: In the Netherlands: A customer from a company in The Netherlands - He must pay VAT A customer private in The ...
0
votes
0answers
9 views

Send email to users with same Taxonomy term selection in node

I have a node type "Question" which has a term reference field called "Question about". Now I'm trying to create a rule to send emails when a new "Question" is created to the users who have the same ...
2
votes
1answer
19 views

how to obtain fivestar field value in rules?

I'm trying to a grab a value of a fivestar field within rules and having no luck. Basically I'm getting users to fill a feedback form and if the fivestar field value is less than 3 Stars then I want ...
0
votes
1answer
19 views

Adding fees at each payment

I am using Commerce Fees module, as I want to add 5% as fees at the time of purchase. I have added a fees type, and created a rule for this. My Problem is that I whenever I go to checkout page ...
1
vote
3answers
46 views

Hide and Show Menu items using rules

I want to HIDE and/or ENABLE certain menu links that are present on my main navigational bar depending whether users are/ aren't part of any group. I am currently using the Rules module with these ...
3
votes
2answers
29 views

How do you change rules settings on the fly?

I want to be able to modify a rule based on a setting choice made by a user, but I don't want to expose the form for setting the rule that you see at ...
1
vote
1answer
47 views

Could Rules send an email with a list of nodes that fill certain conditions?

I would like to send an email everyday that has a list of nodes that are filtered by certain conditions. I think the Rules module would be a good place to start. Real Example: Content Type named ...
0
votes
1answer
17 views

Why isn't my feature overridden after I change a rule in it?

I've exported a feature that contains a rule — // my_feature.info features[rules_config][] = rules_my_rule // my_feature.rules_defaults.inc $items['rules_my_rule'] = entity_import('rules_config', '{ ...
0
votes
0answers
13 views

Reference multiple profile2 fields in data selector for body in rules

When a user registers on my site they need to fill in some personal details in profile2 fields.. They also need to fill in a user reference field that reflects the user who refereed them to the ...
0
votes
1answer
19 views

Limit total quantity of products across user's entire order history

I am trying to limit a user's total quantity of products across their entire order/purchase history based on a field on that product. For example, if Can of Peanuts has a limit of 3 per user, then the ...
0
votes
0answers
23 views

Something preventing redirect from being executed

I'm using d7. I've a flag "I have a solution" attached to a "problem" content type When an user flags it a rule is fired. Actions are: 1 - create a new "solution" content, name it ...
0
votes
1answer
24 views

Find matching fields between content types and create new nodes

I'm working on a project that collects information about a corporate client and then based on the information provided, connects that client with other companies that can help them with a specific ...
1
vote
1answer
35 views

Send email with profile2 fields with account email token in rules

I am trying to send an email to users contains information they put into their profile2 fields when they registered on the website. My problem is that their is no email field token available in rules ...
0
votes
3answers
20 views

How do I unpublish a user's content with rules?

How can I unpublish a certain user's content when a certain rule triggers?
0
votes
1answer
31 views

Unpublish content when users role expires

I am using Ubercart Roles to automatically add a role to a user when he/she purchases a certain product. The role grants the user the permission to add a certain type of content. If this role expires ...
0
votes
1answer
30 views

Email users on node creation based on taxonomy term

can someone help me to create a rule in drupal 7? I have a node with a field of taxonomy terms. When this node is created I want to send the body of this node to users based on this taxonomy term ...
1
vote
0answers
14 views

drupal commerce ajax refresh cart summary upon select payment method

I have implemented a fee option in rules so that when people select a particular payment method, the current fees will apply, but I am now having problem, I tested deactivating all payment except for ...
1
vote
1answer
16 views

Searching way to **not** send mail after user registration

I want user from a certain domain to be able to register without approval, while others need te be approved by a user manager. I defined a rule that after a new user registers, through text ...
0
votes
2answers
15 views

Drupal rules after a webform submission

I want to send an email when a user fills in a webform, but only if it is our review form and if the user gave the feedback higher than a 7. So we are asking how good we are, and the user gives us a ...
1
vote
1answer
54 views

Delete all nodes of a user using flags and rules

I want to delete all nodes for a user whoes any one node has been flagged as spam. For example: If user has created 3 nodes of same/different content types, then If admin flag any one content as ...
0
votes
0answers
38 views

Send email to all users of a role except certain users?

I'd like to send an email to a users of a certain role. I've already did it with Rules module, but now I want to expand my rule and send email to only certain role's but to a specific users of that ...
1
vote
1answer
29 views

How to send email when customer cancel payment?

I am using Drupal Commerce 7x-1.10 and PayPal WPS 7.x-2.3 module. How can I send an email to customer (both anonymous and authenticate), if they cancel the order or cancel the payment method or cancel ...
0
votes
0answers
14 views

Periodically Create Child Nodes

I have a parent content type "A" which has a "duration" field. I have a child content type "B" which has a node-reference field referencing content type "A". Now, let's say I create a few "A" nodes ...
0
votes
0answers
7 views

Rules module - User and node params as regular autocomplete

In my module I implement hook_rules_action_info few parameters including node and user. It works, but only allows me to select from current logged in user on the action configuration screen. I want to ...
4
votes
1answer
32 views

Rules scheduled email empty when using php variable, but not when hardcoded

I'm using rules scheduler (on D7) to set up a reminder email based on a time specified within a commerce order (more specifically a line item in the order). I was able to get everything set up ...
1
vote
3answers
40 views

Unpublish accroding to the value of a field

I was able to set rule to unpublished after +30 days. But I would like to tweak my rule to give to my users the possibility to choose between posting for 2 weeks, one month or 3 months. So, I guess ...
0
votes
2answers
44 views

Add link to call by Skype in a message - relative reference

I have rules' module and in the last part I set an action to show a message. In that message I want to add a link to call one user by Skype, I am using this: $message = "<a ...
0
votes
1answer
26 views

Use multifield values to create new nodes

I have a multifield field_staff_required of unlimited cardinality containing two subfields: field_staff_category and field_staff_quantity. Example: I have an event node containing the staff_required ...
0
votes
0answers
29 views

Content types disappear

In some lists my content types all disappear. This especially affects Apache Solr for me. But also Views and Rules dont show the content types in some lists. Interesting is that: One content type ...
0
votes
0answers
16 views

Using Rules to do a data comparison between an Integer Field on the Group node and a membership group count

I have a OG group node. It has a Integer "Attendees Required" field. I am trying to use Rules to notify the Group Admin when their required amount of people has joined their Group, and change a ...