Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Manuel P.V. CreditAttribution: Manuel P.V. commentedAll 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!
Comment #2
Neograph734Please 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.