Search in group Search
Rule to force user to create content when creating a group
I am trying to replicate the functionality of ideatorrent with common drupal modules and I have almost got it nailed but I am stuck with a problem. I'm using organic groups to represent each idea (problem) submitted and each solution as a post within that group. I would like to force (or at least redirect) the user to the create content form for the idea (problem) already specified for the group just created.
Read morehow to create rules to send email notification for node reference content?
i have two content types
1) job posting
2)job Application
content type "job Application " has node reference field for "job posting". so whenever one user create a "job posting" means, another user can send a "job application" to that job by filling the fields.
can i know how i can sent a notification to the user who had posted job ,when "job application" has been created for his/her job by rules ?
thank in advance
Read moreCreate an action to flag a referenced node -- How?
I have a content-type called "assignment" and another called "worksheet". When a user creates a worksheet, the assignment node is node-referenced to display on top (using Node Reference URL).
I also have a flag called "completed".
After the user creates/saves his worksheet, I would like to automatically flag the referenced assignment node.
I want to use the flags to keep track of which assignments have been completed (i.e. which assignments resulted in a completed worksheet).
Read moreWebform
Hi All
I'm designing product website in that I'm using Webform module to design forms like Enquiry form,feedback form and Request for quote. In the webform i created the email field as from and to. In to field i'm assigning default value as you@somedomain.com.
After filling all the fields like name,email,phone no etc. while submitting the form the mails are not reflected to the to address field.
Anyone please help me to finish this. Appreciation goes who is giving solution.
Regards,
Sabari
Send email when a Node is approved
Hi, Rules Module is a great project and I have been working without any problem with it. Just recently I needed a different use and I can not make it work as I need:
I have some rules and my system sends email when:
1) An anonim user send a comment. It send an email to de Admin and to the comment author. ("after submit a new comment" event)
2) When the Admin approved the comment, send an email to the comment author ("After publishing a comment" event)
Restrict user registration based on email extension (drupal 7)
Hi,
I've seen a lot of reference to the drupal 6 way of how to block , which was removed from core for 7. i've played around with creating rules before a user account is saved with (not) data comparison of site:current-user:mail, containing %@%.net, and the action "block a user" but this isn't working. i'd love any help or advice, drupal/rules is very new to me! thanks so much.
Read moreEditing action Execute custom PHP code on User Registration
I have custom PHP code that runs when a new user registers. I use the same code when a registered user fills out a form. The problem I am having is that for the user registration triggered event, I cannot seem to get values from any of the Tokens, $account or $user. The rest of the code works, but there are not values for those objects.
Is there a reason why this would work differently for User Registration?
Read moreHow to build Flag-triggered node creation using Rules
For a site using Drupal Forum module, I've got flags set up (Flags module) so registered users can flag problem posts (one Flag for comments, one for nodes). Already have Views set up so moderators can quickly look at flagged content.
But lately we're wanting to present a form of some sort to users who flag content asking them why.
So what I'm thinking is something like this:
- User flags node/comment
- Some kind of Rule takes user to a form to create a new node of a custom type (problem report, maybe)
- The form captures the user and the node/comment that was flagged
Add translation rule
Hi,
I'm building a new website in 2 languages. After adding a page in the English language, I want the users to be directed to the other language form (nomally in the tab Translation + link 'add translation').
Is this possible with the rules module and how can this be achieved?
I've tried to use the redirect, but don't know how to address the relationship for the translation with the original node.
Greetings,
Ruud
Moving from "Execute custom PHP code" actions to custom module
I have successfully started using Triggered Rules. Most of my actions involve using "Execute custom PHP code".
Now that I've got things up & running I'd like to move these custom php actions into a custom module.
I'm having trouble!
For example an existing rule (simplified from my real use case) looks like this:
Event:
- After saving new content (conditional on type)
Actions:
- Load a CCK referenced node
- Custom php (for example):
$referenced_node->field_counter['0']['value']++;
// increment simple counter in referenced node

