If you use it, you are effectively adopting the code for your own project.
Magento module to display a customer's IP used during registration.
- version: check the config.xml
- extension key: Netzarbeiter_CustomerRegIp
- extension on Magento Connect
- Magento Connect 1.0 extension key: magento-community/Netzarbeiter_CustomerRegIp
- Magento Connect 2.0 extension key: http://connect20.magentocommerce.com/community/Netzarbeiter_CustomerRegIp
- extension on GitHub
- direct download link
This small extension saves the remote IP address from where the customer was registered or created, and displays it on the admin customer dashboard.
To include the customers registration IP in transactional email templates where the customer object is available you can use {{var customer.getRegistrationRemoteIp()}}
If you register a (free or commercial) API key for http://ipinfodb.com/ you can configure it at Admin - System Configuration - Netzarbeiter Extensions - Customer Registration IP
If a API key is registered a button to query the API will beavailable beside the customers IP address. Regardless of the API key settings, a link to lookup addresses via http://ip2location.com/ in a new window is always displayed.
- Magento >= 1.4
- Install the extension via Magento Connect with the key shown above or copy all the files into your document root.
- Clear the cache, logout from the admin panel and then login again.
- Configure and activate the extension under System - Configuration - Netzarbeiter Extensions - Customer Registration IP.
To uninstall this extension you need to run the following SQL after removing the extension files:
DELETE FROM eav_attribute WHERE attribute_code = 'registration_remote_ip';
DELETE FROM core_resource WHERE code = 'customerregip_setup';
If you have any issues with this extension, open an issue on GitHub (see URL above)
Any contributions are highly appreciated. The best way to contribute code is to open a pull request on GitHub.
Vinai Kopp http://www.netzarbeiter.com @VinaiKopp
OSL - Open Software Licence 3.0
(c) 2014 Vinai Kopp