2021-03-10, 08:44 AM
(This post was last modified: 2021-03-10, 09:38 AM by Laird. Edited 1 time in total.)
After a lengthy debugging process, vk_knight and I have determined that the issue was with a missing configuration option for PHP's Client URL Library (curl) on his (local) machine. We successfully resolved the issue by following the steps in this Stack Overflow answer.
Now that this issue has been resolved, I will add some finishing touches to the code, and then release the plugin's next version on the Extend site.
Many thanks to vk_knight for persevering through what must at times have felt like a never-ending process. We did get there in the end, in no small part due to your patience.
Released version 1.2.0 with the following new features and bug fixes:
N.B. Your
N.B.2. You should rebuild link previews by running the Recount & Rebuild task "Rebuild Link Previews for Link Tools" given that preview data rather than previews are now cached (see the first entry in the list above).
Now that this issue has been resolved, I will add some finishing touches to the code, and then release the plugin's next version on the Extend site.
Many thanks to vk_knight for persevering through what must at times have felt like a never-ending process. We did get there in the end, in no small part due to your patience.
Released version 1.2.0 with the following new features and bug fixes:
- Support different themes by caching preview data, not the preview itself.
- Bug fix: disabling previewers had no effect.
- Bug fix: set preview to empty on unresolved previewer.
- Bug fix: previewers weren't being auto-enabled on install/upgrade.
- Bug fix: add the missing "Disable link previews" checkbox to new thread / reply pages.
- Bug fix: only show the "Regenerate preview" links at the bottom of posts for links for which a preview is valid.
- Bug fix: add a missing hook for post merges.
- Bug fix: remove extraneous `';' from "new thread" output (thanks to srjrol for the bug report).
- Improve handling on
curl
error.
- Document the possibility of debugging via the supplied
lkt-curl-functionality-checker.php
script.
N.B. Your
inc/plugins/linktools/link-helpers-dist
and inc/plugins/linktools/link-helpers-3rd-party
directories, if any, can safely be removed. They have been superseded, respectively, by the inc/plugins/linktools/link-previewers-dist
and inc/plugins/linktools/link-previewers-3rd-party
directories.N.B.2. You should rebuild link previews by running the Recount & Rebuild task "Rebuild Link Previews for Link Tools" given that preview data rather than previews are now cached (see the first entry in the list above).