StuartMillington
Forum Replies Created
-
Forum: Plugins
In reply to: [Z-URL Preview] Plugin disappeared from Edit bar after WP updateSorry, but after a heart attack last year I’m not doing anything with WP or the plug-in. If someone wants to fork it, they’re free to do so.
Forum: Plugins
In reply to: [Z-URL Preview] Z-URL Preview 1.6.1 Cross Site ScriptingUpdated readme.txt via SVN, it should show up soon, thanks.
Forum: Plugins
In reply to: [Z-URL Preview] Z-URL Preview 1.6.1 Cross Site ScriptingHi,
Thanks, I’ve pushed v2.0.0 which hopefully blocks URL’s like this without blocking any valid ones.
I don’t have an unprotected server to really test it on at the moment though. (Other protections block XSS.)
Forum: Plugins
In reply to: [Z-URL Preview] Patch for selecting post typesSince I’ve not seen it, I can’t review it let alone apply it.
Forum: Plugins
In reply to: [Z-URL Preview] Image and Headings links not workingHi,
The reason for not allowing shortcodes and why existing posts don’t change with settings changes is to prevent crippling performance. If a shortcode was evaluated at runtime, the contents of the origin site would have to be fetched and parsed every time your page(s) load. It would kill your site and the origin site.
The plugin runs once, when you are writing the post, and stores the results in the post as static HTML.
Forum: Plugins
In reply to: [Z-URL Preview] Suppress HeaderHi,
With 1.6.1 and those settings it does populate the header if it’s blank.
The chance is in the 1.6.1 code, but something is going on with SVN updates. Try removing and reinstalling the plugin.
Forum: Plugins
In reply to: [Z-URL Preview] Patch for selecting post typesHi,
Sorry for not replying earlier. I was trying to figure out how to get the last update live. I’m still not sure what changed to make it take a week from SVN to live.
I’m more than willing to include anything that improves the plugin for people. I’m about at the end of what I know of WP so can’t really add much more to it.
I understand post types even less than the rest of WP ?? Yeah, I know this gives readers great confidence in this plugin ??
Let me know the easiest way for you to work on this.
Forum: Plugins
In reply to: [Z-URL Preview] Suppress HeaderOK, 1.6.1 is finally up. May be 1.6.2 too.
Not sure what happened.
Forum: Plugins
In reply to: [Z-URL Preview] Suppress HeaderI don’t know why 1.6.1 isn’t live yet, it went up on SVN 4 days ago.
Forum: Plugins
In reply to: [Z-URL Preview] Suppress HeaderHi,
Try v1.6.1 when it’s up. I just pushed it.
This comes from a core issue in the original design. Short-ish version… the PHP does the CURL and returns a block of HTML to the J(ava)script. The J(ava)script then adds the content to the post.
But… it parses the content to get the header to create the title from the h2 tag. So turning off the h2 tag meant there was no content to add to the title. Catch-22.
I’ve had to add a display:none tag so that the J(ava)script has something to get the title from even when the h2 is disabled.
Hopefully it won’t mess anything else up!
Forum: Plugins
In reply to: [Z-URL Preview] Suppress HeaderHi,
Sorry, it wasn’t meant to suppress the title field only the tag in the article body. I hadn’t notice that it did that. I’ll see if I can push a fixed version in the next couple of days.
Forum: Plugins
In reply to: [Z-URL Preview] Short code for urlHi,
Having realised what you meant, the only way I could see you using a shortcode for this would be to embed the shortcode in the article or in a template.
Yes, I could probably do it. But there is a big problem with the mechanism: the CURL would be invoked at run time, which would kill your site, and possibly the source site.
I looked at the caching mechanism available for shortcodes (transients API) but that does not provide a permanent storage solution. So, even with that, it’s not going to work in practice. Unless I can find a permanent storage mechanism I don’t think I’ll be adding shortcode invocation.
Forum: Plugins
In reply to: [Z-URL Preview] Suppress HeaderHi,
The option to suppress the header in the content was added 7 months ago:
“V1.5.7 Added option to suppress header tag”Forum: Plugins
In reply to: [Z-URL Preview] Image Size AdjustmentNo. The image is not on your server, it’s just a link to the original image in the original article/page.
Forum: Plugins
In reply to: [Z-URL Preview] Short code for urlHi,
I know how shortcodes are used. But, if you want the results of the “preview” to be used somewhere other than the post itself then the only thing I can think of is to store the post and use a shortcode that embeds the post where you want the results.
A quick search shows some that claim to do this. I’ve not tried them though.