Questions tagged [drupal-rules]

The Rules module is a Drupal module that allows site administrators to define actions that are conditionally executed, either programmatically or in response to predetermined events. Don't confuse this tag with drupal-roles.

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

Resources

125 questions
1
vote
0 answers

how to set up drupal Rules for a proximity alert when a user (with SmartIP) nears mapped points on openlayers?

how can Drupal rules be set up so that when a user nears a mapped node on openlayers view (with Drupal Rules + Smart IP + Proximity) they receive a sound alert (eg to their smart phone, otherwise email), and view of the mapped node?
hrf
  • 75
  • 1
  • 7
1
vote
0 answers

[current-user:points) token showing points of the full category

The token [current-user:points] showing points of the full category. Example, the token value displays the points of all articles in the article section and I had added the token in every article and now it showing the misleading information. Now, I…
1
vote
0 answers

How to create an alternative User ID (ie 14200260) in Drupal/Ubercart Store Affiliate system

I want to offer users a unique Affiliate ID code that can be used to promote their marketing efforts in the form of a number generated when they signup or register on any of my Drupal project sites. At them moment, Ubercart (UC) Affiliate as far as…
Paul B
  • 127
  • 11
1
vote
0 answers

how to initialize a variables from another function in php

I am building a custom Rule for Drupal to send an email when the capacity hits it limit. Yes I did ask this in Drupal Stackexchange however they say it is a php issue. And since I am stuck having to figure this out, not being a developer, I need to…
user24793
  • 345
  • 5
  • 13
1
vote
1 answer

Drupal 7 (Un) Subscribing user to groups by (de)selecting taxonomy terms on profile edit page

I am using Drupal 7, rules, taxonomy terms (so the user can indicate his interests) and organic groups and I need people to subscribe and unsubscribe by selecting and deselecting taxonomy terms/interests on the profile page. There is a OG reference…
user24957
  • 315
  • 3
  • 11
1
vote
1 answer

In the drupal 7 rules module's execute custom php action how can I find out what the $site variable specifically contains?

To preface, I am relatively new to php. I need to use the 'execute custom php' action in the rules module to set the value of one of my user fields, but I haven't been able to figure out how to access that field from the $site variable that is…
Eluchel
  • 153
  • 1
  • 8
1
vote
1 answer

Ensure a Rules Link only shows in a set type within a Panel Page (Drupal)

I've created a Rules Link (in a View) which shows in a users dashboard using Drupal v.7.27 as CMS for a number of (similar) projects using the same functionality. The Rules Link is set to 'trigger' a rule when the user clicks "Post Content" (the…
Paul B
  • 127
  • 11
1
vote
0 answers

add fees depending on the quantity of the product

I have installed commerce_fees and created custom fees, then created a rule to apply fees on 'order', but what I want to do is to add fees depending on the quantity of the product. For example I have product A, quantity 1, then the fee will be, for…
1
vote
3 answers

drupal rules adding field data to referenced node without replacing existing data

My question is about: "adding field data to referenced node without replacing existing data". For example, I have a project node with team members referencing the project. Each team member has on its node a location, ie, 'United Kingdom', 'United…
Jourkey
  • 33,710
  • 23
  • 62
  • 78
1
vote
2 answers

Drupal Replacement Pattern for Entity Reference

I have a Profile Type attached to a user. In there I have a Entity Reference Field of Program Manager. I have Live Events(content-type) that people can register for. I set up a Rule to Email the Program Manager every time someone registers. My…
user24793
  • 345
  • 5
  • 13
1
vote
1 answer

"Save as" multiple files from node view with rules

I have a view of nodes. This node type has a file field with remote mp3 files (I have only url of mp3 in a link field). And this view has a VBO field. I want that my users to be able of select some nodes with VBO and "save as" the mp3 of these nodes…
1
vote
1 answer

How to check with Rules if users have a custom picture

I have a rule with this Events: -After saving a new user account -After updating an existing user account In conditions, I try to put "Data value is empty" -> account: (I don't found "picture", "image" or any of this) I…
1
vote
1 answer

Logic to Sell Memberships for Children Using Ubercart and Drupal

I'm sorry if this is not within the acceptable question guidelines for Stack Overflow, but I am feeling stumped, and I feel that what I'm trying to do might just be incredibly simple for some of the veterans here. I've set up an Ubercart on a Drupal…
Mike Meldrem
  • 499
  • 1
  • 4
  • 12
1
vote
1 answer

Setting Taxonomy Terms in a View Loop in Drupal Rules Module

Relevant Modules: Rules (and dependents), Views (and dependents), VBO, Views Rules Scenario: When adding a new node of type "Team", I would like Rules to loop through all current "Leagues" (Taxonomy) and create a duplicate team for each, setting a…
circusdei
  • 1,967
  • 12
  • 28
1
vote
1 answer

Drupal 6 - Content profile and user management

I have developed a system using Drupal 6. I have implemented user registration with content profile. Which means there is a functionality called company registration. It is creating a content profile with companies and a user account also after…
Sudharshan R
  • 106
  • 1
  • 4
1 2 3
8 9