We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Allow Free member to reply to message from paid member | Forum

Cha
Cha Feb 26 '14
Hello,

My free members have no permissions to send private messages.
My paying member do.

But if a free member receives a message from a paying member, the free member can not send a reply.

Is there a way to make this work?

Thanks

Best regards,

Cha
ross Team
ross Feb 27 '14
Topic was moved from General Questions.
Daisy Team
Daisy Mar 12 '14
Cha, there is no the Reply service. The only way to achieve this is to add a new role service fro the Mailbox plugin. Please check the files below to see how it works for the Send Private Message service:

1. Here you can see how the services are added: /ow_plugins/mailbox/install.php

$authorization = OW::getAuthorization();
$groupName = 'mailbox';
$authorization->addGroup($groupName, 0);
$authorization->addAction($groupName, 'read_message');
$authorization->addAction($groupName, 'send_message');

2. Here you can see how to use the added service: /ow_plugins/mailbox/classes/create_conversation_form.php

$isAuthorized = OW::getUser()->isAuthorized( 'mailbox', 'send_message' );

If you are not familiar with the code modifications, it would be better for you to find a developer who can help you with it. Please visit our Oxwall Market (http://www.oxwall.org/market/specialists).
The Forum post is edited by Daisy Mar 12 '14