Search in group Search
Loop through users and/or roles
It is possible to loop through each registered user? What about user roles?
Here's a real use case.
I want to run a club; be it a book club or a night club, doesn't matter. Being a club, it must have members i.e. users with a particular user role applied ("member"). Each user membership lasts for a certain period of time ("membership period"), let it be one hour, 6 months or 20 years, doesn't matter.
[member] users have a field named "expiration" which contains the user creation timestamp with the [membership period] applied.
Read moreHow to get a field value of fetched entity?
Is any way to get values of custom fields in the entity fetched (for example from entity reference), not created ones?
Use case: I have content type Global for input some data, text and decimal, and some reference fields to other entities. I want Rules to modify some field values in referenced entities based on the values inputed in Global. Rules are triggered on saving new Global or (in other cases) on updating Global.
Maybe should I use some modules like Entity Relationships or so?
Read moreUpdate Node changed Time when a Content Node of this updated?
Hi,
I want to define a rule that updates the Group node changed time when a content node of this was created or commented.
Can't find a workflow in Rules where I can define this.
I need this to sort the Groups by last activity.
Anyone who can help me by this?
Read moreValidate username before saving user (D7)
I am trying to create a rule that prevents users to signup with usernames that contain spaces.
When I use the "user: after saving account" event I can the "block" action and show an error message.
However it's confusing to users because it says something like "administrator has been notified".
When I use the "before saving account" event I cannot seem to stop the account from being created,
even when I force a redirect.
Is there a solution that shows an error message and redirects the user back to the registration page?
thanks
UWE
Read moreRules 2 and Schedule - Some help...?
Hi,
I have followed Johan’s screencasts on Rules 2 at NodeOne's Drupal Learning Library. (These are great Johan thanks a lot!) As a result I understand some basic use cases for Rules and generally get the concept how Rules fits in with Drupal. I have managed to set up quite a few rules to perform various tasks. I have however hit a brick wall with Rules Schedule.
Read moreRules and ubercart 3.x
Hi,
In UberCart 3.0-beta4 I need to apply tax that rate is based on taxonomy term. I was trying to use rules condition for that but I fail. My plan was that in TAX configuration I will use condition that will compare data from node (vocabulary term), but in tax for data comparision I can use only "store" and "order". Is there any way to compare taxonomy term in this case?
Thanks,
Paweł
Send mail to users of a particular role boolean logic with several roles selected
I need to send a mail to users of particular roles. The intention is, just as in the permission system, that if a user has any role from the list of the selected roles, that he gets the mail. The mail is not sent. It only works if I select only one role.
It looks to me like the logic to combine the roles is AND, thus, that only users that have all roles get the mail, and there are no such users. Instead, I need OR. There seems to be no way in the rules interface to select that.
Suggestions?
Read moreEvent for all saves of a taxonomy vocabulary
My intent is to perform an action whenever a specific taxonomy vocabulary is modified and saved (terms reordered, name or description change).
I have the following rule:
Event:
After updating an existing vocabulary
Data comparison condition:
Data to compare: [vocabulary:machine-name]
Data value: my_vocab_machine_name
Action:
Show a message on the site
Message: Yeah! my taxonomy was modified
Help with Translator Approval Workflow for Notepad++ Documentation Translation Site
I have volunteered my time to help with the Notepad-plus-plus documentation project. I am trying to streamline the workflow for approval of translators. I have created a "Translator application" which sends an email with the relevant tokens from the application node. Ideally I would like to just click on a link in the email which takes me to the node where I can approve the translator or deny it. Once it is approved I'd like to have other actions fired.
Read moreAdvanced Rules Tutorial/Reference suggestions?
Looking for any basic-advanced tutorials on understanding rules. Things that explain data selectors and such.
For example, if I create a component that is full of conditions, and then set that component as a condition in a rule, why do I need to provide a data selector? The conditions of the component ARE the conditions of the rule. That part is really confusing.
Read more
