@erwin
if I put the below in newpm.php, will that be sufficient?
if (!$vboptions['enablepms'])
{
eval(print_standard_error('pm_adminoff'));
}
// check permission to use private messaging
if ($permissions['pmquota'] < 1 OR !$bbuserinfo['userid'])
{
print_no_permission();
}
//check if the user will receive PMs
if (!$bbuserinfo['receivepm'])
{
eval(print_standard_error('pm_turnedoff'));
}
|