Quote:
Originally Posted by Remi
Hi
Can some one kindly tell me how to disable sending the PM when warning a member.
All what I need realy is changing the usergroup ID.
Thanks
|
Comment out the following code:
PHP Code:
eval('$messageb .= "' . fetch_template('warn_pm') . '";');
$title="You have been warned";
$to=$user['userid'];
$from=$bbuserinfo['userid'];
SendPM($messageb,$title,$to,$from);
in your warn.php file.
I've also made some changes to make this an option in the "Control Warnings" part of AdminCP, so if some one wants to use that, please download the two files supplied here (they contain the version which supports the historical listing of warnings).
Rgds
----------
John