Search in group Search
Send an email notification with a link to publish a node
Hello,
Am working on a project(using drupal 7) where anonymous users are allowed to post content.Any content posted expires after a period of time(i.e make the content unpublish).
I want to send an email notification to the anonymous user based on the cck email field when content expires.Now I want to also add a link to the sent email so that when it is clicked by the anonymous user the node/content will be re-posted/set that particular nid status to published.
Read moreLimit node creation based on user roles
Im trying to limit the creation of nodes by user roles for eg. Subscriber (can create only 2 nodes) while Contributors (can create upto 5 nodes) by using Rules for D7.
So far its turned out pretty good but only upto displaying a message before saving node content. Instead what I am rolling over my head is to decide what user is currently logged in (particularly his role) and how many nodes he has created, then matching that node count with a fixed number, if the condition evaluates to TRUE then deny any further node creation.
Read moreOrganising rules for efficient execution
I'm getting the hang of writing custom actions but I need some help in how to execute a number of rules together into a workflow that doesn't slow my site down too much.
I have a number of custom actions executed on the event 'After saving new content' with a condition of 'Content has type'.
The actions include:
- Load 2 referenced nodes
- Calculate & write new cck field values into these referenced nodes
- Send emails to multiple users
(Solved) Rules working on field_image that doesn't work
After installation of the Rules module, I created a Triggered rules that is supposed to :
- look if there is an image associated with the new created content (image into field_image)
- if yes, made the new content «Sticky» on publich (even by scheduler)
But it doesn't work :(
The code is below - does somebody understand where is the problem ?
Thanks for tips and help
Best
D.
array (
'rules' =>
array (
'rules_punaiser' =>
array (
'#type' => 'rule',
'#set' => 'event_node_insert',
'#label' => 'Punaiser contenu si images',
Creating a New Event
hook_rules_event_info is documented at http://drupal.org/node/298549 as one of the hooks required to build a custom event.
However, a for this hooks comes up empty (e.g., it doesn't exist). Very little doubt that it indeed does exist, but where? And why is it so hard to find?
And if it is in an obscure place, shouldn't the documentation (http://drupal.org/node/298549) mention that location?
Thanks in advance for clues!
Read moreSitewide message that perists until a particular OG node is accessed by a user
Essentially I want to duplicate the sitewide messaging notification functionality the private messages module. Instead, I want this clickable message (that takes an OG member to the post) to persist until a new comment or node in a specific OG is read by a member of that group. Then it disappears. Is this possible with the rules module?
I can easily create a sitewide message that doesn't persist, but how would you keep it present just for each OG member until it is read?
If this isn't doable with rules, is anyone aware of a module with this functionality?
Thanks
Read moreHow to use a field on a view as an argument of rule set? Using VBO
Hello,
I have "crawled" the web for a day and still lack of knowledge. Please help me to find the right direction.
This question is about Rules, Flag and VBO.
I have some content in the site that users can apply for ownership. I use Flag module to allow them to "apply" by flagging a node. I have set some triggered rules to send notification, etc. That all works fine.
Now, I need an admin panel to approve these "ownership requests.
I created a view with 2 fields.
- Node Title
- User who flagged that node.
Noderefereces and Variable Saving
I've been reading the code, looking through other posts, and I was wondering if someone could clarify how / when variables tied to nodereferences are saved. They seem to save right at the the end, after all rules are evaluated. So, if I had two or three triggered rules that needed to updated a nodereferenced node, it would be best then to load that nodereferenced node once and then just update that variable with the other triggered rules (don't reload the nodereferenced node for each triggered rule).
Read morehelp me...i want create a list of point, if i click on point will open correspondent marker on map
Hi to everybody, i want create a web page, on top there is a google map, on the bottom there's a point list.
I wan't that user click on point on list, will open corresponent marker on map.
Who help me?? i'm a novice with drupal
thanks a lot
Read moreTime Since Last Node Modification - Numeric Comparison - How to Configure as a Condition? (SOLVED)
I am trying to use "time since node last updated" as a condition using numeric comparison. For instance, if a node has not been updated for 5 days.
I have tried tokens:
[node:mod-small] and
[node:mod-since]and various comparisons:
greater than + 5 days
less than - 5 days
and othersI am not able to make it work so that it is triggered if it is more than 5 days and is not triggered if it is less than 5 days.
When I use a Views filter, it is simply
Updated Date < - 21 daysAny help? Thank you.
Read more


