vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Private Messages Enhancements - Prevent members sending private message to others (https://vborg.vbsupport.ru/showthread.php?t=197088)

abus3d 11-23-2008 10:00 PM

Prevent members sending private message to others
 
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

digicom 11-24-2008 02:06 AM

Much Apprciated :up:

abus3d 11-24-2008 02:22 AM

Quote:

Originally Posted by digicom (Post 1671703)
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

Quote:

Originally Posted by veenuisthebest (Post 1671842)
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

Quote:

Originally Posted by abus3d (Post 1671890)
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

Quote:

Originally Posted by hornstar1337 (Post 1672164)
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

Quote:

Originally Posted by vip_inc200 (Post 1672618)
mashkoor dear

regards

you welcome


All times are GMT. The time now is 06:42 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.01229 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete