PDA

View Full Version : Private Messages Enhancements - Usergroups Can't Send PMs by BOP5


BirdOPrey5
08-16-2011, 10:00 PM
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 usergroup white-list. White-listed usersgroups will not be blocked.

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.1.x.

Please Mark as Installed if you use this. :)

BirdOPrey5
08-17-2011, 04:24 PM
Reserved.

BirdOPrey5
08-18-2011, 05:43 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.

s.sami
08-20-2011, 02:44 PM
hi.

how can i arrange normal users cannot send pm to admin?

normal users id: 2

admin id : 6

BirdOPrey5
08-20-2011, 03:06 PM
That is not part of this mod. Offhand I don't know how you would do that.