Protoman
07-18-2005, 10:00 PM
Simple mod I thought I'd share. :bunny:
This removes the line that says 'Send user a PM' when viewing a profile if the user has chosen to not receive PM's
In private.php
Find
// form for creating a new private message
if ($_REQUEST['do'] == 'newpm')
{
require_once('./includes/functions_newpost.php');
Below Add
if (!$bbuserinfo['receivepm'])
{
exit;
}
Upload the new private.php and you're finished! ^_^
This removes the line that says 'Send user a PM' when viewing a profile if the user has chosen to not receive PM's
In private.php
Find
// form for creating a new private message
if ($_REQUEST['do'] == 'newpm')
{
require_once('./includes/functions_newpost.php');
Below Add
if (!$bbuserinfo['receivepm'])
{
exit;
}
Upload the new private.php and you're finished! ^_^