- Code: Select all
FIND - Line 1135
$to_username = $HTTP_POST_VARS['username'];
REPLACE WITH
$to_username = phpbb_clean_username($HTTP_POST_VARS['username']);
The problem is the PM mod changed that line pretty drastically. So I have no clue how to do the update. From what I understand the bugs are very serious, and I've already had someone hack me. So I really need to get this going asap. I'd prefer to not have to uninstall the PM mod.
Here's what the original change was:
- Code: Select all
#-----[ FIND ]------------------------------------------------
#
$to_username = $HTTP_POST_VARS['username'];
#
#-----[ REPLACE WITH ]----------------------------------------
#
// Start replacement - Custom mass PM MOD
$to_username_array = explode (",", $HTTP_POST_VARS['username']);
foreach ($to_username_array as $name) $temp_array[] = trim($name);
$to_username_array=$temp_array;
sort ($to_username_array);
$n=0;
while ( !empty($to_username_array[$n]) )
{
$to_username_array[$n] = trim ($to_username_array[$n]);
$to_usernames .= (($to_usernames) ? "," : "" ) . "'" . $to_username_array[$n++]."'";
}
// End replacement - Custom mass PM MOD
If someone could tell me how to incorporate the 2.0.11 changes to work, that would be extremely helpful.

