View Full Version : Private Messages Enhancements - Prevent members sending private message to others
abus3d
11-23-2008, 10:00 PM
Dear All .....
this product allowed you to control the private message & prevent members to send private messages to others.
the product depend on usergroupid ..
$vbulletin->userinfo['usergroupid']
the hock loction for this product : private_newpm_start
the Plugin PHP Code use in this product
$prvnt_group = $vbulletin->userinfo['usergroupid'] ;
if($prvnt_group == 2 or $prvnt_group == 3)
{
standard_error('sorry you dont have permission to send private message '.','.'for any clarification please contact the<a href="sendmessage.php"> administrator</a>');
}
==========================================
how to install
control panel/Plugins & Products/manager Products/[Add/Import Product]
- upload the product
- import the product
==========================================
Thanks for all
digicom
11-24-2008, 02:06 AM
Much Apprciated :up:
abus3d
11-24-2008, 02:22 AM
Much Apprciated :up:
you welcome :)
veenuisthebest
11-24-2008, 08:23 AM
Isn't this is a default feature in usergroup manager. We just need to set the PM storage limit to 0 and sending/receiving PM's is blocked for that usergroup.
OR with your mod, receiving is allowed but not sending ?
abus3d
11-24-2008, 10:33 AM
Isn't this is a default feature in usergroup manager. We just need to set the PM storage limit to 0 and sending/receiving PM's is blocked for that usergroup.
OR with your mod, receiving is allowed but not sending ?
hello sir,
yes in my mod only the member can receive messages from the admin & moderators. But he can't send any message
- in PM storage limit when you are assign "0" you blocked PM (sending/receiving) for any usergroup you wish.
in my mod, still he can receive PM
thanks for you comments
veenuisthebest
11-24-2008, 11:43 AM
hello sir,
yes in my mod only the member can receive messages from the admin & moderators. But he can't send any message
- in PM storage limit when you are assign "0" you blocked PM (sending/receiving) for any usergroup you wish.
in my mod, still he can receive PM
thanks for you comments
alright, thanks for you explaination.. cheers :)
Hornstar
11-24-2008, 07:12 PM
yes, but I thought it was possbile to already give permission to mods and admins to override sending pms to inboxes which are full or that are set to 0. correct me if im wrong tho ^^
abus3d
11-25-2008, 05:50 AM
yes, but I thought it was possbile to already give permission to mods and admins to override sending pms to inboxes which are full or that are set to 0. correct me if im wrong tho ^^
sir,
in my Mod , the mods & admins can send and receive pms from membrs and for the others.
in this mod, only i blocked sending pm form members but still they can receive pms form mods & admins
vip_inc200
11-25-2008, 10:40 AM
mashkoor dear
regards
abus3d
11-25-2008, 10:47 AM
mashkoor dear
regards
you welcome
AliMadkour
11-25-2008, 12:07 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=182623" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=182623</a>
abus3d
11-26-2008, 08:18 AM
https://vborg.vbsupport.ru/showthread.php?t=182623
Mr. Ali
Your Mod depend on member Posts, when they reach 50 posts they can use the PM, your Mod is nice and great. and ingarege the members to increase there posts.
My mod. block the sending pm for members. even he post 1000 posts.
its helping the fourm which they are facing problems with members, and keeping sending PM to others with some bad words . etc
thanks for your passing
nooofe
11-26-2008, 10:55 AM
thanks
abus3d
11-27-2008, 01:01 AM
thanks
you are welcome
al3bed
11-27-2008, 01:24 AM
thanks .. :) y36eek al3afia ya abus3d
but this already implemented in VB script exzctly on user group permissions.. please try to update this .. we need hack to customize sending for each group. I mean if we want users only can receive and send message to administrators.
great work and best wishes
your brother .. al3bed
abus3d
11-27-2008, 10:27 AM
thanks .. :) y36eek al3afia ya abus3d
but this already implemented in VB script exzctly on user group permissions.. please try to update this .. we need hack to customize sending for each group. I mean if we want users only can receive and send message to administrators.
great work and best wishes
your brother .. al3bed
Dear al3bed :)
i will work in it
you are welcome.
abus3d
12-02-2008, 04:34 AM
up for benefit
7amza
12-06-2008, 10:06 PM
Thank you drear Ahmed
great Work
abus3d
12-06-2008, 10:20 PM
Thank you drear Ahmed
great Work
you are welcome dear 7amza :)
How do I set this mod to only allow certain usergroups including the admin and mods to be able to receive and send pms? For instance, I want my most senior group to be able to send and receive but all other groups only receive.
Also, I cannot find the phrases in order to put the URL for members to click to my Help Desk for assistance.
Thanks in advance.
SVTCobraLTD
01-29-2009, 12:28 PM
Can it be setup so the user will not be able to receive or send PM's except from Admins?
SVTCobraLTD
02-09-2009, 02:33 PM
Anyone?
How do I set this mod to only allow certain usergroups including the admin and mods to be able to receive and send pms? For instance, I want my most senior group to be able to send and receive but all other groups only receive.
Also, I cannot find the phrases in order to put the URL for members to click to my Help Desk for assistance.
Thanks in advance.
Anyone know how to do the above?
TIA
I have figured out how to change the permission message but I cannot figure out how to add several usergroups - I don't know how to program. Anyone know how to add multiple usergroups instead of just limited to the two usergroups?
I have tried this:
if ($vbulletin->options['prvnt_pm_swith'])
{
$prvnt_group = $vbulletin->userinfo['usergroupid'] ;
}
if($prvnt_group == 4 or $prvnt_group == 15,3,43,12,98,41,99)
{
print_no_permission() ;
and this:
[CODE]if ($vbulletin->options['prvnt_pm_swith'])
{
$prvnt_group = $vbulletin->userinfo['usergroupid'] ;
}
if($prvnt_group == 4 or $prvnt_group == 15 or $prvnt_group == 43 or $prvnt_group == 12 or $prvnt_group == 98 or $prvnt_group == 41 or $prvnt_group == 99 $prvnt_group == 96)
{
print_no_permission() ;
and this:
[CODE]if ($vbulletin->options['prvnt_pm_swith'])
{
$prvnt_group = $vbulletin->userinfo['usergroupid'] ;
}
if($prvnt_group == 4,15,3,43,12,98,41,99)
{
print_no_permission() ;
and they won't work.
TIA
abus3d
04-05-2009, 08:03 AM
Dear i will come back to you
tel me what your senior group number, or you can assign new group for your senior member and dont include in the condtiotion
fourat
04-10-2009, 03:33 AM
sir,
in my Mod , the mods & admins can send and receive pms from membrs and for the others.
in this mod, only i blocked sending pm form members but still they can receive pms form mods & admins
مشكور أخي أبو سعد .. بس في خصائص الفيبوليتن الإفتراضية إذا حددت تخزين الرسائل إلى صفر عندها العضو ما رح يقدر يرسل أو يستقبل رسائل لكنه يستقبل رسائل من المدراء والمشرفين .. يعني الخاصية موجودة أصلا
these is a default option in vbulletin
Merjawy
07-18-2009, 06:31 AM
I know this is a bit old but I just saw it.. I like it but could be better.. if you can make it only send to Admin and noone else, it would be great..
I do like it they way it is now, infact I had asked vB.com many times to make it default since long time..
Thanks I just installed and tested it on 3.8.2 and about to test it on my test 3.8.3.
Thanks again
Merjawy
07-18-2009, 06:35 AM
مشكور أخي أبو سعد .. بس في خصائص الفيبوليتن الإفتراضية إذا حددت تخزين الرسائل إلى صفر عندها العضو ما رح يقدر يرسل أو يستقبل رسائل لكنه يستقبل رسائل من المدراء والمشرفين .. يعني الخاصية موجودة أصلا
these is a default option in vbulletin
Correct, but they can't send PMs even to Admin/Mods and that is the problem
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.