User IP - Simply display visitor IP Address on post or page with a shortcode.
I like the idea behind this plugin and have tested it out on a demo site.
If you could, I would love it if this were updated to fit the most current version of WordPress; and if possible, if there were some way to add a few options (such as geolocation).
There is a problem looking up IP addresses that are behind a proxy. The following update to the "display_user_ip" ensures that you get the correct IP address even if it is behind a proxy.
// shortcode [user_ip]
$user_ip = $_SERVER['REMOTE_ADDR'];
$proxy = $_SERVER["HTTP_X_FORWARDED_FOR"];
$user_ip = $_SERVER["HTTP_X_FORWARDED_FOR"];
You must log in to submit a review. You can also log in or register using the form near the top of this page.