Search in group Search
Conditional message based on "start date" field
Scenario: I have a content type that describes an event that I want to keep visible after the start date but want to notify the visitor that the event is past the start date.
I found a module to hide the displayed start/end if "now" is greater than the start date but that's not really what I want.
I'm looking at how a "rule" might solve my problem but I'm a little lost.
What I've tried:
-
Created Component called "Expired Auction"
- Data to compare: start-date
- Operator value: Is Greater Than
- Data value: now
-
Created a rule called "Auction Expired"
- EVENTS
Set node->changed with Rules? Rules Link examples?
The task ir pretty much simple: with the click on the link, node "changed" time is modified to current time.
Cannot modify node->changed time with data selection - it is forbidden, or with custom php code:
$node->changed=time();
return $node;
Some other actions do work.
I use Rules Link, if it does matter.
What I am doing wrong?
Read morehow to count multiple comment field's value
I added three comment field FA and FB and FC .
they are term field now. maybe i will change it to text field.
I need do this:
when 3 different user comment value in FA FB FC are same .
user A: FA is "good", FB is "33", FC is "posted".
user B: FA is "good", FB is "33", FC is "posted".
user C: FA is "good", FB is "33", FC is "posted".
(if user comment multiple time, base on his lastest comment value)
do something (close the comment,send message, etc .. )
can rules do this? or how to do this with PHP code?
Read moreWeekly Email with Rules
I am trying to setup a Rules based email that is sent out weekly.
I have the 'Actions' set up, I just need some assistance with the 'Events' and 'Conditions.'
This email is not contingent upon a node or any sort of content being created, just day of the week, in this case every 'Monday' @ 5:00 AM.
I feel like this should be somewhat easy, but I am just missing something. Is there an easier way to do this?
I will possibly use 'Elysia Cron' going forward.
Recap:
- Sent an email with a static URL
- Weekly on Monday at 5:00 AM
- Repeats indefinitely
Thank you!
Read moreData not available To rules to set fields
I created a module using hook_rules_action_info. I can access the menu in Rules and I wrote a function in the module that takes numbers 1-10 and I shuffles them up to apply them to fields as to create a random pool. When I dpm the variable $numbers I see the array as integers displaying, but I am tiring in vain to use 'provide' as described in some tourtorials but I can not get it to be accessed by the entity api? I do have a return at the end of the function that does the number shuffle. I feel this is where I am doing something wrong? Or is there something else?
Read moreNewb: How do I link to a specific OG url? **SOLVED**
Hi,
solution>
My final setup looks like this:
[group:author:name],
[account:name] requests membership for group '[group:title]' in [group:url].
To activate this user, make sure you have logged in here: [site:login-url]
and then click the link below:
[group:url]#overlay=group/node/[group:nid]/admin/people&overlay-context=content/[group:group-group]
[og_membership:og-membership-request]
This takes the user straight to the page where they can activate the user.
/solution>
Read moreHow to fetch Views total number of records in page.tpl.php before views.tpl called.
See this image http://prntscr.com/7idx70 for more understanding.
I want to fetch Views total number of records in page.tpl.php before views.tpl called. Is it possible to fetch that row total before views rendered? I am also using contextual filter for this view. Views have page type display.
I have also used module https://www.drupal.org/project/views_record_count. but this will print total number of records on Views header or footer. (Not outside of views)
Read moreUse Rules to award userpoints for posting every day for a period
Hi,
I am new to the group, so forgive me if this is not the appropriate forum for this.
I am looking for some pointers/a recipe to encourage users to post content of a particular type daily by granting userpoints if they make it to a certain number of consecutive posts.
How can I create the rule to do this?
Minimally, it would be:
1) that a user creates a node of a particular content type that
2) meets a particular workflow state (i.e. must be published, not a draft) and
3) a minimum of once every 24 hours for a period of X days.
Ask user for decision action
Hi.
I'm currently trying to find out how to implement a rules, where at some point during its run the user should be asked for a decision.
A simple Yes/No would be enough.
For a start it would be enough to have the user decide whether to execute ther rule at all or not (which means, that this could be an outside process).
Nevertheless I would also need this during the execution of a rule.
How can I achieve this?
Thanks for any help.
--udo.
Trying to figure out the relation between Rules and BPMN2.0
The Fluxkraft UI proposals (see the Milano 2015 presentation) got me thinking if BPMN2.0 could be used as an UI for rules. It would be cool if a standard like that could be used and there is a good JS version on github you can check the demon on github to see how BPMN interface looks and why Fluxkraft UI made me think of this.
Read more



