View Full Version : Allow Super Mods to PM members without PM abilities?
findingpeace
02-28-2014, 04:39 PM
By default, new members on our forum cannot use the PM system. However, they can receive PMs from Admins.
How can we also allow Super Mods to send PM to members without PM abilities?
Thanks!
Max Taxable
02-28-2014, 04:41 PM
Pretty sure you want something like this, that allows restricted users to PM by usergroup, you can make it admins, Smods, mods, etc.
https://vborg.vbsupport.ru/showthread.php?t=233979
findingpeace
02-28-2014, 05:00 PM
Thanks Max! I have automatic promotion setup to allow PMs based on post count & registration time, but what I'm looking for is a way to let Super Moderators PM new members (who have no PM abilities). By default, it seems that only admins can do this?
Max Taxable
02-28-2014, 05:05 PM
Thanks Max! I have automatic promotion setup to allow PMs based on post count & registration time, but what I'm looking for is a way to let Super Moderators PM new members (who have no PM abilities). By default, it seems that only admins can do this?I don't know about that I only know the Mod I linked makes what you're doing superfluous and allows anyone you designate to send and receive PMs from the restricted group(s).
findingpeace
02-28-2014, 05:35 PM
Thanks for your help, Max! Unfortunately we needed several more options than post count in order to allow PMs.
This hook in pmdata_start did the trick:
if (is_member_of($registry->userinfo, 5))
{
$this->overridequota = true;
}
Along with editing the template memberaction_dropdown:
Changed
<vb:if condition="$show['pmlink']">
To
<vb:if condition="$show['pmlink'] OR is_member_of($bbuserinfo, 5)">
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.