Log in

View Full Version : Prevent user from Turning PMs off...?


zagman76
04-27-2006, 07:37 PM
Hello - is there a way to prevent users from turning PMs off? I am not sure if there is a way within vB itself, or if a hack/plugin would be needed. I looked within the board, and didn't see anything. any ideas? Thanks!

louis_chypher
05-03-2006, 04:50 PM
Hello - is there a way to prevent users from turning PMs off? I am not sure if there is a way within vB itself, or if a hack/plugin would be needed. I looked within the board, and didn't see anything. any ideas? Thanks!


one way would be to edit the modifyoptions template and comment out the lines that display:

If you do not want to send or receive private messages, you may disable the private messaging system.

Enable Private Messaging

*shrug*

zagman76
05-03-2006, 05:22 PM
I just dont want the members to be able to turn PMs off

louis_chypher
05-03-2006, 06:07 PM
edit the modifyoptions template and comment out the lines:

<!--
<td>
<phrase 1="private.php$session[sessionurl_q]">$vbphrase[features_private_messaging_system]</phrase>
</td>
</tr>
<tr>
<td><label for="cb_receivepm"><input type="checkbox" name="options[receivepm]" value="1" id="cb_receivepm" onclick="toggle_disabled(this.checked, 'pmoptions')" $checked[receivepm] />$vbphrase[enable_private_messaging]</label><input type="hidden" name="set_options[receivepm]" value="1" /></td> -->

then your users will not have the option to turn off the private messaging. sorry disable was the wrong word to use.