New message notify - the one sent to users if a message gets sent to their communicator - appears to have been dropped from 5.6.4, even though the "Enable new message notifications" can be, and is set, in the admin panel.
Here is a quick fix - that met my needs for some work I was doing for someone. You can also use it / modify it - as needed.
In compose.php, find:
function MemberSendMessage( $member, $recipient, $must_use_credits = false )
add to the globals section:
Find this:Code:$en_inbox_notify = getParam("enable_inbox_notify");
and put this BEFORECode:} // If sending successful then mark as performed action if ( $result )
Complete 5.6.4 file attached to this post.Code:if ( $en_inbox_notify ) { $message_text = getParam("t_Message"); $subject = $_POST['mes_subject']; $aPlus['MessageText'] = strmaxtextlen($_POST['text'], $max_message_size); $result = sendMail( $recipient['Email'], $subject, $message_text, $recipient['ID'], $aPlus ); }


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks