View Full Version : Private message only to admin
littleone
03-25-2007, 09:58 AM
Hi,
How can I let users Private message only to admin , and not to each other. This way I can control message spamming but at the same time want users to communicate with admin via; PM.
Thanks
Binu
linksysinfo
11-09-2007, 07:40 PM
i'd like to know this too.
helpmehost
11-10-2007, 04:12 PM
me too
Brandon Sheley
10-02-2008, 01:20 AM
is there a mod for 3.7 that would do this?
thanks
Eslob
04-15-2011, 11:15 PM
This is important !!!
Anyone?
I haven't tested this a lot, but you could try this: create a plugin using hook location private_insertpm_process and this code:
if (!is_member_of($vbulletin->userinfo, 6))
{
$check_recipients = $pmdm->info['recipients'];
if (!empty($check_recipients))
{
foreach ($check_recipients AS $userid => $user)
{
if (!is_member_of($user, 6))
{
eval(standard_error("Private messages allowed only to Admins"));
}
}
}
}
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.