ip.naml

<override_macro name="save_new_post_custom_fields">
     <n.visitor.set_property name="ip" value="[n.now.long_format/]: [n.visitor_ip_address/]" />
</override_macro>

<override_macro name="list_current_groups" requires="user">
    <n.if.visitor.is_site_admin>
        <then>
            <n.if.has_property name="ip">
                <then>
                    <div style="padding:.5em 0 0;font-weight: bold;font-family:Arial;"><n.get_property name="ip"/></div>
                </then>
            </n.if.has_property>
        </then>
    </n.if.visitor.is_site_admin>
    <n.overridden/>
</override_macro>