I don't like my members to have the option to send private messages directly to email, and would rather have them login to view their messages. This is just a preference of mine, some wouldn't want this.
This mod by okweb (Ottar) makes a single checkbox at the bottom of the message, checked by default, that says: "Notify membername by e-mail" so that the member will have to login to view the message.
Note: Still doesn't work for "replies" to existing message - maybe someone can help me with that - probably easy.
-------------------------
FILE: templates/base/mail_box_compose_message.html
Edit file templates/base/mail_box_compose_message.html
at the bottom of the file find this code
<div class="message_container">
<textarea id="compose_message" class="story_edit_area"></textarea>
</div>
<div class="message_actions">
<div class="messages_options">
<label><input type="checkbox" id="to_mail"/>__send_copy_to__</label>
<br />
<label><input type="checkbox" id="to_my_mail"/>__send_copy_my__</label>
<br />
<label><input type="checkbox" id="notify_mail"/>__notify__</label>
</div>
__compose_actions_buttons__
</div>
Edit to:
--------
<div class="message_container">
<textarea id="compose_message" class="story_edit_area"></textarea>
</div>
<div class="message_actions">
<div class="messages_options">
<!--<label><input type="checkbox" id="to_mail"/>__send_copy_to__</label>
<br />
<label><input type="checkbox" id="to_my_mail"/>__send_copy_my__</label>
<br />-->
<label><input type="checkbox" checked="checked" id="notify_mail"/>__notify__</label>
</div>
__compose_actions_buttons__
</div>
2)
Delete file cache/bx_templ_en__templates_base_mail_box_compose_message.html.php