Hi
I'd like your ideas about linking autoactions.
I have a codeautoaction PHP which gives a result like
Code:
return ['result' => 'success', 'user_id' => $user->id, 'name' => '[post_name]', 'actid' => '[post_member]', 'model' => $ndb_model_active , 'url' => $ndb_url_active];
}
else {
return array('result' => 'failed');
}
My code is working fine and I'd like to warn the $user->id that the action was successfully completed by including the 'name' in the message.
Could you tell me how to link a private message to the result ?
Should I set up a new autoaction or just write a php under the result ?
If it's a new autoaction, how can I condition it to the result of the first one and get the userid and the name from the first one ?
thanks for your ideas