Search in group Search
How to broadcast an e-mail message to group audience?
Organic Groups for Drupal 7 have the subscription notifiaction based on Rules. However, there is no solution for admin to send e-mail to all members of the group (audience broadcasting). So, I think it should be possible to modify this notification a little in order to get the audience broadcasting service.
Let's say we create the Content type "Broadcast" with the title and body only, and the remaining work would be done by the Rules. However, as I'm not a coder, I don't know how to modify subscription notification. It looks like the following:
{ "rules_og_member_active" : {
Un-publish all content by a user if his user-role changes
Does anyone have any idea how to do this? I have been playing around with rules to achieve this, up to the point of insufferable frustration, but failed.
ANY idea would be appreciated. Thank you!
Read moreCreating a node on using activation
Hi, I would like to know if it's possible to create a node when a user is created. The node will be assign to this user after the account is save. How can I do this ?
Thanks for your help !
Read moreSend mails based on cck fields
Hi guys, I'm trying to accomplish a rule wich works with facebook style statuses.
The rule start when occur the event user saves a status.
Under actions i have putted:
Load user account
And inside user name used the token: [status:recipient-name-raw]
Load content profile
User whose profile should be loaded: loaded user
Content type: user profile
And last one send a mail to a user.
And works perfectly :)
But Now i will do another thing. I have added to the user profile(is a node)
Read moreany way to sort through Rules such as: "Which Rules Invoke Which Fields", or "What Rules are Triggered When Content Type B is Created" ?
I am curious whether there area add on modules providing additional ways to sort Rules.
For instance, to see which Rules contain Field A within an Action.
Or to see which Rules are triggered when Content Type B is Created.
Have been looking at add on modules but do not find these functions. Thank you.
Read moreToken fails to validate in custom action
I have two custom actions I am using on a site I am working on. The first action is based off the Rules Bonus Pack get argument from path, and it returns the argument. This action creates a token that I can access. I have checked and the token validates correctly when used in pre-defined actions.
The second action takes a numeric input and looks up an email address associated with that number. When I give it an interger it works correctly, however when I feed it the token created by my first action it errors because it treats the input as the raw string instead of evaluating the token.
Read moreHow to determine when a rule or rule_set is executed or evaluated?
Hello,
I want to be able to determine when exactly a rule_set or rule has been executed successfully. I have looked vividly at the entire Rules code and I can't just find what I need. The only implementation that gave me a result is rules_log_evaluation_finished(). Below is my understanding about some pretty clear Rules APIs (I hope I'm correct).
- rules_get_items (returns info about all defined items - rules or rule set)
- rules_gather_items (used for collecting events, rules, actions and conditions from other modules)
Adding Role based on Taxonomy Field for a User
Hi,
I'm new to using Rules, so I'm struggling a bit.
In D7, I have some fields added to the User. One of these is a taxonomy field that I'm using to relate groups of users to different pieces of content.
What I'd like to do is change a user's role (when their account is created) based on the taxonomy they select in the registration phase (or when they change the taxonomy when updating their account). Seems simple enough, but I'm not having any joy.
I have tried:
Event
After updating an existing user account
Condition
Data Comparison
Unsticky and Sticky Node Articles
Hey there,
I am finding making rules very difficult.
Basically what I want it to do is once a day check for the last 2 published articles and sticky them, then the next day it will unsticky the previous articles and check for the last 2 published articles and sticky them.
Keeping my featured(sticky) content ever changing.
At the moment I have to manually sticky articles and unsticky the previous two.
I eagerly look forward to hearing from you.
I only want two articles stickied at a time because it looks less intrusive with my theme with just two.
Read moreRule to make all users of a role members of every group of a certain type (trigger up for grabs) in Rules 2
Hi Folks.
In Rules 2, I'm trying to work out how to assign all users of a role (Manager) to be members of every OG group of a certain content type (Company). Ideally I'd like this to happen when ever a new 'Company' node is created but would settle for a cron based trigger if I have to.
Does anyone have any pointers as to how I might achieve this?
Triggering a rule on node creation and adding a condition to check the content type is pretty easy. It's the rest that I'm a little fuzzy on.
Any help would be greatly appreciated.
Read more