I installed this contribution but the ip didnt get recorded so I changed the code in create_account.php.

If you have the same problem, find this code:
'customers_ip_address' => $REMOTE_ADDR,

and change it to:
'customers_ip_address' => $HTTP_SERVER_VARS["REMOTE_ADDR"],

I updated the install file, so the file in this version is for the full installation.

More...