worldsdream
Forum Replies Created
-
Forum: Plugins
In reply to: [Prismatic] Copy button shows code upside down when pasteHi Jeff,
Do you have PowerShell (Windows system)?
I have tested this on the default theme without any plugins. I also did a clean WP install (XAMPP) with only the default theme and prismatic. Downgrading to version 2.9.1 works.
People started messaging that they copy, and the commands are corrupted. But, after investigating, I saw that the lines were upside down.
For example:
test1
test2
test3In the back-end: https://i.imgur.com/JygcnY6.png
In the front-end: https://i.imgur.com/c3oQZPU.png
Clik on the COPY button.
When you paste it in PowerShell, it will show:
test3
test2
test1PowerShell paste: https://i.imgur.com/MTV5RPt.png
But when you paste it in notepad or visual studio code, it shows it as expected:
test1
test2
test3Notepad paste: https://i.imgur.com/esLxCpC.png
Thanks
It’s happening since V3.0.
Updated post with pictures to make it a bit easier to understand.
Forum: Plugins
In reply to: [Yoast Test Helper] Error with Yoast Tables dont know how to resolveSame issue over here as OP. I think it has something to do with PHP8.1.
Is Yoast Test helper compatible with PHP8.1?
There was nothing wrong with my Yoast SEO. I did download Yoast Test Helper and clicked on reset indexables. After that the errors showed up as OP. I had to rename Yoast Test Helper plugin. Now Yoast SEO is corrupt (even if I remove and install Yoast).
Forum: Plugins
In reply to: [Prismatic] plugin-copy-clipboard loading from external cloudflareForum: Plugins
In reply to: [Prismatic] WProcket delay javascript compatiblityIf there is a developer that I believe in, it’s you Jeff ??
Forum: Plugins
In reply to: [Prismatic] WProcket delay javascript compatiblityHi @specialk,
I did sent WP rocket a tweet about this.
This is the answer:
Hi there, our documentation about the Delay Javascript Execution feature is here: https://t.co/upWbynEF6C – If you have any unanswered questions left, please get in touch with our Support team (https://t.co/wnxKbRUM0k). Thanks and have a nice day ??
— WP Rocket ? (@wp_rocket) October 18, 2021
I don’t think you can do a lot with that, right?
If you can’t. You can close this and everyone else that is reading this needs to know that prismatic is not compatible with wp rocket delay javascript.
Forum: Plugins
In reply to: [Prismatic] WProcket delay javascript compatiblityThe documentation I have is: Delay JavaScript Execution
So far I can read, you don’t have to make any changes and we can add prismatic exclusion to the WP rocket list.
I think it’s a bit easier for you than for me to understand what we can add to the “WP Rocket exclusion list”.
I can test if you like to share with me a couple of examples.
Edit: Ah I can see that’s possible to add compatibility in the plugin (which would be the best if possible). For example, “The latest versions of Advanced Ads include automatic compatibility with Delay JS”.
But, I can’t find any documentation about it…
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Change icon in menu back-endLooks great! Thanks!
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Change icon in menu back-endThanks @danieltara.
Forum: Plugins
In reply to: [Prismatic] plugin-copy-clipboard loading from external cloudflareThanks for looking at it.
You’re welcome, Jeff!
Thank you for the great support and keeping the plugin up to date!
Forum: Plugins
In reply to: [Prismatic] plugin-copy-clipboard loading from external cloudflareThanks, Jeff.
I didn’t like to have an external request going to Cloudflare, and I thought maybe you could create the JS file into the plugin, so we don’t have an external request to Cloudflare.
But, it seems we have to live with this.
Thanks.
Forum: Plugins
In reply to: [Prismatic] plugin-copy-clipboard loading from external cloudflarePlease look into that JS you mentioned. You will see the Cloudflare link.
I also edited my original post.
See screenshot:
Forum: Plugins
In reply to: [Prismatic] plugin-copy-clipboard loading from external cloudflareHi Jeff,
Thank you for the help.
I did some troubleshooting on a clean install with the default theme and only the plugin prismatic installed.
The Cloudflare external file shows up when you enable “Copy to clipboard” in the Prismatic plugin settings.
I am sure that you can reproduce it and confirm.
Can you please look into that and don’t load the https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js, because we already have the wp-content/plugins/prismatic/lib/prism/js/plugin-copy-clipboard.js?
Screenshot: https://i.imgur.com/L8QXh6u.png
I hope this helped you. Let me know if you need more information.
Extra: I can see that in the prismatic/lib/prism/js/plugin-copy-clipboard.js file shows the Cloudflare URL:
!function(){if("undefined"!=typeof self&&self.Prism&&self.document)if(Prism.plugins.toolbar){var c=window.ClipboardJS||void 0;c||"function"!=typeof require||(c=require("clipboard"));var u=[];if(!c){var t=document.createElement("script"),o=document.querySelector("head");t.onload=function(){if(c=window.ClipboardJS)for(;u.length;)u.pop()()},t.src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js",o.appendChild(t)}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(t){var o=t.element,e=function(t){var o={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3};for(var e in o){for(var n="data-prismjs-"+e,r=t;r&&!r.hasAttribute(n);)r=r.parentElement;r&&(o[e]=r.getAttribute(n))}return o}(o),n=document.createElement("button");return n.textContent=e.copy,n.setAttribute("type","button"),c?r():u.push(r),n;function r(){var t=new c(n,{text:function(){return o.textContent}});t.on("success",function(){n.textContent=e["copy-success"],i()}),t.on("error",function(){n.textContent=e["copy-error"],i()})}function i(){setTimeout(function(){n.textContent=e.copy},e["copy-timeout"])}})}else console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.")}();
I believe it’s better to have it load (if we need it) from our website than to have a JS being called from Cloudflare.
- This reply was modified 3 years, 5 months ago by worldsdream.
Forum: Reviews
In reply to: [Blackhole for Bad Bots] uselessOne of the most liked developers on wordpress. He always answers questions if sent in private or public.
Don’t forget that this is a free plugin. You should create a ticket and discuss before you give a review.
Forum: Themes and Templates
In reply to: [Blocksy] Show latest post on homepageI found the following page.
When I add the shortcode, it copies the blog section, which is a “Simple” design. I like to show the “Grid” design on the homepage.
Would you please tell me which shortcode I can then use?
Forum: Plugins
In reply to: [Yoast SEO] Yoast TOC (Table of Content) stopped from auto-generatingI rolled back to WordPress 5.7.3 and it works. So, the problem is with Yoast and WordPress 5.8.1.