2021-02-23, 05:56 AM
Again downloaded the latest pre-release version.
Now it isn't even showing the default image. It is just blank space.
Now it isn't even showing the default image. It is just blank space.
[For 1.8] Link Tools 1.4.1
|
2021-02-23, 05:56 AM
Again downloaded the latest pre-release version.
Now it isn't even showing the default image. It is just blank space.
2021-02-23, 10:23 AM
Bah. Foiled again.
I'll contact you privately so the whole forum doesn't need to follow along with our debugging steps.
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 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).
2021-03-19, 11:26 AM
Released version 1.3.0 with the following new features:
Upgrade procedure: deactivate-copyfiles-reactive.
2021-03-19, 09:37 PM
In the
parse_message_start hook you need to check if it is running for a post, something around the sort of the following code:
2021-03-19, 09:58 PM
(2021-03-19, 09:37 PM)Omar G. Wrote: In the OK, I've checked the addition of that code (although I used empty rather than !isset ) and it doesn't seem to cause any problems... but now I need you to explain the problem(s) that it solves!
2021-03-20, 07:49 PM
(This post was last modified: 2021-03-20, 07:52 PM by Omar G.. Edited 3 times in total.)
Oh, just think about the possibility of another plugin running the parser before the post is parsed itself, like a side box or anything that decides to embed new content in the page that uses the parser.
In my specific case that is a latest post side box embedded in all pages. I think you try to work around that issue by taking into account the parsing of the signature, but there might be additional plugins that parse new content within the postbit hook (like my Signature Image plugin IIRC). I think my solution might fall short for these cases but I haven't checked.
2021-03-20, 09:08 PM
Understood. Thanks for the fix! I've added it in dev code for the next release. And if you do find that this solution falls short for other cases, please let me know (as if that needed to be said!).
2021-04-08, 07:51 AM
Hi, some suggestions: it seems like post embeds don't get refreshed on quick edits, 2) if the same link is used multiple times in the same post only the first link gets embeded.
I will come up with more ![]()
2021-04-08, 05:32 PM
(2021-04-08, 07:51 AM)Omar G. Wrote: Hi, some suggestions: it seems like post embeds don't get refreshed on quick edits Hi! If by this you mean that when you, e.g., add a new link to a post in a quick edit, the preview for the new link doesn't appear in the updated post when you click "Save Changes", then: It very much should, and does on my local dev machine. If it doesn't for you, then that might indicate a bug, or an incompatibility with some other plugin that you've got installed. Is the behaviour different to that on a full edit? If so, that's quite odd. (2021-04-08, 07:51 AM)Omar G. Wrote: 2) if the same link is used multiple times in the same post only the first link gets embeded. Yes, that's by design. I thought folks would not want the same preview showing up more than once in a post, but maybe that's a mistaken thought? (2021-04-08, 07:51 AM)Omar G. Wrote: I will come up with more I imagine so. ![]() |
« Next Oldest | Next Newest »
|