This is a simple WhatIsMyIP page.
Installation (2.0):- Upload the attached "whatismyip.php" to your root forum folder (where index.php).
- Create a new template, called WHATISMYIP, and put this content:
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar
<!-- Start Main Script -->
<if condition="$naxon[ipenabled] == '1'">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="tcat">
WhatIsMyIP
</td>
</tr>
<tr>
<td class="thead">
Your IP Address
</td>
</tr>
<tr>
<td class="alt1" align="center" valign="middle">
<b><h1>Your IP Is <font color="orange">$naxon[ip]</font></h1></b>
</td>
</tr>
<tr>
<td class="thead">
Information About IP
</td>
</tr>
<tr>
<td class="alt1">
$naxon[ipinfo]
</td>
</tr>
</table>
<else />
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="tcat">
WhatIsMyIP
</td>
</tr>
<tr>
<td class="alt1">
The Administrator has turned off the WhatIsMyIP Page.
</td>
</tr>
</table>
</if>
<br /><br />
<div class="smallfont" align="center">
$naxon[ip_rights]
</div>
<!-- End Main Script -->
$footer
</body>
</html>
- Upload "admincp/whatismyip.php" to "admincp/whatismyip.php".
- Upload the "ipinstall.php" to you forum's root directory (where index.php), and run it.
- Open: includes/xml/cpnav_vbulletin.xml.
- Find:
Code:
<navoption displayorder="10">
<phrase>vbulletin_options</phrase>
<link>options.php?null=0</link>
</navoption>
- Add Below:
Code:
<navoption displayorder="10">
<text>WhatIsMyIP Page</text>
<link>whatismyip.php</link>
</navoption>
- Edit the setting at the AdminCP (Category: vBulletin Options, Entry: WhatIsMyIP Page).
- Have Fun

Versions:
1.0: Released.
1.1: Added a NavBit.
2.0: Added AdminCP Nav, Control from the AdminCP (enable \ disable, IPInfo Text).
2.1 (Current): Fixed installer (ipinstall.php).
This is a very simple "mod", but usefull

.
I tookthe information about the IP from Wikipedia, so change it
