Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Usergroups Can't Send PMs by BOP5 Details »»
Usergroups Can't Send PMs by BOP5
Version: 1.2, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 4.x.x Rating:
Released: 08-16-2011 Last Update: 08-17-2011 Installs: 21
Supported Uses Plugins
Re-useable Code Translations  

This is a simple mod per a request. The request was for a mod to block certain usergroups from sending PMs, but they could still receive them.

Version History
1.0: Initial Release
1.1: Added options to disable for primary usergroups only and for specific users.
1.2 Added White-list Option- Can White-list Usergroups to never block those users.

This mod provides for the following:

Block primary or secondary usergroups from making new PMs.
Optionally block the same usergroups from replying to PMs.

Therefore it is possible with this mod to not allow sending PMs at all OR to only allow users to respond to PMs you (or someone) sends them via quick-reply.

The mod contains 2 plugins and 1 new phrase which is the error message shown when someone attempts to create a new PM who is not allowed to send one.

This has been tested on VB 4.1.5 and VB 3.8.7 and should work on at least all VB 3.7 through 4.2.x.

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated. :up:
Nominate MOTM if you LOVE it!

Download Now

File Type: zip BOP5 - Usergroups can't send PMs VB4.zip (3.0 KB, 108 views)

Screenshots

File Type: jpg UsergroupCantSendPMsSettings.jpg (85.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-17-2011, 04:19 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved.
Reply With Quote
  #3  
Old 08-17-2011, 05:07 PM
Sunka Sunka is offline
 
Join Date: Mar 2008
Location: Croatia
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.
Installed & Nominated!

As I wrote here...



Quote:
Originally Posted by Sunka View Post
Yes please if you can do it.

To choose usergroup and/or just some of users (User ID).

If still be possible to evolute MOD that blocked usergroups can send to staff PM's only?

And please give option to act only Primary group.

Thank you BirdOprey5, thank you very much!
Reply With Quote
Благодарность от:
BirdOPrey5
  #4  
Old 08-17-2011, 05:11 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will work on that. Userids and primary usergroups will be no problem Sending only to staff will be tricky- not going to happen today.
Reply With Quote
  #5  
Old 08-17-2011, 05:41 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated.
Reply With Quote
Благодарность от:
Sunka
  #6  
Old 08-17-2011, 08:36 PM
Sunka Sunka is offline
 
Join Date: Mar 2008
Location: Croatia
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Userids and primary usergroups will be no problem
Thank you!

Quote:
Originally Posted by BirdOPrey5 View Post
Sending only to staff will be tricky- not going to happen today.
If you can it will be awesome.
If you can not, or have not time, it is OK...
Reply With Quote
  #7  
Old 08-18-2011, 02:44 AM
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, itis good., if Sending only to staff member. not send other usergroups a new member.
Reply With Quote
  #8  
Old 08-18-2011, 07:38 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Although it's a work-around, not a solution, if you have your forum set to send a "welcome PM" to every new member from your admin account you can set this mod to allow replies and new people will be able to reply to you but not send PMs to anyone else.
Reply With Quote
  #9  
Old 08-18-2011, 07:57 AM
Sunka Sunka is offline
 
Join Date: Mar 2008
Location: Croatia
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uhhhhh...
I have rebellion on my forum.

One thing to add if possible, till then I have to stop MOD to work.

Is it possible to this MOD act like vanilla vBulletin permission setup?
I mean, if I disable default usergroup to send PM, and then they join to some Public (joinable) custom usergroups which can send PM, this YES permission must be stronger than NO permission.

By default on my forum new users can not send PM's, but after they join to some other group (additional group) which can send PM, is it possible that this "yes" permission is stronger then "no" permission?

Deafault usergroup: can not send PM
Additional usergrop: can send PM
--------------------------------------

Conclusion: User can send PM because YES is stronger then NO
Reply With Quote
  #10  
Old 08-18-2011, 11:18 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can add a whitelist of usergroups not blocked by this mod.
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 03:20 PM.


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.06888 seconds
  • Memory Usage 2,335KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete