Hello guys, this module is fantastic! works correctly but...

How can I do it for that the users (anonymous included) only can speak with a predetermined role?

I want the chat as a solution to support to the users of my website.

Thank you very much for your attentions. :)

Comments

Manuel P.V.’s picture

All right, I found two patches for this need.

nhero write this patch: drupalchat-use_custom_user_role-1838526-5.patch

And wqmeng write another this patch: drupalchat.drupalchat_support_restrict_only_chat_to_support.patch

Which of the two patches you think will be most appropriate?

Regards!

Neograph734’s picture

Assigned: Manuel P.V. » Unassigned
Issue tags: -role, -chat, -anonymous, -users, -permissions

Please link to the issues rather then the patches. Took quite some time to figure out for what versions the patches were and in what state they were.

nhero's patch #1838526: Allow users to chat with only a certain role was for version 1.0-beta10
wqmengs's patch #2349797: Restrict a normal user only chat to support who has the permission of administer drupalchat is for version 1.3

First one probably won't apply since it is too old (not tested). Second one does apply but still needs work.