• Resolved ggoaga

    (@ggoaga)


    Version 2.0.6 is the only one working properly

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Data443 Risk Migitation, Inc.

    (@data443)

    Would you please attach a copy of the code that isn’t working for you?

    Plugin Author Data443 Risk Migitation, Inc.

    (@data443)

    2.0.7 is known stable with no one else reporting an issue. Only 2.0.8 had reported issues which most folks have said we addressed in 2.0.9.

    Can you give more detail as to why you say 2.0.9 breaks your website? how? You can email us details or screenshots or open a ticket at:
    data443.com/support

    Thread Starter ggoaga

    (@ggoaga)

    It brakes this integration:
    https://www.bostondiamondstudio.com/diamond-inventory/
    version 2.0.9 will turn the screen white

    Plugin Author Data443 Risk Migitation, Inc.

    (@data443)

    For the diamond-inventory page, is TCM trying to output a code here or does it break the page simply because the plugin is enabled?

    Thread Starter ggoaga

    (@ggoaga)

    I have it implemented via your plugin as below, it will only works if I downgrade your plugin:

    Step 1: Include the following JavaScript files in your HTML:
    1. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
    Please note, this first jQuery line is optional, and only needed if you don’t already have JQuery on the page. *** Introducing a second JQuery version could cause conflicts on the page ***
    2. <script src="https://www.polygon.net/cgi/en/Js/jquery/plugins/jquery.ba-postmessage-custom.js"></script>
    *** The jquery.ba-postmessage-custom.js include must be AFTER Jquery include ***
    Step 2: Replace the current “iframe”, or simply add the following if this is a new install:
    <div id="diamondIp"></div>
    ***This line should come after the JQuery and before the iFrame***
    Step 3: Add the following JavaScript at the bottom on the page.
    Please ensure to include your client ID below
    <script type="text/javascript"> jQuery(document).ready(function() { var clientId = '153384'; var iFrameOriginalHeight = 750; var currentUrl = encodeURIComponent(document.location.href), frame_height, src = 'https://www.polygon.net/pog-diamond.ip.search-search.prep-en.jsa?ClientNo=' + clientId + '#' + currentUrl, // Append the iframe into the DOM. iframe = jQuery('<iframe src="' + src + '" width="100%" height="' + iFrameOriginalHeight + '" scrolling="no" frameborder="0"></iframe>').appendTo('#diamondIp'); jQuery.receiveMessage(function(e) { // Get the height from the passed data. var h = parseInt(e.data.replace(/.*frame_height=([0-9]+)(?:&|$)/, '$1')); if (!isNaN(h) && h > 0 && h !== frame_height) { // Height has changed, update the iframe. iframe.height(frame_height = h + 40); } }, "https://www.polygon.net"); }); </script>
    Plugin Author Data443 Risk Migitation, Inc.

    (@data443)

    Hello

    we added the same code using the new version (2.0.9) but the problem seems solved
    https://ibb.co/M9M3ZsT

    Could you please provide more details or enable again the script?

    Thank you

    Thread Starter ggoaga

    (@ggoaga)

    I enabled again the 2.0.9 and it is not working. I had to go back to 7 to have it work

    Plugin Author Data443 Risk Migitation, Inc.

    (@data443)

    Sorry for the miscommunication.

    The javascript code was super helpful in finding the problem.

    We will release an update today.

    -Oliver

    Thread Starter ggoaga

    (@ggoaga)

    Great. Let me know when you have the update and I will test it for you

    Plugin Author Data443 Risk Migitation, Inc.

    (@data443)

    Hi @ggoaga ,
    Please see the latest release and let us know if this solves your issue.

    Thread Starter ggoaga

    (@ggoaga)

    Yes. I can confirm it is working:
    https://www.bostondiamondstudio.com/diamond-inventory/

    Plugin Author Data443 Risk Migitation, Inc.

    (@data443)

    Great! thank you for your patience and for confirming.

    We are getting into the nitty gritty of making sure all use cases and setups are satisfied with the latest enhancements we did. Appreciate your help.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Brakes my website’ is closed to new replies.