I have now included into this mod, that a link is showen inside the "private mail page" to upgrade do the files
privmsg.php
privmsg_body.tpl
subsilver.cfg
in the how-to
Moderator: Moderators


code removed, I will try find a better solution :)

[FIND]
$to_username_array = explode (",", $HTTP_POST_VARS['username']);
[AFTER ADD]
foreach ($to_username_array as $name) $temp_array[] = trim($name);
$to_username_array=$temp_array;

#
#-----[ FIND ]------------------------------------------
#
$sql = "INSERT INTO " . USERS_TABLE . "
VALUES (
#
#-----[ IN-LINE, FIND ]------------------------------------------
#
user_allow_pm,
, user_active
#
#-----[ IN-LINE BEFORE,ADD ]------------------------------------------
#
, user_allow_mass_pm
#
#-----[ IN-LINE, FIND ]------------------------------------------
#
,";
#
#-----[ IN-LINE BEFORE,ADD ]------------------------------------------
#
, '$allow_mass_pm'

[FIND]
if (strcasecmp($to_users[$n]['username'],str_replace("\'", "'", $to_username_array[$n])))
{
$error = TRUE;
$error_msg .= $lang['No_such_user']." '".str_replace("\'", "'", $to_username_array[$n])."'";
}
[REPLACE WITH]
if (strcasecmp($to_users[$n]['username'],$to_username_array[$n]))
{
$error = TRUE;
$error_msg .= $lang['No_such_user']." '".$to_username_array[$n]."'";
}

Return to Custom mass PM [2.0.6/EM]
Users browsing this forum: No registered users and 0 guests