Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-08-2005, 01:17 PM
successguy successguy is offline
 
Join Date: Apr 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 04-14-2005, 02:49 AM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 04-14-2005, 04:21 AM
successguy successguy is offline
 
Join Date: Apr 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 06-01-2005, 08:14 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 06-01-2005, 08:43 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 06-01-2005, 08:55 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But they can just turn it back on if they want..
Reply With Quote
  #7  
Old 06-01-2005, 09:01 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No they can't, try it yourself
Reply With Quote
  #8  
Old 06-01-2005, 11:55 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #9  
Old 06-02-2005, 12:01 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #10  
Old 06-02-2005, 12:06 AM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04482 seconds
  • Memory Usage 2,263KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete