Different user email registration rule for different roles
Maybe this as already been answered somewhere else but I don't seem to find a solution for what, seems to me, is a quite basic and common situation related to the user registration workflow. I'll try to explain it.
During a regular user registration the new user can choose one of two roles: "Professional" and "Reseller".
The Professional will receive an email with the link to set the initial password and login imediatly onto the site. This is handled automaticly by the system.
Programatically setting Workflow state with Rules questions
Hello all,
I have a question which may be answered somewhere, but I've taken a bit of time to search and still haven't found the answer.
I am also not sure which group would be the best place to post my quandary, so I am hoping this group is it.
I have a Workflow where some states for content should be set by a user, while another state should not be settable by a user; it needs to be set when a variable on a piece of content changes to a certain value.
Read moreApply tax programatically
Hello.
I'm trying to apply a tax for a custom conditions because rules doesn't match my needs.
Could you help me on this http://drupal.org/node/1499224 please.
Thank you.
Read moreHow to make a rule check for empty body field
Didn't have much luck turning this info up in my searches.
Our main site publishes nodes automatically using Scheduler and, sometimes, an empty post gets scheduled and overlooked... and posts still empty.
I'd to use Rules to check for empty body when a node is resaved, then do something based on that.
(The do something part is not a big deal. Several options would be suitable).
I just can't seem to find a condition that checks the body for zero text.
Read moreRules message after action
I created some rules based on actions on the site.
For example a user will receive a point for voting on a post or comment. When they vote, the rule is triggered and they get a point.
This works great.
The thing is that they do not see a message from "Rules" right away because the voting is done by AJAX and the page does not refresh.
They will only see the message if they refresh the page or visit another page in the site, after voting.
Discounts in Drupal Commerce based on fields present in the Product Display nodes through Product Pricing Rules
I am not sure if this question should be asked in rules group but it is Rules related .I am developing a Groupon like Deals website on Drupal Commerce where one product can have several displays(deals) and therefore different discounts at different times. Display nodes have no direct linkages with line items therefore fields present in Product Display wont show there...With help from IRC and drupal.stackexchange i have so far reached to the point suggested in this question http://drupal.stackexchange.com/questions/24721/discount-based-on-a-fiel...
Read moreHow to make the Rules - Component - Set DataValue action to show a drop down list instead of text box?
I have created a Views bulk operation (VBO) called Set Status which is used for setting the status of Booking Content Type.
Refer http://www.qlag.com/booking-list
I wanted to show a drop down list of status values (OPEN, LOCKED, FINAL, ARCHIVED based on CCK field_status values of booking content type) instead of text box.
Read moreRules create multiple child nodes with referencing to a parent node, based on CCK value
Hi,
I'm trying to learn the Drupal techniques quick but even with reading a lot in the Drupal.org, Drupal groups and watching screencast, I can not manage to get one thing done with Rules.
I'm sure it is possible, hopefully somebody can help me with this.
This is the functionality I'm looking for:
I have a nodetype "parent" and another nodetype "child".
The parent nodetype has a field "amount".
The child nodetype has a nodereference field pointing to a single "parent" node.
When a node of nodetype "parent" is saved, I would like to fire a Rule which does the following:
Read moreTrigger for "User has logged in" event
I've set up a rule to fire on the event "User has logged in," but it doesn't get triggered when I authenticate with Shibboleth (shib_auth module). It does when I login as a native Drupal user or even LDAP user (ldap module). This is for a Drupal 7 site.
What is the actual hook/method that "User has logged in" depends on? The shib_auth module calls user_external_login_register which then calls user_login_submit, so I'm not sure what's getting bypassed. Would the best solution be a custom event "Shibboleth user has logged in," or might this be considered a bug in the shibboleth module?
Read moreemail notification when content created with specific taxonomy term
Hi,
I try to setup a rule with following particularities:
Event: After saving new content
Condition: a specific taxonomy term is selected in the new content
Action: send email
I'm using rules 7.x-2.0.
What condition to use for this?
thanks
Read more


