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

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

Quote:

Originally Posted by AliMadkour (Post 1672651)

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

Quote:

Originally Posted by nooofe (Post 1673268)
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

Quote:

Originally Posted by al3bed (Post 1673701)
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

Quote:

Originally Posted by 7amza (Post 1679909)
Thank you drear Ahmed
great Work

you are welcome dear 7amza :)

YLP1 01-28-2009 02:46 AM

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?

YLP1 03-31-2009 05:31 PM

Quote:

Originally Posted by YLP1 (Post 1726779)
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

YLP1 03-31-2009 07:01 PM

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

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

Quote:

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

Quote:

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

these is a default option in vbulletin

Correct, but they can't send PMs even to Admin/Mods and that is the problem


All times are GMT. The time now is 05:49 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.01389 seconds
  • Memory Usage 1,817KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete