I did not check to see if the ip was being recorded before i added this plugin so i dont know. but you might use this, it works for me.
<?php echo $_SERVER['REMOTE_ADDR']; ?>
If you don't get your public IP back then that would be your problem. If you do then I'd say there might be something wrong with your site.
Thanks dave and Paul.
@harold glad you got it working.. But Oxwall does not ignore general php, you have to know where to put it. Oxwall uses smarty, along with functions, classes and rendering/parsing internal structures to pass the data thru those pocesses to finally reach an output page file. You just have to know where to put your php and then grab it later with those utilities. Thats about as simple as i can put it.. :)