• We would like to use the 3CX Live Chat and Talk plugin using the mfunc setting using the W3TC caching plugin.

    For some reason we get error 50 when using the following code in our template (Changed the id in this example):
    <!– mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> –>
    echo do_shortcode(‘[3cx-clicktotalk id=”0000″ title=”Chat and call with Support”]’);
    <!– /mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> –>

    While the following code is working fine:
    <!– mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> –>
    echo date(“H:i:s”);
    <!– /mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> –>

    To make sure it is not an issue with shortcodes we tested the following code, which is working fine as well (changed the ID):
    <!– mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> –>
    echo do_shortcode(‘[contact-form-7 id=”00″ title=”Contact form”]’);
    <!– /mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> –>

    So the issue looks like to be an compatibility issue between fragment caching and the 3CX Live Chat and Talk plugin.

    Do you have solution for this?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @technoberg

    Thank you for your inquiry and I am happy to assist you with this.
    Does the shortcode of the mentioned plugin work without mfunc? I just want to confirm if everything is working as expected without page fragment caching?
    Are you planning to use the Live Chat and Talk on all pages or on the specific page of your website?
    Also, as you already mentioned, Page Fragment Caching works with the CF7 shortcode, and time and date echo and I am not very familiar with the plugin ou are using.
    Thanks!

    Thread Starter Technoberg Development

    (@technoberg)

    Dear Marko,

    The schortcode does work when adding the following code to the template:
    <?php echo do_shortcode(‘[3cx-clicktotalk id=”0000″ title=”Chat of Bel met Support”]’); ?>

    We would like to use the it on all pages but only at set times. Therefore we need to have the shortcode working dynamically, without caching.

    Thank you in advance for any further ideas to resolve this issue.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @technoberg

    Thank you for the information.
    I understand your question, however, as you stated the other shortcodes are working as expected. I’ve checked the plugin you are using and possibly the issue is on their end. I can see that you asked the same question in their support forum as well.
    Also, the code should not be withing the PHP tags.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fragment caching using 3CX Live Chat and Talk plugin’ is closed to new replies.