michaeltyson
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Permalinks] lastest update now crashing sitesBravo, Sami!
Forum: Plugins
In reply to: [Custom Permalinks] lastest update now crashing sitesThanks Sami!! Absolutely, and fair enough – it’s a shame WordPress doesn’t use Github, because that’d be much easier for collaboration on plugins.
Okay, I’ve added you as a committer. Inasmuch as you feel like it, please do have at it, with my thanks =)
Forum: Plugins
In reply to: [Custom Permalinks] lastest update now crashing sitesHey Sami, just wondering; would you be interested in getting repo access/taking over the original plugin? I’ve got zero time to do stuff with it lately, and am obviously struggling; I’m only accepting changes from others and my testing resources are sorely limited – I do test every version on my own sites, but clearly it’s not always working out. I’d love the help!
Forum: Plugins
In reply to: [Custom Permalinks] Latest version does not work with post previewAh! Thanks for the heads-up, folks, and sorry about the delay (I never seem to get notifications until someone mentions my name, annoyingly. Better solve that).
Just fixed in 0.7.25.
Many thanks, @sowmedia! New version (0.7.19) has been released.
Forum: Themes and Templates
In reply to: [Elegant-Grunge] image framesHey =)
You have a couple of options – if you have control over the image markup, add the class “noframe” (class=”noframe”) to the image tag. If not, and if the image tag has a class already, put that class name in the “Don’t frame images with class” setting for the theme.
Otherwise, if you don’t have direct control over the image markup, and the image tag doesn’t already have a class attribute, then you’ll need to dip into the code that generates the image tag and modify it directly.
Oh, bugger – there was a minor formatting issue in the readme which stopped the changelog showing up. Here’s what’s changed (it’s only minor):
* Added support for changing post/page slug only
* Fixed incorrect admin edit linkThanks for the heads-up! Fixed in 0.7.4.
Forum: Plugins
In reply to: [Smart 404] Smart 404 not working in 3.1.1Hey – can you give more details of the circumstances under which you’re seeing the problem? I don’t seem to have any issues on my WP 3.2.1 installations (e.g. https://technomadics.net/7-links)
Hi,
I’m pretty sure the problem is in the function apt_publish_post of auto-post-thumbnail.php. Firstly, the plugin searches for all image tags with preg_match_all, using a capture group to grab the contents of the “src” attribute. But then on line 256 the plugin looks at “$matches[0]” for the src attribute value, when it should be “$matches[1]” (with regular expression references, 0 is the entire match, and 1 and upwards refers to the capture groups).
Then, on line 266, the plugin strips anything from $image before a double-quote character – this may be a legacy statement:
$image = substr($image, strpos($image, '"')+1);
However, as “$image” is the image URL (or should be, if the correct regular expression reference were being used), all this does is strip the first character, leaving $image as something like “ttp://domain.com/wp-content/2011/07/aoeu.jpg”.
Consequently, no image is ever picked up from the DB, and the plugin will duplicate the image.
So, change $matches[0] to $matches[1] on line 256, and get rid of the ‘substr’ statement on line 266, and it should work.
Glad to help!
(Yes, I thought of doing that, but my main issue is the sheer volume of support requests in assorted places – I’d never expected it to become quite this popular =)
Hey guys,
Yeah, I’m sorry, I have real trouble tracking the WP forums – I’m flat out trying to make a living lately, and don’t have much time to monitor. I really should find a way to hook up the RSS feeds to email so I don’t have to go trawling, but I haven’t done it yet.
So, I have to ask – have you tried 0.7.2? This is meant to to address that issue, but if it’s definitely not working, I better have another look at it.
Forum: Plugins
In reply to: [Plugin: Custom Permalinks] issue wtih permalinks on child pagesHi Walter,
Yup, cascading permalink updates currently aren’t supported, but when I get time I’ll probably work it in. You’re aware that you can still change the slug for pages, without needing Custom Permalinks?
My apologies – this bug is fixed now in 0.6.
Forum: Themes and Templates
In reply to: What version of WordPress does Elegant Grunge run onHello – Elegant Grunge should be fine on 2.9.1, as far as I know. Of course, it’s always a good idea to back everything up first, in case something goes wrong.