asinshesq wrote: Are you using manipe's or phantomk's version?
And you never confirmed my assumption that the track pm mod is working fine when the recipient answers a regular pm (it's only messed up when the user answers a welcoming pm). Is that assumption correct?
I am using mainpe's version.
Your assumption is correct, tracking was only messed up when the user answered a welcoming PM.
Your posts above made me try the following:
The Welcome PM mod has this code:
Code: Select all
$sql_info = "INSERT INTO " . PRIVMSGS_TABLE . " (privmsgs_type, privmsgs_subject, privmsgs_from_userid, privmsgs_to_userid, privmsgs_date, privmsgs_ip, privmsgs_enable_html, privmsgs_enable_bbcode, privmsgs_enable_smilies, privmsgs_attach_sig) VALUES (" . PRIVMSGS_NEW_MAIL . ", '" . str_replace("\'", "''", $wpm_subject) . "', " . $swpm_config['wpm_userid'] . ", " . $usertodata['user_id'] . ", $msg_time, '$user_ip', 0, 1, 1, 1)";
Great thing it seems to work.
But maybe not the nicest way to solve it?