WordPress.org

Support

Support » Plugins and Hacks » [Plugin: flickrRSS] Not working in WP 2.9.1

[Plugin: flickrRSS] Not working in WP 2.9.1

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m having the same issue. NO CHANGES to my blog and they just stopped working. You can check out the pagelines.com forums and there is a lot of chatter over there. I’ve tried all the fixes I’ve seen posted and still nothing.

    Okay for once I have solved a problem. 🙂 At least it works for me with WordPress 2.9.2

    Replace this code in flickrrss.php

    if(preg_match('<img src="([^"]*)" [^/]*/>', $item['description'],$imgUrlMatches)) {
    					continue;
    				}
    				$baseurl = str_replace("_m.jpg", "", $imgUrlMatches[1]);

    With:

    // Hack to switch regular expression for 2.9.2
    				$pattern = '<img src="([^"]*)" [^/]*/>';
    
    				if(!preg_match($pattern, $item['description'], $imgUrlMatches)) {
    
    					continue;
    				}
    
    				$url_array = explode(' ',$imgUrlMatches[1]);
    				$baseurl = str_replace("_m.jpg", "", $url_array[0]);

    You’ll find it around line 150.

    This is similar to what was said in a previous post regarding wordpress 2.8.5.

    It’s NOT perfect as it is a hack, but at least my images are working now. I hope it works for you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: flickrRSS] Not working in WP 2.9.1’ is closed to new replies.
Skip to toolbar