Err, wish i knew what you meant there!, using your amended code the item doesn't display in the postbit userinfo dropdown.
Thanks for your help here
--------------- Added [DATE]1306724900[/DATE] at [TIME]1306724900[/TIME] ---------------
This works but im sure i've lost control over it somewhere as i should be able to choose which usergroups it will be available for then which ones can actually use it
HTML Code:
if (in_array($post[usergroupid], array( 1,2,3,4,5,6,7,8,9,10,11,12,13,14)))
{
$template_hook[postbit_user_popup].= "<tr><td class='vbmenu_option'><a href='iptest.php?domain=$post[ip]'>WhoisIP for $post[username]: $post[ip]</a></td></tr>";
}