Is there a way of (when I add a user) to create a node with he as author?
And is it possible to write own actions?
Is there a way of (when I add a user) to create a node with he as author?
And is it possible to write own actions?
Copyright © 2021 Jogjafile Inc.
Yes, and yes.
For the first one you'll need the Entity API module which will give you a new action called 'Create a new entity'. You can use this along with the event 'After saving a new user account' to create a new node with the newly created user as the author. I won't go into detail as it's pretty self-explanatory when you're going through the UI.
For the second, you need to implement
hook_rules_action_info()
. This example from the docs page contains all of the required, and some optional, properties to create an action: