Hi guys i'm writing u for a question, i've installed your verison 2.x because i need the power of rules.
Basically i need to load a content profile when a private message is sent and perform a check if a cck field has a predefinid value.
My goal is: Every person who join the site and sets his cck Place on London (select list) when a PM is sended to him, he can recieve a sistem mail .
But when i was trying to add a new rule set I discovered there is no Private Message arguments.
I will represent my steps:
First time I tryed to create a triggered rule:
1 Called send mails:
2 Selected Event: A mesage is sent
3 Added Load user account
--> on user uid used the token [recipient:uid]
4 Load a user Profile
--> User, whose profile should be loaded: Loaded User
-->Content Profile Content Type: User Profile
Perfect, but now i need to perform a a condition if a cck field has a value.
Impossible to do with a single triggered rule
So i need to do a rule set that do this job
I'm gone to Rule Sets
Created a new rule set called pm_notice
Inside the rul set added two rules called:
grab_data
in CONDITION: leaved empty
in DO:
Load a user account
Load a user profile
and another rule called
verify_data
in CONDITION: CCK field has value
(for example verify the user lives in London)
i select my cck (is a select list) -> field_place, and value is london
DO
Send a mail to a user
Actually I can't do this because i can't load an argument of privatemessage when I create the new rule set.
And when I select the trigger A message is sent in DO I can't select Rules Sets.
Someone can help me ?
Thx in advance
Comments
Comment #0.0
GolDRoger CreditAttribution: GolDRoger commentedBetter explained
Comment #1
oadaeh CreditAttribution: oadaeh as a volunteer commentedThis issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-1.x branch (bug fixes only) or the 7.x-2.x branch.
Thank you.