rules

Events happening in the community are now at Drupal community events on www.drupal.org.
sjf's picture

Copy taxonomy terms from nodes to CCK-nodereferenced node.

With Rules, is it possible to copy taxonomy terms from nodes X, Y and Z to node N? Nodes X, Y and Z would contain a CCK nodereference field to reference node N.

Read more
klamoureux's picture

Approach for assigning a user to a certain role based on user profile (locative) data

Hi there,

I have my first Drupal site up and just polishing up some of the UX / Business rules elements of the site.

I need to be able to assign users to ttwo different roles based on their user:location_country attribute.
If they are from US/Canada - they go to one role, otherwise they go to another role.

I know i have to execute some PHP when the User is created, but i am not sure of the syntax or how to set it up.

Any assistance would be greatly appreciated.

Regards,

Kit

Read more
ShannonK's picture

Upon forum post, send email to a certain person (not admin)

I watched a video pertaining to Rules and thought I would be able to use it to send an email to a certain User when a specific forum receives a post. Action/Triggers doesn't provide this (as far as I can tell). So I have the Rules module installed, however, it doesn't look like this is an option. It looks like admin would get an email if ANY comment is posted, but that's not what I'm after. First of all, am I right that Forum posts are considered "comments?" And then, is it possible to have a specified User receive an email alert when his forum receives a post?

Read more
chosig's picture

Autopopulate node reference

Tjenare.

Håller på att göra en site till en "legion" i ett spel jag spelar (Aion Online), finfint övningsprojekt. ;-P

I legionen har man olika ranker, och jag tänkte sätta upp ett mentor-system. Nu är det så att jag kommer från en mer direkt-attack (mao. programmering) stil, och har lite svårt att ställa om min till "the Drupal way" - det är ju så enkelt att bara programmera in funktionen man vill ha...

Read more
rulick's picture

Create node and copy fields

I have two content types: Request and Response. When Request reaches a certain state in its Workflow, Response is created. At this point, some fields from the Request are copied to the Response. The field types include Integer, Text, File, Date and User Reference. I can see two potential solutions here:

1) Create a node of type Response and copy the field values there.
There is an Action that creates a Node. But I could not find an easy way to copy the field values into this new Node.

2) Clone Request and convert one of the copies into Response.

Read more
wgrunberg's picture

Populate revision information field on edit

Our content contributors are not very good at populating the revision information field (Drupal 6).
On node edit, I would like to auto-populate a revision field with the editor's user name.
As an alternative, I have looked into Views 2 but it is not clear how I can retrieve the user name of the last person to save a node.

How would I go about implementing such a rule in Rules?

Read more
hosais's picture

Modify the Theme after the user login or set user default theme on registration. How to?

Hi,

I am new to Rules.

I would like to change Theme after the user login. In my web site, the user cannot change the theme.

In my mind, I have two choices:

1) Modify the Theme after the user login
2) set user default theme on registration.

Could this be done by Rules? We all know that we have the trigger "after a user login". Therefore, my main question is how to create the Action? Is it a must to write some PHP code?

Thanks.

hosais

Read more
moxwai's picture

create trigger for rules to publish when user is added to group

Hi there,

I'm trying to do something that i thought would be fairly easy using rules, which is:
- publish a users content when user has role 'paid_member'. I cant use any on the existing triggers (such as 'on save new content) as they rely on the user clicking on the page to make the publishing process happen. To go with this i would need to create user driver triggers such as 'when saving new content' and role = 'paid member' then publish otherwise any new content they create wont get published.

Read more
Bricks and Clicks Marketing's picture

Can Rules be used for gradual content delivery on a per-user basis?

I'd like each member of a site to receive access to nodes of a specific content type based on their length of membership. For example, I have 4 nodes of content type X, and I'd like members to access them in 2 week intervals, like so:

Day 1: Member A joins, sees node #1
Day 15: Member A sees node #1 & #2
Day 29: Member A sees #1 #2 & #3; Member B joins and sees node #1 ONLY
Day 43: Member A sees all 4 nodes; Member B sees node #1 & #2 only

Read more
kscott22's picture

Use rules to block specific field entries?

I'm fairly new to rules, but I've used it successfully to add a ton of great features to my site -- great module!

Now I'm trying to figure out if there's a way I can use Rules as part of a reservation system I created. Basically, I'm trying to create a rule that will disallow users from reserving equipment on a date if someone else has already reserved the equipment for that date. Is this possible with rules? Any ideas for ways I might test it out?

Any help is much appreciated. Thanks!

Read more
Subscribe with RSS Syndicate content