Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Prevent members sending private message to others Details »»
Prevent members sending private message to others
Version: 1.0.1, by abus3d abus3d is offline
Developer Last Online: Nov 2009 Show Printable Version Email this Page

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 == 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.

Comments
  #22  
Old 01-29-2009, 12:28 PM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can it be setup so the user will not be able to receive or send PM's except from Admins?
Reply With Quote
  #23  
Old 02-09-2009, 02:33 PM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #24  
Old 03-31-2009, 05:31 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YLP1 View Post
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
Reply With Quote
  #25  
Old 03-31-2009, 07:01 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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() ; 

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
Reply With Quote
  #26  
Old 04-05-2009, 08:03 AM
abus3d abus3d is offline
 
Join Date: May 2008
Location: UAE
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #27  
Old 04-10-2009, 03:33 AM
fourat fourat is offline
 
Join Date: Mar 2008
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abus3d View Post
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
Reply With Quote
  #28  
Old 07-18-2009, 06:31 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #29  
Old 07-18-2009, 06:35 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fourat View Post
مشكور أخي أبو سعد .. بس في خصائص الفيبوليتن الإفتراضية إذا حددت تخزين الرسائل إلى صفر عندها العضو ما رح يقدر يرسل أو يستقبل رسائل لكنه يستقبل رسائل من المدراء والمشرفين .. يعني الخاصية موجودة أصلا

these is a default option in vbulletin
Correct, but they can't send PMs even to Admin/Mods and that is the problem
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08142 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete