Support » Plugin: 3CX Live Chat » Show chat only to certain Role User

  • Resolved wappone88

    (@wappone88)


    is there any way to only show the chat to certain role user?
    I would need to activate the chat only for customer who bought a subscription and their user role became “subscriber”

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wp3cx

    (@wp3cx)

    Hi @wappone88 ,

    That is currently not supported by the plugin.

    You would need to write custom code to achieve this or use a plugin such Content Control to restrict a page to subscribers and show the chat box only on that page.

    Thread Starter wappone88

    (@wappone88)

    can the chat be integrate with a line of code instead?
    I have a plugin for restricting line of codes from certain user instead of restricting the whole page

    Plugin Author wp3cx

    (@wp3cx)

    Hi @wappone88 ,

    The plugin does have a shortcode but unfortunately it won’t work in your case. It will only work in the scenario I mentioned in my previous post which is a whole page restriction.

    By default the chat box is shown on all pages. The user has the option to show it only on specific pages. So if you specify/allow a page but hide the shortcode, it will still render because the configuration of the plugin is per page. If you hide the chat box on all pages it will still won’t work because even if the shortcode executes it will be blocked because that page won’t be allowed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show chat only to certain Role User’ is closed to new replies.