WordPress Flickr Manager changes for 2.9

January 12th, 2010 Matt

I recently started a new blog for my photos, which I’m starting to advertise for sale through Etsy (links to follow once I have some more things in place :) ) and I added the WordPress Flickr Manager plugin so that I can easily pull in pictures from my Flickr account into the blog. However, it didn’t work with WordPress 2.9 :(

So, I made a couple of changes to some files and it seems to be working now – so, if anyone is having the same problems, here’s a list of the files that I changed:

  • wordpress-flickr-manager/js/wfm-lightbox.php
  • wordpress-flickr-manager/js/media-panel.php
  • wordpress-flickr-manager/js/wfm-hs.php

In each of those files, remove any ‘@’ characters that are in the files, for example:

this: wfmJS('a[@rel*=flickr-mgr]').each(function() {
becomes: wfmJS('a[rel*=flickr-mgr]').each(function() {

Once you have made the changes, the plugin should work fine.

EDIT – March 15 2010 @1534

I’ve just had a look at the files that I changed to provide a fuller explanation of what I changed.  I can’t see what I have changed in the media-panel.php file (just downloaded the plugin again and can’t find any ‘@’ signs in there now), but the changes I made to the other files are:

wfm-hs.php

Line 13 - wfmJS('a[@rel*=flickr-mgr]').each(function() {
becomes - wfmJS('a[rel*=flickr-mgr]').each(function() {

Line 21 - wfmJS('a[@rel*=flickr-mgr]').each(function() {
becomes- wfmJS('a[rel*=flickr-mgr]').each(function() {

wfm-lightbox.php

Line 58 - wfmJS('a[@rel*=flickr-mgr]').click(function() {
becomes - wfmJS('a[rel*=flickr-mgr]').click(function() {

Line 91 - wfmJS('a[@rel*=flickr-mgr]').each(function(){
becomes - wfmJS('a[rel*=flickr-mgr]').each(function(){

I’ve tested this with WP 2.9.2 this afternoon and it seems fine.

UPDATE – 11th July 2010

I’ve just been looking a bit more at this and have added a few replies to some comments.  I have the plugin working on WP3.0 now – I made no changes to the version I had before though.  The one thing that doesn’t work is trying to add photos from a set rather than just from the stream.

When you try to add a photo from a set, it only finds photos that are publicly available.  If the photos are not public, then it doesn’t find them in the set.  I don’t know whether this is a problem with the plugin, or a problem with the Flickr API though.  I make most of my photos private, so if I want to add from a set then it’s a problem – that said, I have the same problem when adding from Flickr to my photo printing service, which makes me think that the problem lies with the Flickr API rather than the plugin.

Looks like a more in depth examination of the plugin is required – if I get chance to do it, I will, but I am quite busy with work that brings in money at the moment, rather than coding for fun and hobby.

Posted in General Computing, Non-Oracle | 53 Comments »

  • Pages

    • About Us
    • Services From WorkflowFAQ
    • Training
    • Workflow Book
    • Careers
    • Forum
    • Blog
  • Oracle 11i Workflow Certified Expert
    Oracle 11i System Administrator Certified Expert

  • Search


  • Blog

    You are currently browsing the WorkflowFAQ weblog archives for January, 2010.

    Archives

    • January 2012
    • November 2011
    • October 2011
    • September 2011
    • August 2011
    • July 2011
    • June 2011
    • April 2011
    • February 2011
    • January 2011
    • December 2010
    • October 2010
    • September 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • October 2009
    • August 2009
    • July 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
  • Categories

    • General Computing (30)
    • Non-Oracle (18)
    • Oracle (77)
      • Functional (20)
      • Technical (68)
    • Personal (2)

  • Links

  • General Computing

    • Computing Magazine
    • Download.com
    • SourceForge.net
    • The Daily WTF
    • The Register
  • Non-Computing

    • BBC News
    • Burnley-based professional photography
    • Cuteable
    • My wife’s shop
  • Oracle Related

    • AppsDBA
    • Oracle
    • Oracle Apps Blog
    • Oracle Magazine Interactive
    • Oracle Support
    • Oracle Technology Network
    • Oracle UK
    • Oracle Workflow Forum on OTN
    • Oracle WTF
    • OraFAQ
    • Steven Chan
    • Steven Feuerstein


Copyright © 2012 TS Fifteen Ltd. All rights reserved.