Quote:
Originally Posted by Simon Lloyd
I tried this...
|
Sorry, i meant like this:
Code:
if (in_array($post[usergroupid], array( 1,2,3,4,5,6,7,8,9,10,11,12,13,14)) AND is_member_of($this->registry->userinfo, array(5,6,7)))
{
$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>";
}
Quote:
... one other thing, do we need the two </if>'s?
|
Oh, good call - I missed those. You're right, you don't need them.