Add-on Limit which usergroups a user in a specific usergroup can PM?

Ludachris

Well-known member
I'm looking to limit newly registered members (who are in one usergroup but not others) to only be to start conversations with certain specified usergroups (like moderators, admins, vendors, etc). I want them to be able to privately communicate with some people, but not all. This is due to the surge in scammers who register and immediately PM a member who has a classified post, trying to get them to contact someone via email to get the scam started. I know of an addon that does something close, but it forces you to set specific usernames the new members can PM, where I want to specify usergroups they can PM.

If you know of an addon that does this, let me know!
 
As is always the case it seems, I found this add-on that might work:

I just need him to reply to let me know if I can specify the usergroups.
 
I took a look at the add-on’s source code and it appears to only check whether the recipient is an admin or a moderator:

PHP:
if (!$recipient->is_admin && !$recipient->is_moderator)
{
    $this->conversation->error(\XF::phrase('ozzmodz_StaffConvos_error'), 'recipients', false);
}

So at the moment, it doesn’t look like there’s a way to define custom usergroups – it seems to be limited to staff only, as you mentioned.

Would something like this be more suitable for what you’re trying to achieve?
 
Back
Top Bottom