vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   PMRestricted Usergroup can still delete their own PMs (https://vborg.vbsupport.ru/showthread.php?t=297875)

Tom1234 05-06-2013 03:37 PM

PMRestricted Usergroup can still delete their own PMs
 
We created a PMRestricted usergroup. Members assigned to this usergroup are not allowed to send or receive private messages. This is working as expected. The problem is that we discovered they are still able to delete their PMs. Is there any way to prevent a user from deleting their PMs?

Lynne 05-06-2013 08:50 PM

Dare I ask why you care if they delete their PMs (especially if they aren't allowed to receive any in the first place)?

There is no setting to disallow deleting PMs. You could edit the pm_messagelistbit template and put a condition around the box to not show it to the usergroup, or write a plugin and set $show['pmcheckbox'] to false for that usergroup.

Tom1234 05-07-2013 01:37 PM

Thank you, Lynne, for your response. I will look into editing the pm_messagelistbit template.

Regarding your question ... members are placed on PM restriction after admins have been notified that a member has been abusing PM privileges. The abuse is not bad enough to ban them from the forum but we do take the privilege away from them. We found that while they cannot send or receive PMs, they are still able to delete PMs. We want to take that ability away from them.


All times are GMT. The time now is 01:06 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.01950 seconds
  • Memory Usage 1,705KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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