1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Implemented Map IP Address on IP Card

Discussion in 'Closed Suggestions' started by kingston, Dec 31, 2010.

  1. kingston

    kingston Well-Known Member

    So I was needing this to help track down users. All I did was make the IP address clickable and take you to a website that uses google maps to show you where that IP address is.

    <xen:require css="content_ip.css" />
    	<table class="ipInfo">
    		<th class="primaryContent">{xen:phrase content_ip}</th>
    		<td class="secondaryContent"><span class="ip"><a href="http://ip.corporationwiki.com/{$ipInfo.contentIp}/" target=_blank>{$ipInfo.contentIp}</a></span> <span class="host">{$ipInfo.contentHost}</span></td>
    		<th class="primaryContent">{xen:phrase user_registration_ip}</th>
    		<td class="secondaryContent"><span class="ip"><a href="http://ip.corporationwiki.com/{$ipInfo.registrationIp}/" target=_blank>{$ipInfo.registrationIp}</a></span> <span class="host">{$ipInfo.registrationHost}</span></td>
    		<th class="primaryContent">{xen:phrase account_confirmation_ip}</th>
    		<td class="secondaryContent"><span class="ip"><a href="http://ip.corporationwiki.com/{$ipInfo.confirmationIp}/" target=_blank>{$ipInfo.confirmationIp}</a></span> <span class="host">{$ipInfo.confirmationHost}</span></td>
    	<div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase close}</a></div>
    Vincent and Veer like this.
  2. Vincent

    Vincent Well-Known Member

    These are things xenForo should need to have by default and not modifications I think ;)
  3. Kier

    Kier XenForo Developer Staff Member

  4. Lu Kas

    Lu Kas Active Member

    @kier, not really working for me. its the correct country but about 350km away from my place ;)

    kingstons site shows the correct city
  5. kingston

    kingston Well-Known Member

    I think whatever service you use can be hit or miss. I have some users I am getting spot on, and some area a couple states away (in the US that is far)

    I might switch to whatismyipaddress

Share This Page