-------------------
1. functions.php
-------------------
Find:
--
$mybboard['internalver'] = "1.1.2";
$mybboard['vercode'] = "112";
--
Replace with:
--
$mybboard['internalver'] = "1.1.3";
$mybboard['vercode'] = "113";
--
-------------------
2. functions_post.php
-------------------
Find:
--
$message = preg_replace('#^/slap (.*)#iem', "'* $username $lang->slaps '.str_replace('
', '', '\\1').' $lang->with_trout
'", $message);
--
REPLACE with:
--
$username = str_replace("'", "\\'", $username);
$message = preg_replace('#^/slap (.*)#iem', "'* $username $lang->slaps '.str_replace('
', '', '\\1').' $lang->with_trout
'", $message);
--
-------------------
3. private.php
-------------------
Find:
--
$plugins->run_hooks("private_send_start");
--
ABOVE it add:
--
if($mybb->input['do'] != 'forward' && $mybb->input['do'] != 'reply')
{
$mybb->input['do'] = '';
}
--
ALL DONE.