I use this solution for now which works great: It's with Computed fields, and I use this line: $entity_field[0]['value'] = ip_address();
So basically what it does, it's when a user submits a new node, it also attach his IP address to the node, which is great.
The problem is that if another user decides to edit the node, the IP field is being updated with the editors IP. Which is bad.
The IP should be printed only of the author of the node. And no matter how many other IPs edits the node, those should be ignored.
So, I was thinking maybe there was possible to do this by editing the PHP line or am I looking in wrong direction?