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.

Sunka 08-18-2011 11:47 AM

Isn't it easier to follow default vBulletin permission rules (YES is stronger then NO)?

BirdOPrey5 08-18-2011 11:52 AM

Quote:

Originally Posted by Sunka (Post 2234904)
Isn't it easier to follow default vBulletin permission rules (YES is stronger then NO)?

OK- you code the change. It's re-usable code. :D

Sunka 08-18-2011 02:46 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2234907)
OK- you code the change. It's re-usable code. :D

LOL

:D

BirdOPrey5 08-18-2011 05:41 PM

Updated to version 1.2 - Added the Whitelist option.

Any usergroups placed in the whitelist will override any usergroups on the block list of usergroups. The whitelist works on primary or secondary usergroups.

The usergroup whitelist will NOT override specific userids that are blocked.

Whitelisted users will follow whatever standard PM rules you have set in vBulletin.

Sunka 08-18-2011 09:33 PM

Stars shine on this moment just for you.

Thank you my friend... let see is it working like I think it should. Rebellion on my forum is strong enough to use whip again... lol

Lord. Dela 08-19-2011 06:52 PM

Dont Work for me.

Error: Error XML: syntax error en la lĂ­nea 1

BirdOPrey5 08-19-2011 07:55 PM

Quote:

Originally Posted by Lord. Dela (Post 2235498)
Dont Work for me.

Error: Error XML: syntax error en la l?nea 1

Maybe try downloading again- from a different browser if possible.

Have you ever been able to install other mods?

FReeSTER 08-21-2011 04:52 AM

It will be nice to add an option for usergroup cant send PMs until have so many posts.
:D

BirdOPrey5 08-21-2011 03:14 PM

Quote:

Originally Posted by FReeSTER (Post 2236034)
It will be nice to add an option for usergroup cant send PMs until have so many posts.
:D

Good idea for a future version. :up:

denman75 08-21-2011 04:15 PM

oh this is one cool mod ,thank you !!

my123world 08-28-2011 01:14 PM

Whats The Use Of This Mod When You Can Simply Disable PMs for the usergroup via Usergroup Settings? Please Can You Add A Feature Of "PM To Staff Only". That Would be The Best! :)

BirdOPrey5 08-28-2011 03:13 PM

Quote:

Originally Posted by my123world (Post 2239101)
Whats The Use Of This Mod When You Can Simply Disable PMs for the usergroup via Usergroup Settings? Please Can You Add A Feature Of "PM To Staff Only". That Would be The Best! :)

If you disable the PMs via the Usergroup Manager the user can't receive PMs either. This way they can receive AND respond to PMs they receive without being able to PM everyone.

To allow the user to send PMs to staff only please look at this mod (not one of mine):
https://vborg.vbsupport.ru/showthread.php?t=233979]

It has that and many other useful options.

my123world 08-29-2011 02:41 PM

Thanks Alot... :)

BirdOPrey5 08-29-2011 07:56 PM

Quote:

Originally Posted by my123world (Post 2239467)
Thanks Alot... :)

You're welcome, please mark this as installed if you are using t. :up:

OldSchoolDSL 11-19-2011 02:18 AM

Oh such a wonderful tool :D

Installed and working 4.1.8

Seductor 05-31-2012 11:03 AM

Block replies off stopped working for me :(

BirdOPrey5 05-31-2012 12:13 PM

What changed? VB upgrade?

Please mark as installed.

Valerio 04-18-2013 01:50 AM

I would like just to let you know a misspelled "wathelist" instead of Whitelist.

by the way great mod, thank you.

goycarden 07-29-2013 08:39 AM

Does it work with 4.2.x ?

BirdOPrey5 07-29-2013 09:00 AM

Yes


All times are GMT. The time now is 05:49 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.01272 seconds
  • Memory Usage 1,773KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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