Search in group Search
Rules/Roles/Checking entries for another account
I'm using Masquerade to allow people to use multiple accounts on our site.
I'd like to be able to use Rules when the secondary account is logged in to check the primary account for a role and take an action on the secondary account based on the answer.
Anyone know if/how this can be done?
Read moreReferenced User Roles based on Content Changes
How do I create a rule / action set wherein:
- If a certain TYPE of content is deleted
- Which HAS a particular taxonomy term
- All REFERENCED users to the node
- (excluding the acting user)
- Will have one or more ROLEs altered?
My use case is as follows:
I have a large set of Sales representatives/distributors, whom each have access to certain data within our site only they may see.
If we delete their Company (content-type) page (and these users have been referenced FROM it), I want to take away their permissions as "sales reps".
Execute rule on CCK file field changing
I'm not sure whether i should post this here or on the issue tracker but...
I want to execute a rule to populate a field whenever a user changes the CCK file field of a node. This does happen with the rule i have set up, but, the rule also executes when any other CCK field is edited, which is obviously not intended. The rule is set up to execute when contetn is going to be saved (though after updating seems to yield the same result), IF the field field_file has been changed. I really cannot see why this seemingly simple rule is not working as expected. What am i missing?
Read moreUpdate counter when node data is displayed in a view
I'm looking for a way to keep track of how many times data from a node has been displayed in a view and I suspect the Rules module i sthe way to go. However, I can't find any reference as to how one would do it. Is there a way to hook into the rendering of a view and have Rules update a cck integer field in the displayed node(s)?
Read moreRedirect to External URL Does Not Work
Hello!
I am trying to do a redirect on node save to an external URL. The issue is that Rules seems to be unable to redirect to anything but an internal (relative) URL.
I put in the redirect url as: http://www.externalsite.com/token1 but the redirect is issued as http://www.drupalsite.com/token1 and returns a page not found.
I do have an issue in the issue queue and another user has reported the same problem but so far, no suggestions or answers as to why this won't work. If anyone can give me some ideas on how to troubleshoot this, I would greatly appreciate it.
Thanks!
Read moreRemove Specific Taxonomy Term when Associated value in field is gone?
How do I remove a specific taxonomy term when the associated value in a CCK field is gone.
E.g. I have the field teacher. It's current value is Mr. Brown. It's new value will be Mrs. Violet.
The associated taxonomy terms are Ken Brown and Kendra Violet, respectively.
If I change the value from Mr. Brown to Mrs. Violet, I want to remove the taxonomy term Ken Brown and add the taxonomy term Kendra Violet.
However I need to know that the previous value was Mr. Brown in order to remove the taxonomy term Ken Brown. How do I do this?
I'm a n00b: Taxonomy term Conditions?
How do I create a rule condition based on taxonomy term(s)?
I've tried using "textual comparison", and using the [node:term] token, but to no avail.
Thanks for your help!
Terms and Conditions Agreement
Hey guys and galls
I have following problem.
I have a list of products. Once someone clicks on a product (node type) there should be a message displayed with terms and conditions and a check box that someone agrees to those terms. Once the check box is checked and submitted it needs to redirect to this product page in order to view the node.
I tried redirecting to webform and than once it's submitted back to that product however can't seem to accomplish this last step. Maybe there is some other way using RULES.
Thanks in advance.
Read moreAdd Taxonomy Term to Node from Referenced Node
I want to replicate new taxonomy terms from a specific node into a "product" node and only from a particular vocabulary. Any suggestions?
I found http://groups.drupal.org/node/45724 and http://drupal.org/node/817422 , but haven't had a chance to try them.
Ideally, what I want to do is ---
If someone reviews my product and fills in the "application" taxonomy,
when the review is published by an admin,
replicate the "application" from the review and attach it to the "product".
Making CCK field values available as a condition to User is created event
Hello, I have 3 content profiles setup. One is for consumer registration, the second is a marketer registration and the third is a generic profile node type for custom fields. I setup a content profile role reference field to be available on user registration. I will like to perform some rules whereby when the user submits the registration form, he is redirected to another content profile form based on his field selection. So, I created a rule to be triggered when a user is created. I added a condition of if user has anonymous or authenticated role.
Read more

