Forum Replies Created

Viewing 13 replies - 46 through 58 (of 58 total)
  • Plugin Author Aristocles

    (@apos37)

    Thank you for your kind review!! ??

    Plugin Author Aristocles

    (@apos37)

    @gonchar5, Can you please elaborate on what you are asking? I’m not sure I understand.

    The plugin does check iframe src urls if that’s what you’re asking.

    Simply checking the iframe src url does not work for all types of videos, though. YouTube videos for example will still return a good header response no matter what, so I had to make a workaround to attempt to fetch JSON data for a specific video, and if that doesn’t exist then the link is broken.

    I have only integrated with YouTube videos so far. Embedded videos from other websites like Vimeo will likely need proper integration as well. Are you wanting me to integrate with another video site? If so, which one(s)?

    Plugin Author Aristocles

    (@apos37)

    Hi @amurashkin, thank you for taking the time to write all that.

    In response, let’s start with the checkboxes. The way the wp-config tab currently works (and we can explore alternatives, absolutely!) is that the snippet checkboxes get checked if the plugin finds the snippet in the file regardless of the value, and regardless of spacing, case, and type of quotation marks. So whether you have define('WP_DEBUG_LOG', true) or define( "WP_DEBUG_LOG", FALSE ), it will still be checked. The text should always be grey if it is checked/found, and rosy if unchecked/not found. If this is not the case, then something is off. Overall you want to select what want on your file, and deselect what you don’t want on your file.

    The plugin does not save any information about what you have previously selected or what was on previous versions; unless a snippet is selected when you update it, it will not add it. The only thing I can think that happened is that when you restored the older version of the file, the page was not refreshed before trying again. Hopefully that was a one-off, but if it happens again, I’ll need more information and examples to replicate.

    As for the values, if the snippet is found in your file, it should show the value you have set, and if it’s not in your file then it will give a value that is commonly used as a default so that you can quickly add it. There is a filter (ddtt_wpconfig_snippets) that will allow you to change the default values if you wish. Instructions are on the hooks tab.

    I can certainly add some explanation to the page as requested. ?? Regarding placement of the snippets, I’ll have to think about that a little bit. As I mentioned before, this whole snippet thing is in BETA still, because until now nobody has come forward with any suggestions or concerns about it and I’ve had very little to go by. I wasn’t sure if anybody was actually using it to be honest. Lol. I use it regularly with my work managing about a dozen single sites and three multi-sites, so I have just used it how I see fit. I will definitely consider all of your recommendations and improve the functionality for everyone, though.

    By the way, I saw you joined my Discord server and didn’t post anything. I saw your account was new so maybe you were just unfamiliar with it and decided to respond here instead, which is fine. For your situation and with all of the recommendations you listed, it might be better/easier to chat there, though. Let me know if you’d like help with it.

    Plugin Author Aristocles

    (@apos37)

    @amurashkin, I just released a new update that fixes the issue. Please update and let me know if you need anything else. ??

    Plugin Author Aristocles

    (@apos37)

    Hello. You are correct, it doesn’t currently look for comments, but if deselect it and save it, it should remove the line entirely. As always, please review your config file before confirming just in case there is an issue, though. The snippets feature is still in BETA, so I am still making further updates. Thank you for letting me know. I will add this to my todo list on a future update. ??

    Thread Starter Aristocles

    (@apos37)

    Thanks. I was ordering my blog page with pre_get_posts and forgot to tell it not to use it on the search page. It’s fixed now. ?? ??

    Plugin Author Aristocles

    (@apos37)

    Thank you for pointing that out. I have fixed the error and pushed a new update. Please update to version 1.3.1 and let me know if the error is gone for you. ??

    Plugin Author Aristocles

    (@apos37)

    Good to know! You’re very welcome. Thanks again!

    Plugin Author Aristocles

    (@apos37)

    That won’t make a difference; it will strip the src from the iframe tag regardless of order.

    I just pushed a new update (v1.0.4) that looks for iframe source links now, and if it’s a YouTube video it will check for validity. It also wasn’t looking for image links, so I added that, too. Check it out and let me know if it’s working for you. I tested it on my end and it seems to be working well.

    Thanks for the kind review, btw. ??

    Plugin Author Aristocles

    (@apos37)

    Thanks for asking. Currently it only looks for links in <a href=""></a> tags. I’m assuming that the embed links you are referring to are the <iframe src=""> tags? I can certainly add scanning for these links in a future version. ??

    Thread Starter Aristocles

    (@apos37)

    That fixed it. Thanks for the quick turnaround. I love your plugin, btw. No offense to removing it. Just needed to test something out.

    Thread Starter Aristocles

    (@apos37)

    Yep, works great. Thanks for the quick reply!

    Thread Starter Aristocles

    (@apos37)

    Thank you. That helps!

Viewing 13 replies - 46 through 58 (of 58 total)