rules

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

Crear un descuento específico por cada producto segun rol

Buenas tardes.

Estoy trabajando con commerce, la idea es que cuando el administrador de la tienda agregue un producto, establezca un precio para el rol "usuario", y otro para el rol "distribuidor", de esta manera podría hacer descuentos específicos por productos a los distribuidores.

He estado mirando con rules, y he pensado que lo ideal sería meter un campo en el producto, donde se pueda meter un número, que luego con rules se reste.
Only local images are allowed.

Read more
jordi_bcktt's picture

rules enviar mail a todos los usuarios de un rol que hayan seleccionado una opción.

Intento crear una regla para enviar una notificación via email a todos los usuarios de un determinado rol que hayan elegido la opción de recibirlas.

Encontré creo la respuesta a mi pregunta en http://www.hynnot.com/hookeando-el-send-mail-de-rules

Sin embargo yo necesito que sea para drupal 6 y no soy capaz de realizar el módulo como aquí explican.

Alguién podria ayudarme con esto?

Muchas gracias de antemano.

Read more
playfulwolf's picture

How to add user to some group during registration AUTOMATICALLY

Hi,

Have some kind of "default" group, and want user to became user of this group automatically during new user registration.
There is a similar module, but I want full automation.

How to write a rule for that?

Read more
pene's picture

Send the actually attached file's url within an e-mail

I have a Drupal 7 site with a custom node type with a custom attachment field. After a (kind of this custom) node has been published, I got an e-mail with the help of Rules module. I would like to set up an another rule, which sends me an another e-mail, when somebody edits this node and uploads an attachment. Inside the mail, I want to see the full url to the uploaded file.

After a several test, I'm not able to insert the full path to the uploaded file. The [node:field-attachment:file] doesn't work at all. I'm able to insert (manually) the url where this file resides, but after I can not insert the file name (so even the filename would be enough for me).

So with the [node:field-attachment:file] I got an error: Fatal error: Call to a member function value() on a non-object in /home/xxx/sites/all/modules/entity/entity_token.tokens.inc on line 297.

Read more
pontusgustafsson's picture

Problem setting data value for a user field with entity reference

Hi!

I have a content type called "membership" with field "number_of_days" (int).
I have a entity reference field on users account called "membership_reference" along with a "start_date" (date) and a "stop_date" (date) field.

Now I want to use the value of "number_of_days" to set a new value for "stop date", something like: now +[number_of_days] days

This is my setup:
Event:
After updating an existing user account

Condition:
User has roles: Parameter: Användare: [account], Roller: membership

Read more
playfulwolf's picture

How to automatically add user to "default" organic group during registration?

Hi,

Have a question about OG 7.2 and Rules

For example:

Have a community built on OG, and want that every new member of site to be automatically added to some specific group (like "Security and other important announcements") during registration.

Lets assume, that group "Security and other important announcements" is node/1

I cannot find in Rules interface how to do this. I should be simple, as there is event "User is validated" and action "Subscribe user to group" but still do not understand data selector.

Which one to choose?

Thank you in advance.

Read more
ben996's picture

Mail Verification for anonym Webform Submission with Rules possible?

Is it possible to realize a Mail Verification for anonym (not registered users) Webform Submission with Rules and possibly in combination with other modules (Drupal 7)?

Read more
tr33m4n's picture

Need help with Rule scheduling based on Flags

Hello there,

I'm trying to figure out how to create a rule to do the following:

Check whether a user has a boolean set to true in the users profile,
If the user has, get the date field from nodes the user has flagged
Then send an email a day before the date field for each flagged node.

Obviously this rule will have to turn off if the boolean is set to false.

Read more
rudyard55's picture

Noob:Rule to unpublish a custom content based upon a custom "exipration" field

Hello all,

I am new to rules (and Drupal for that matter.)

Rules, Tokens, views (installed and enabled)

I've successfully created rules to notify users by email when comments were added or when new nodes are created but I am having difficulty with this new task.

I created a custom content and added a field for "expiration date." I'd like to create a rule that would unpublish the content after the date in the expiration date field for the content. It seems like it should be a fairly straight forward task, but it is getting the best of me.

Read more
otcassetmgmt's picture

Limiting Flags

I am looking for a way to limit users on the amount of flagging per entity type.

More info:

I have a view that displays 50 node titles of the same content type and I want to create a component so users may flag (using VBO) a limit of 5 only? After that I may clone the component and change it from 5 to 1 or 10 or 20 this way I may apply these components to more views assigning them inside a VBO field?

Read more
Subscribe with RSS Syndicate content