Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter stkostis

    (@stkostis)

    thanks for replying.

    i figured it out, in case someone else has the same problem it’s the wpcerber causing it.

    you need to add a namespace exception for REST API on the WPcerber Hardening tab. Enter?contact-form-7?in the?Allow these namespaces?setting field.

    • This reply was modified 10 months ago by stkostis.
    • This reply was modified 10 months ago by stkostis.
    • This reply was modified 10 months ago by stkostis.
    Thread Starter stkostis

    (@stkostis)

    works ok but now I’m having trouble with pagination.
    The chat history is showing but without pagination

    My script is the following:

    <script id=”chatBroEmbedCode”>
    /* Chatbro Widget Embed Code Start */
    function ChatbroLoader(chats,async) {async=async!==false;var params={embedChatsParameters:chats instanceof Array?chats:[chats],needLoadCode:typeof Chatbro===’undefined’};var xhr=new XMLHttpRequest();xhr.withCredentials = true;xhr.onload=function(){eval(xhr.responseText)};xhr.onerror=function(){console.error(‘Chatbro loading error’)};xhr.open(‘POST’,’//www.chatbro.com/embed_chats/’,async);xhr.setRequestHeader(‘Content-Type’,’application/x-www-form-urlencoded’);xhr.send(‘parameters=’+encodeURIComponent(JSON.stringify(params)))}
    /* Chatbro Widget Embed Code End */
    ChatbroLoader({
    encodedChatId: ’95ic’,
    containerDivId: ‘chatbroHistory’,
    useStandardHistoryWidgetSettings: true
    });
    </script>

    bump
    having the same issue

    Thread Starter stkostis

    (@stkostis)

    tnx!

    Thread Starter stkostis

    (@stkostis)

    I’m running the 4.0.1
    console says Invalid App Id: Must be a number or numeric string representing the application id.
    hmmm my app id isn’t numeric… (https://postimg.org/gallery/1c02jl6tw/)

Viewing 5 replies - 1 through 5 (of 5 total)