Version: 1.0.1, by abus3d
Developer Last Online: Nov 2009
Category: Private Messages Enhancements -
Version: 3.7.x
Rating:
Released: 11-23-2008
Last Update: 12-05-2008
Installs: 19
Uses Plugins
Translations
No support by the author.
Dear All .....
this product allowed you to control the private message & prevent members to send private messages to others.
the product depend on usergroupid ..
PHP Code:
$vbulletin->userinfo['usergroupid']
the hock loction for this product : private_newpm_start
the Plugin PHP Code use in this product
PHP Code:
$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
PHP Code:
control panel/Plugins & Products/manager Products/[Add/Import Product]
- upload the product
- import the product
==========================================
Thanks for all
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
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.
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:
[CODE]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() ;
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
Correct, but they can't send PMs even to Admin/Mods and that is the problem