rules

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

Update 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 more
itserich's picture

Openlayers + Rules. Anyone done it? Any guidelines?

New to Openlayers, OL Proximity, and Rules. They all seem to be working.

Would like to notify users when nodes are published / updated based on geographic proximity, i.e. node is published with a location within 50 miles of a user. It is for a missing pet web site.

Anyone with experience integrating the two? Am going to try to figure out today. Thanks.

Read more
hovikzakian's picture

Use Rules to Unpublish content based on Author's role

I've been trying to find a way to use the Rules module to unpublish all of an author's nodes if his/her role is changed to a non-author role. But I'm having trouble finding the right variables in the rules module.

Anyone have any advice on how to go about getting this set up?

Thanks.

Read more
elcapitan82's picture

Unpublish node when other node with same title is created

I am building a site which depends on user-created content. In order to encourage users to contribute, I have a node type called Suggestion, which has a title field and nothing else. On my frontpage a list of these suggestions is displayed.

Now, When a user creates a Page with a title that matches one of the suggestions, I want that Suggestion to be automatically unpublished.

So the steps are:

WHEN...
Page is created

IF...
Title of created Page equals title of existing Suggestion

THEN...
Unpublish existing Suggestion

Read more
held69's picture

Is it possible to assign a role which only functions when user is groupadmin?

Hi all,

I'm trying to use this great module with Organic groups, which leaves me with the following question.

Is it possible to assign a role to a groupadmin that will only function in the context of that group?

Lets say a groupadmin receives a role after creation of a groupnode of a certain type.
Then he decides he wants to become a member of another groupnode of the same type he just became groupadmin of.
Now his groupadmin role of his own group shouldn't function. Instead he should receive a member role.

Hope this makes sense.

Thanks

Read more
itserich's picture

Openlayers Proximity and Rules

I have decided to devote large chunks of my life to learning Openlayers, Openlayers Proximity, and Rules to incorporate into a missing pet web site.

I finally figured out Location, but, Notification Proximity does not appear to function with current Notification.

Openlayers plus Rules appears to allow for proximity and this is very important to alerting people about newly reported pets in their area.

If anyone has experience with Openlayers or Rules, please contact me. I know this is easier than it looks, I have spent hours on Openlayers already....

http://www.missingpups.com

Read more
hampshire's picture

How can I "Page redirect" back to the referring URL

I have a situation where a link leads to a dummy page who's only purpose is to execute a rule. So when the link is clicked the rule is WHEN CONTENT IS GOING TO BE VIEW -> ADD USER ROLE.

That rules work fine and the user is left at the dummy page. The dummy page has no content and I want to redirect the user back to the page they were referred by so that they see it with their new role in place because it will now have different features.

Read more
yellowhousedesign's picture

Flag Module - Sending Flagged Nodes

Hi, I was informed of the Rules module by a member on the Drupal forums - and was extremely pleased with such a powerful module - and after digging into Rules a bit more, have come to a bit of a snag.

I saw the integration with the Flag Module http://drupal.org/project/flag - which is great http://drupal.org/node/407070

Read more
cainchild's picture

Accounting with rules

So I have been trying to figure out a way to give users the ability to vote a certain number of times per week, vote a certain number of times per node and such all based on rank.
I.E.
Privates can vote 3 times per week, and vote once on each node.
Sergeants can vote 9 times per week, and apply two votes per node etc...
If possible it would be nice to have the usable votes left accountable, such as the private being able to bank up 9 votes adn the sergeant banking up 12 votes etc..
I found this topic where wordfallz thinks rules can be used to accomplish this. Question is how?

Read more
minus's picture

Send a reminder

Hi

I have a webform where users register their name and e-mail address (and some other fields).

Is it possible to send a reminder to the e-mail address which the user submitted through the webform?

What I have done so far is enabled the Form Events module that comes with Rules, activated "Forms where events are activated: Webform emails form" created a triggered rule which uses the event "Webform emails form is submitted".
Created one condition "Form element 'e_post' value check" (is it possible to check if that field contains an @?)

Read more
Subscribe with RSS Syndicate content