vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Disable PMs for a single user? (https://vborg.vbsupport.ru/showthread.php?t=79606)

successguy 04-08-2005 01:17 PM

Disable PMs for a single user?
 
Is there a way to not allow a specific user to PM other members, without making a whole new user group for this?

Thanks,

Tom

YLP1 04-14-2005 02:49 AM

Hi SG..... I am by far an experienced VB and PHP user BUT I have asked this same question....the response I received from those I considered the "gurus" of PHP and VB suggested that the easiest method was to create a new usergroup and disallow pms and place those members that you don't want to have pm access in that group.

I created that on my board and works like a charm plus it allows me to manage members a little better in the ACP

successguy 04-14-2005 04:21 AM

YLP1 thanks for the reply and suggestion. But to be honest, I have a problem with that solution.

Say I have a user in group A that I don't want to allow them to use the PM system, but I also have a user in group B. Now say that I throw them into a group that has doesn't have PM permissions. User A members are allowed to post in certain forums, that user B members aren't. So in order for them to retain permission to post in those forums, I now need two groups that have PM disabled, one for group A and one for group B.

I mean that's fine, but let's say there is also groups C and D, etc. Each time I want to have a new group that has special permisssions, I would have to create another group that has those permissions, but doesn't have PM permission.

Seems to me like there should be a better way...

Also, for the mods/admin, I realized, after the fact, that I posted this thread in the wrong forum...Sorry bout that.

007 06-01-2005 08:14 PM

Quote:

Originally Posted by successguy
YLP1 thanks for the reply and suggestion. But to be honest, I have a problem with that solution.

Say I have a user in group A that I don't want to allow them to use the PM system, but I also have a user in group B. Now say that I throw them into a group that has doesn't have PM permissions. User A members are allowed to post in certain forums, that user B members aren't. So in order for them to retain permission to post in those forums, I now need two groups that have PM disabled, one for group A and one for group B.

I mean that's fine, but let's say there is also groups C and D, etc. Each time I want to have a new group that has special permisssions, I would have to create another group that has those permissions, but doesn't have PM permission.

Seems to me like there should be a better way...

Also, for the mods/admin, I realized, after the fact, that I posted this thread in the wrong forum...Sorry bout that.

I would LOVE to see this feature too, for the very reasons successguy stated. It works if you have one of two usergroups, but it's just annoying if you have many. An individual PM disabler would be a very nice addition.

Andreas 06-01-2005 08:43 PM

Hmm, a REALLY easy solution would be smth. like

PHP Code:

if (in_array($bbuserinfo['userid'], array(100,101,102,106)))
{
$permissions['pmquota'] = 0;
unset(
$_POST['options']['receivepm']);


in phpinclude_start.
Then userids 100,101,102 and 106 can't send PMs.
If you turn off PM reception for them in ACP they also shouldn't be able to receive PMs.

007 06-01-2005 08:55 PM

But they can just turn it back on if they want..

Andreas 06-01-2005 09:01 PM

No they can't, try it yourself :)

007 06-01-2005 11:55 PM

Quote:

Originally Posted by KirbyDE
If you turn off PM reception for them in ACP they also shouldn't be able to receive PMs.

What exactly do you mean by this then? I don't see an option for this.. :(

Andreas 06-02-2005 12:01 AM

ACP / Users / Search User
When you've opend the users profile, you will see a box Settings on bottom of the right side.
Select Receive PMs = No there and hit Save

(Dunno if the labels are correct as my vBulletin is german, but you should get the meaning).

007 06-02-2005 12:06 AM

That's what I thought it was..

Actually if they go to UserCP, then Edit Options, they can check off "Enable Private Messages" and turn it right back on.

:surprised:


All times are GMT. The time now is 01:33 PM.

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.01994 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete