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

2
votes
1answer
26 views

Send E-Mail When User Profile Fields Updated

I am looking to update my brain regarding a set of rules in Drupal 7. What I am wanting to do is: Send e-mail to arbitrary e-mail address (mine) when a user updates any of their user profile fields. ...
0
votes
0answers
13 views

Flagging user's e-mail

I'm trying to make a rule for price alert in a Drupal commerce site. For this purpose, I created a flag "let me know when the price drops" and then created the rule below: { "rules_price_alert" : { ...
0
votes
0answers
25 views

Drupal7: Rules Module - change the FROM field

I am using the entityform module (https://www.drupal.org/project/entityform) with the Rules module (https://www.drupal.org/project/rules/). When the user submit the form, an email notification is ...
0
votes
0answers
24 views

String replace with rules

Is there a way to string replace with rules? I'm trying to find some way to transform values without changing a value entirely. Is there something I'm missing, or should I just make a custom rule ...
0
votes
1answer
14 views

Act on date field value

I have a CT with a Date (Unix timestamp) field implemented. It represents the start date of an event. One simply question: Is there a way to compare somehow, this value with the current date() and ...
1
vote
1answer
13 views

Dates and rules

I've got a rule with php condition. I'm trying to compare 2 dates. the problem comes from the node date. Here is a part of my script: $date= date("Y-m-d"); $node_date= ("[node:field_event_date]"); ...
1
vote
1answer
62 views

Send email to specific users when Webform submitted

How can I send emails to specific user roles when a specific Webform is submitted? For example if a Webform named test is submitted then we have to send email to all users having the role say ...
1
vote
0answers
26 views

How to customize my Drupal search?

I have a Drupal 7.x intranet and I am using the Apache Solr Search module as the backend (basic out of the box setup). My site has content types and custom fields, but it is not using tags/taxonomy, ...
0
votes
1answer
9 views

rules scheduler performance

I use drupal 6 with rules. I have more than 200 scheduled tasks (updating node's field)waiting to be executed at one time. Do I need to worry about server crash or is there some kind of queue ...
0
votes
2answers
12 views

Using rules how to redirect to a url + element id

After saving a node, I am redirecting to another form using rules. I want to be able to append this value "field_article[und][0][nid]" to the url that I am sending to. This corresponds to a select ...
0
votes
1answer
29 views

How do you redirect anonymous users to another page without rules?

Right now i want to restrict all anonymous users to a specific page. I know you can do this with rules by setting the condition if they are anonymous have them redirected to another page. But how can ...
0
votes
1answer
27 views

What are some possible causes to this error message: 'Error: Unsupported operand types' caused by the rules module? [closed]

I've been working on my Drupal 7.32 site for the past few months and now my site just went live for the past couple of days. Everything was working fine for the past week, but now today I'm getting a ...
6
votes
1answer
116 views

How do I disable a module when Drush or the GUI doesnt work?

My site just gives a WSOD and throws this error: Error: Unsupported operand types in sites/all/modules/rules/includes/rules.state.inc, line 620 Since I can't even get to my site now without a ...
0
votes
0answers
18 views

Drupal 7 Rules: Compare Group Reference Field and fire Rule if data changed

I am using a content type called "question" which has an organic group reference field (og_group_ref). I want to trigger an action with Rules, when the field "og_group_ref" is changed on node ...
0
votes
0answers
13 views

Get Key value of a Select List from a entityform on Rules

Im having a problem with Rules: I have a EntityForm which has 3 Select list fields. I need to save those Results on another field. But right now im debugging so right now it's just fine if i get a ...
0
votes
1answer
15 views

How to get notified when a user is locked?

After 5 unsuccessful logins, a user gets locked. How can I get notified? I tried with the Rules module without success.
0
votes
1answer
23 views

Why does the same Rule Calculating The Sell Price Of A Product fire multiple times?

I'm having dreadful performance with Commerce Kickstart 2. Trying to troubleshoot. I noticed that when viewing any Product in the catalog, the Rules Evaluation log looks like the log below. ...
0
votes
0answers
34 views

PHP code in rules [closed]

I'm a beginner in PHP code, but yet with few basics. I'm trying to set up PHP code in a rule...Quite easy I guess: Sending an email to admin if the date of an upcoming event is within the next ...
1
vote
0answers
17 views

How to get a notification when user is blocked following flood

I'm trying to get an email sent to me everytime an account is banned following a flood (5 tries). Unfortunately, a user that is blocked isn't set to "status = 0", so I cannot use a rule based on ...
0
votes
1answer
33 views

Is it possible to redirect user to another form depending on values entered in the first form

I have 3 Webforms named A, AA and AB, In form A there are few question with Yes and No options. I am looking for a way to direct user depending on the selected options, If user select all the options ...
0
votes
1answer
9 views

Drupal Commerce “let me know when the price goes down”

I've been trying to create a price alert for products of which price dropped (let users flag that product and e-mail them when that product's price drops). For this purpose, I installed Flag and have ...
0
votes
1answer
14 views

Can you disable Rules Components?

Is there a way to disable a Rules Component? And if so, -how-? Using Commerce, I've set up various Sales Taxes. If I understand, the Rule for Sales Tax triggers all 'Components' to be evaluated which ...
0
votes
0answers
16 views

Commerce Rule For Sales Tax On Shipping To One State

We want to only apply sales tax on orders shipped to a particular State. I tried to cobble together the following rule from the included 'Price Component' and it seems to apply tax on shipping for ...
0
votes
0answers
30 views

How to display some extra block on a product (product display) page for a user who has paid for that product using rules module?

How to display some extra block on a product (product display) page for a user who has paid for that product using rules module? I'm using Drupal Commerce module on Drupal 7 install. I have in my ...
0
votes
1answer
15 views

Flagging Referenced Entities

I have two node types (one is galleries, one is images). The node types are referenced to eachother via entity reference (which is providing a field on the image node which references a gallery). I ...
0
votes
3answers
19 views

Use Rules to Change Field Value By Clicking URL

I am creating a simple internal ticketing system which emails customers when the status of their ticket changes (Open -> Waiting on parts). I have set up rules to do this and I haven't had any issues ...
0
votes
0answers
21 views

Apache solr with rules module, on refresh, rule viewing node triggers it in search page

I'm building a site in free Acquia cloud env with apache solr running, I need to count when a node (for one content type) is being full displayed, that’s already working fine, but every time I refresh ...
0
votes
1answer
22 views

Pop up Information windows D7

I am new in Drupal 7. What i am trying to do is to show pop up information windows for the following case: I have a view with links (internal links to drupal site). I want by clicking on them: 1.To ...
0
votes
1answer
17 views

how to add user points to viewing user when user has viewed content

Can anyone provide me with a simple rule that adds 1 user point to a user when this user has viewed an entity of "article" (for example)? I have enabled the userpoints module and the userpoints rules ...
0
votes
1answer
35 views

Create a rule to send confirmation email message after anonymous/authenticated user has created content

I have created a custom content type (CCK) called apply (machine name) and installed the Rules module. How would I go about sending the user an email (they could be anonymous or authenticated) after ...
-1
votes
0answers
16 views

Create an e-mail reminder depending on a date field in a custom content type

I have created a custom content in which there is a date field and an e-mail field I would like to add an automatic email reminder that is triggered on that date and sent to the email specified in the ...
0
votes
1answer
20 views

I cannot specify sender's address when sending email through rules

Drupal ignores the "senders email" parameter when I send emails via rules. I cannot even specify the "sender's email field" directly, putting directly the address like "sender@drupalsite.com" - the ...
0
votes
0answers
34 views

Commerce Rules Shopping Cart Update Ignores Rule “Solution”

Looking for direction or solution to the following: Issue: Have set up rules to change quantity of a commerce product if the minimum is not met. Works initially fine from the product add to cart ...
0
votes
0answers
8 views

Rules Integration with Voting and Radioactivity?

I am using the following modules: Rules Radioactivity Voting API Vote Up/Down Voting Rules and I am trying to make it so that when a user votes up on a node (using the Voting API and the Vote ...
0
votes
0answers
11 views

How to store og_group_ref to another field and remove value?

I want to store the output of the og_group_ref field in another (dummy) field and then want to remove the last item of that field. Everything should happen after a new group node was saved. I tried ...
0
votes
1answer
19 views

Rules sometimes don't convert saved node to nid

I have a strange problem with Rules. I try to set up 2-directional entity references. It works well with one content type, but fails with another. In the latter case, saved node is not converted into ...
0
votes
0answers
16 views

Hide/Show certain fields with rules based on userpoints

Is there a way to show/hide certain fields using rules and only show those fields by spending userpoints?
0
votes
1answer
11 views

How to troubleshoot Rules when a required variable for an event is not provided?

I'm seeing a strange behavior on my site and I'm trying to figure out how to correct it. I have a rule that triggers on the event After updating an existing user account. This rule uses two ...
-3
votes
0answers
12 views

Consume and output SOAP web service using Drupal 7 Web service client and Rules [duplicate]

I need get data from WSDL service and output into existing Drupal 7 CCK fields. How i can output information from WSDL into existing CCK fields or simply with PHP in templates without or within Rules ...
0
votes
1answer
20 views

Rules Interface unresponsive and odd

I am trying to set up a Rule to check if a user has added one of several states to an address field in a Profile2 profile. So I thought I'd do a Data Comparison. I created a new rule called "Profile ...
0
votes
0answers
8 views

Simplenews and Rules - send all category

I currently have two different content types that are set also as Simplenews Newsletters. The content is imported via Feeds processor from a JSON feed, and I have two Simplenews categories. So ...
0
votes
0answers
33 views

Drupal commerce change status order by admin not fire action rules

Hi this is my problem step by step: User at payment step go to external paypal site -> Order Status: Payment User after paypal payment confirmation NOT back in the site but close browser -> Order ...
0
votes
0answers
5 views

Rules to send mail to specific user of a role based on category of product ordered

I want to send mail to specific user of a role using rules.The scenario is : I have category based product and each category has specific user permission of a role.when a product is ordered of that ...
0
votes
1answer
17 views

Email Customer if Order Contains a Disabled Product

I have Drupal Commerce configured on my site. Customers can purchase tickets to classes. However, if a class gets canceled, I need to notify any customers who purchased said class that the class is ...
0
votes
0answers
9 views

How can I remove the dependency on PHP of rules in a feature?

I am attempting to disable the PHP filter on my site, so I am moving all PHP input in the UI into code. I finished cleaning up my views and panels, and now only some rules remain. Right now, all my ...
-1
votes
3answers
41 views

Change from email id when admin approved user account

I want to change FROM Email id, when admin approved an user account. Currently it is using admin email id. I want to use different email and my admin email id will remain same Any Suggestions
0
votes
0answers
16 views

Tag based on published date

Basically, I'm setting up a website for someone who is going to post one thing per day. I want to provide a way of accessing these articles by week and naming the week: i.e. if a node is published on ...
0
votes
1answer
41 views

Enabling Rules Module broke the site

This is the error which I'm getting Unsupported operand types in /export/web/virtual/xxxxxxxxxxxx/sites/all/modules/rules/rules.module on line 230 Drush command terminated abnormally due to an ...
0
votes
2answers
36 views

Multiple Separators! How?

I've got a field called Name (Entity Reference) that sometimes has 2 values. It would require some kind of Rules I guess. Just not sure how it can be done. I created a taxonomy which has 3 values: ...
0
votes
0answers
21 views

count nodes of two different content type in rules

I need to use rule module and count nodes of a content type A, then count nodes of content type B and after that if count of nodes A is higher of count of nodes B do an action, otherwise do another ...