vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Prevent user from Turning PMs off...? (https://vborg.vbsupport.ru/showthread.php?t=114245)

zagman76 04-27-2006 07:37 PM

Prevent user from Turning PMs off...?
 
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

Quote:

Originally Posted by zagman76
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.


All times are GMT. The time now is 05:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01605 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete