Forum Replies Created

Viewing 15 replies - 46 through 60 (of 84 total)
  • Plugin Author Alex

    (@alexdemchak)

    Which plugins in particular are you looking at? The URLs that are saved in the cache string should still be valid and replaceable. I’m not sure when the caching mechanism will be changed – I’ve had to change gears with the current global situation – but I would be happy to see if there is anything I can do in the mean time to get it compatible with the other plugins people are using

    Plugin Author Alex

    (@alexdemchak)

    Hi Thomas,

    Many versions ago it was in a dedicated cache folder, but that was posing a few issues. Currentlt it is cached using the [WordPress Transients API](https://developer.www.ads-software.com/apis/handbook/transients/)

    Transients by default are stored in the wp_options table. They are named _transient_content_mask-{content_mask_version_number}-{alpha characters of the mask URL}

    This will be changing relatively soon, but if you’re using a recent (or current 1.8.0.2) that’s, where they will be!

    Plugin Author Alex

    (@alexdemchak)

    Sure thing! The error message “SORRY, PAGE NOT FOUND. PLEASE CHECK THE URL AND TRY AGAIN” isn’t that Content Mask generates, so I have a hunch that the domain you’re trying to mask may be causing issues. Can you send me the URL of your primary site and the URL that you are trying to mask? You can send it to me at [email protected]

    Plugin Author Alex

    (@alexdemchak)

    What you would do is open up the editor for your “World News” page, and there should be a metabox at the very bottom of the page called “Content Mask Settings”.

    Paste https://news.sky.com into the “Content Mask URL” section, and click the Checkmark on the left hand side to turn it on, then click publish.

    It will then embed https://news.sky.com onto your page. If you’re using the iframe method, it will just frame it in, and always show the content from that page, even as new content is posted. If you use the download method, you can set how long you would like the cache to last, and it should update automatically.

    Here’s what the page should look like: https://i.imgur.com/sYhES9E.png

    With that said, a cursory look at the Terms & Conditions for news.sky.com shows the following:

    2.7 You will not copy, download, reproduce, republish, frame, broadcast, transmit in any manner whatsoever, any material on the Sky Site except as is strictly necessary for Your own personal non-commercial home use.

    So I can’t stress this enough: Be sure to get explicit written permission from them before you embed it into your website.

    • This reply was modified 5 years, 2 months ago by Alex.
    Plugin Author Alex

    (@alexdemchak)

    Hi @lukasklimt – There’s not much I can show you on your own site, but you’re free to try a demo on xhynk.com/content-mask!

    If you sign in to https://xhynk.com/content-mask/wp-admin using “demo” as the username and “demo” as the password, you can then add a mask to test it out.

    Click on “Content Mask” in the left hand menu. In the blue box at the top of the page is a section to create a new mask.

    First, Choose a masking method (either Download, or iFrame, both explained in detail here: xhynk.com/content-mask/#details).

    Second, give your page a name, this is because it will create a post or page with that name (and related slug). If you name it “Lukasklimt Test”, it will make a page at /lukasklimt-test.

    Third, paste in the URL you want to be masked on this new page. You can use https://example.com if you want.

    Fourth, choose a post type – usually Post or Page is good. For now, choose Page. Now click the Plus icon on the right and it will create the mask.

    Now, you should have a page at https://xhynk.com/content-mask/lukasklimt-test, that instead of showing the page/theme from this site, will show the content of https://example.com instead.

    It’s imperative you have a license and or are otherwise allowed to use the content you’re trying to mask. Also note some web hosts/servers don’t allow themselves to use the download or iframe method, and you’ll need to talk with their teams to whitelist your server if you’re having issues.

    Hope this helps!

    • This reply was modified 5 years, 2 months ago by Alex.
    • This reply was modified 5 years, 2 months ago by Alex.
    • This reply was modified 5 years, 2 months ago by Alex.
    Plugin Author Alex

    (@alexdemchak)

    Hi Andy,

    I just wanted to let you know that I have taken the opportunity to incorporate your suggestion of adding new Masks directly from the Admin Panel: https://i.imgur.com/Z5kdFhA.png

    Hopefully this will make it a little easier to create new masks, especially for first-time users!

    Plugin Author Alex

    (@alexdemchak)

    Certainly! If you take a look at the documentation for the delete_transient function, you can basically pass the name of the transient and have it delete.

    You could create a simple function that ran off a query string like

    add_action( 'init', 'clear_those_transients' );
    function clear_those_transients(){
        if( isset( $_GET['delete_trans' ) ){
            delete_transient( 'TRANSIENT_1' );
            delete_transient( 'TRANSIENT_2' );
        }
    }

    Then in your crontab, set up something like:

    0 * * * * wget "https://example.com/?delete_trans=true"

    Plugin Author Alex

    (@alexdemchak)

    Oh interesting, the only CORS issues I saw when pulling it up were from wistia. Glad you got it figured out! Again, let me know if you need help with anything else ??

    Plugin Author Alex

    (@alexdemchak)

    It looks like this is an issue with how you have the caching set up on https://brighterimagelab.com, which I expected when you mentioned it was working a few days ago.

    How long do you have the Cache set for? You may want to reduce it (or eliminate it altogether).

    Essentially what’s happening is that SYD and DVO are downloading the content which includes references to cached assets. When those assets are updated, the reference to them breaks.

    For example, SYD is referencing this stylesheet:
    https://brighterimagelab.com/wp-content/cache/min/1/wp-content/plugins/wp-video-lightbox/css/prettyPhoto-d41b022ae56a8988850e693fd4362c31.css which doesn’t exist, because the “live” one is actually this one: https://brighterimagelab.com/wp-content/cache/min/1/wp-content/plugins/wp-video-lightbox/css/prettyPhoto-ca034e44f8f091c26856d400a0a94897.css

    You’ll notice the cache keys on the file names are different, causing the issue. To prevent this, you’ll need to either:

    – Lower (or remove) the cache on SYD and DVO
    – Use the iframe method instead
    – Adjust how the caching works on BIL to prevent renaming the assets

    Let me know if you need any further assistance or clarification!

    Plugin Author Alex

    (@alexdemchak)

    When I first pull up that link, I’m getting an error that states that cookies are disabled. This could be because the domain you linked is not secured. I tried changing the protocol to https and was presented with an insecure error: https://i.imgur.com/zyVvuMt.png

    I would start with making sure you have a valid SSL certificate installed on your site and go from there. If you get that fixed and the issue persists, I’ll be happy to look into it further!

    Plugin Author Alex

    (@alexdemchak)

    Hi Andy,

    If you go into your WordPress admin and create a new page called “Blueprint”, you should see a Content Mask metabox underneath the content editor: https://i.imgur.com/hdSKTlI.png

    You can punch in the URL down there, click the check mark to turn it on, and publish the page.

    With that said, adding new Content Masks from the List View is an interesting method I hadn’t considered before, I’ll definitely look at incorporating something like that into the next release. Thanks for the feedback, and let me know if you need any further assistance!

    Plugin Author Alex

    (@alexdemchak)

    Hi Danny, my apologies in the delay – I hadn’t seen this issue come in. I’ve pushed out an updated to 1.0.8.5 that should fix that issue. Let me know if you’re noticing any other errors. Thanks!

    Plugin Author Alex

    (@alexdemchak)

    Hi Zkylizer,

    I’m going to assume you’ve figured out the blacklisting and mark this as resolved. I’ve also just pushed out an update that more transparently displays that a URL is being content masked, to easier identify content that’s being masked without a license. Please feel free to reach out if you have any other concerns!

    Plugin Author Alex

    (@alexdemchak)

    Hi Zkylizer,

    I’m just checking in since it’s been ~11 days since you had mentioned this. Were you able to get this resolved with any of the links I had sent you? I never heard from you about your website or the URL of the offending website. Let me know if there’s anything else I can do to help!

    Plugin Author Alex

    (@alexdemchak)

    Hi there! Unfortunately with so many plugins with good intentions, there’s bound to be Ne’er-do-wells.

    First and foremost, I would file a DMCA notice with the websites owner, as Content Mask explicitly states in it’s terms that a user must have license to use the content that they are embedding.

    Secondly, if they are using the ‘iframe’ method, you can prevent your website from being embedded in iframes. Here’s a helpful link on how to do that: https://stackoverflow.com/questions/2896623/how-to-prevent-my-site-page-to-be-loaded-via-3rd-party-site-frame-of-iframe

    If they’re using the ‘Download’ method, you can prevent your assets from being hotlinked with some .htaccess rules. Here’s a link on that: https://stackoverflow.com/questions/6691280/how-can-i-prevent-other-sites-from-linking-to-my-javascript-files

    My apologies that this is happening, I assure you the plugin’s intentions are good! If you wouldn’t mind, could you privately email your website and the offending website? I’d like to look into this a bit further. You can contact me directly through my website at https://xhynk.com/

Viewing 15 replies - 46 through 60 (of 84 total)