User Info In Email For Contact Form 7

wordpress.org GitHub
Description:



This plugin is adding the user's internet provider information (based on IP address), to the body of the email.

IP: [user-info-ip]
City: [user-info-city]
State: [user-info-state]
Country:[user-info-country]
Zip-Code: [user-info-zipcode]
Time-zone: [user-info-timezone]
Longitude: [user-info-lon]
Latitude: [user-info-lat] in email body.


The plugin is making an HTTP GET request. It is sending only the users IP address to the domain ip-api.com.
The request returns all the information it is finding based on that IP address.
http://ip-api.com/json/

Note!
*Contact Form 7 Plugin required.


Installation:



1. Install and activate Contact Form 7 Plugin
2. Upload `user-info-in-email-for-contact-form-7` to the `/wp-content/plugins/` directory
3. Activate the plugin through the 'Plugins' menu in WordPress
4. Place shortcodes in your email body CF7:
IP: [user-info-ip]
City: [user-info-city]
State: [user-info-state]
Country:[user-info-country]
Zip-Code: [user-info-zipcode]
Time-zone: [user-info-timezone]
Longitude: [user-info-lon]
Latitude: [user-info-lat]

* You can use HTML5.

Changelog: