Support » Plugin: WP-Live Chat by 3CX » "Online" Agent is Not Online

  • Resolved chenryahts

    (@chenryahts)


    I’m testing this plugin locally with our site, but when I select a different user than the one I am logged in as, the plugin still says that they are currently online – and tries to send the chat.

    Is this intended behavior (for ANY admin to trigger the chat, even if they aren’t the ‘Agent’ selected)?

    WordPress 4.4.2/WP Live Chat Support 6.0.06/Local XAMPP Server with WP Multisite Enabled

    https://wordpress.org/plugins/wp-live-chat-support/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi chenryahts

    Only the user that has agent privileges should be able to do this. We’ll release an update ASAP addressing this bug. Thank you very much for bringing this to our attention.

    It seems to be line 405 and 406 in wp_live_chat_support.php that is causing the problem when it assigns the user meta to a user outside of the switching system.

    Is there any other reason for this code?

    Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi there.

    Are you still experiencing issues with this, even after updating the plugin to version 6.0.7?

    No, it seems to be acting correctly now (although it does still show “Online” under the Agent on the Agent tab).

    Are there any known issues surrounding the check box for ‘Only show the chat window to users that are logged in’, because the box is unchecked, but the chat box is only showing for logged in users?

    Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi there.

    We aren’t aware of any bugs regarding this – we’ll look into this today and try replicate it on our local environment.

    Do you perhaps have any JS errors on your website when the user is logged out that you are aware of?

    I’m getting an error calling admin-ajax.php on the front end logged out:

    jquery.js?ver=1.11.3:5 POST http://localhost/wordpress2/myahts/wp-admin/admin-ajax.php net::ERR_CONNECTION_RESET
    send @ jquery.js?ver=1.11.3:5
    m.extend.ajax @ jquery.js?ver=1.11.3:5
    (anonymous function) @ wplc_u.js?ver=6.0.07:53
    j @ jquery.js?ver=1.11.3:2
    k.fireWith @ jquery.js?ver=1.11.3:2
    m.extend.ready @ jquery.js?ver=1.11.3:2
    J @ jquery.js?ver=1.11.3:2

    Visiting just that resource returns 0 when I’m not logged in (which seems to indicate it is not turned on for logged out users).

    The codex seems to be https://codex.wordpress.org/AJAX_in_Plugins#Ajax_on_the_Viewer-Facing_Side, do I need to activate it seperately?

    I am also getting an ‘uncaught error’ on line 189 of wplc_u.js, while logged in.

    Not sure if this is related.

    Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi there.

    We’re releasing a major update in about 8 hours. When it’s available, please update to that version and let me know if it solves the issue you’ve been experiencing?

    Okay, I updated the plugin and no, it is not working.

    Now, when logged out I get the following errors:

    http://localhost/wordpress2/myahts/wp-admin/admin-ajax.php Failed to load resource: net::ERR_CONNECTION_RESET
    http://localhost/wordpress2/myahts/?wc-ajax=get_refreshed_fragments Failed to load resource: net::ERR_CONNECTION_RESET

    It shows the logged out user in the ‘Live Chat’ page, but it doesn’t show the chat box on the website.

    (Also, is there no way to change the text color of the chat box header?)

    Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi chenryahts

    Is there any chance you could send me a link to your site so I can look into this for you?

    Styling the chat box header to your preference can be done by going to ‘Live Chat’ -> ‘Settings’ -> ‘Styles’.

    @wp-livechat

    Unfortunately, no, as it’s local only. It’s probably an issue with my local server. When/if I try it on a different one, I’ll see if it has the same issues.

    And, as for the colors, there was a text box that styled the “Online” text-box header color before the update, I was just wondering why it was inconsistent.

    Thanks for your help

    Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi chenryahts

    Please let me know if you still experience issues with this when you go onto another server.

    Just to confirm, are you still experiencing an issue with the colors?

    I have the same problem, always appear one connected agent , and no one is actually online

    Greetings

    Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi there.

    We’ve identified a bug in this and will be releasing an update shortly to patch it. My apologies for the inconvenience caused.

    Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi agoranet.

    Please update to version 6.1.01 and let me know if this helps?

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘"Online" Agent is Not Online’ is closed to new replies.