If I want to join two condition in a one line
1)number of posts ( minimum 50 post)
2)user group id =2 ( members group)
To prevent members from sending pm's before 50 post put they have the permission to read any receive pm, is it look like this:
PHP Code:
if ($vbulletin->userinfo['posts'] < 20 &$vbulletin->$bbuserinfo['usergroupid'] == '2')
{
print_no_permission();
}
Regards