You may also want to change this line
PHP Code:
<tr><td class="vbmenu_option"><strong>IP-Adress from $post[username]: $post[ip]</strong></td></tr>
for this one to give a pop up for searching IP's
PHP Code:
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/user.php?do=doips&$post[userid]','edit','width=640,height=480,scrollbars=yes')">IP-Adress from $post[username]: $post[ip]</span></td></tr>