vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Private Messages Enhancements - Usergroups Can't Send PMs by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=268675)

BirdOPrey5 08-16-2011 10:00 PM

Usergroups Can't Send PMs by BOP5
 
1 Attachment(s)
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! ;)

BirdOPrey5 08-17-2011 04:19 PM

Reserved.

Sunka 08-17-2011 05:07 PM

Thank you.
Installed & Nominated!

As I wrote here...



Quote:

Originally Posted by Sunka (Post 2234624)
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!


BirdOPrey5 08-17-2011 05:11 PM

Will work on that. Userids and primary usergroups will be no problem Sending only to staff will be tricky- not going to happen today.

BirdOPrey5 08-17-2011 05:41 PM

Updated.

Sunka 08-17-2011 08:36 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2234629)
Userids and primary usergroups will be no problem

Thank you!

Quote:

Originally Posted by BirdOPrey5 (Post 2234629)
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...

JAFRI 08-18-2011 02:44 AM

yes, itis good., if Sending only to staff member. not send other usergroups a new member.

BirdOPrey5 08-18-2011 07:38 AM

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.

Sunka 08-18-2011 07:57 AM

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

BirdOPrey5 08-18-2011 11:18 AM

I can add a whitelist of usergroups not blocked by this mod.


All times are GMT. The time now is 11:42 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.01619 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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