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.
Code:
<xen:require css="content_ip.css" />
<div>
<table class="ipInfo">
<tr>
<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>
</tr>
<tr>
<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>
</tr>
<tr>
<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>
</tr>
</table>
<div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase close}</a></div>
</div>
Upvote
2