Closed (fixed)
Project:
Rules
Version:
6.x-1.1
Component:
Rules Engine
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2009 at 11:23 UTC
Updated:
30 Jun 2010 at 07:10 UTC
I am trying to figure this out for some days now but can't get it to work.
What i would need is.
1) user updates account
2) check if field profile_lid_verhaal is set
3) if isset then do the following
4) create a new content; forum
5) give it a term to place it in the right forum
6) give it a title the user name
7) give it a content body; the profile field profile_lid_verhaal
8) publish
now almost everything i can do except #2, #3 and #7. And those are very crucial points... I really hope someon can help me out with this
Comments
Comment #1
Michsk commentedActually it would need to look more like this
1) user updates account
2) check if field profile_lid_verhaal is set
3) check if there is a forum node with the same title as the updated username in term X
3.a) if there is update the node body
3.b) if there is not proceed
4) create a new content; forum
5) give it a term to place it in the right forum
6) give it a title the user name
7) give it a content body; the profile field profile_lid_verhaal
8) publish
Comment #2
Michsk commentedwould this be possible?
Comment #3
mitchell commentedYes, all of these are possible. However, since #363682: User account update rule doesn't include Profile updates is not yet implemented, I recommend you make a content type of profile instead of using the core profile. You can setup a rule to add a user to a 'user with profile' role when they fill it out to keep them to only one. This can be a rather elegant solution for many profile module difficulties.