Flickr Manager gets photo sets in 1.5.0

In this final release of 1.5.0 I’ve added photo set support that allows you to browse your personal photo sets as well as take advantage of the Lightbox photo set functionality when inserting photos into posts. An example:

Wordcamp Melbourne 2007
WCM07WCM07WCM07David & I After Wordcamp MelbourneWCM07 - 'Baked in South Melbourne' Pizza

Also PHP 5 is now required to use this plugin otherwise you’ll receive the following error:
ERROR: You’re currently running 4.x.x and you must have at least PHP 5 in order to use Flickr Manager!

If you don’t have PHP 5 and have no way of installing it I believe version 1.4.5 will still function in some of the later releases of PHP 4.

The new Browse Panel
WFM 1.5.0 - Browse Panel

Download WordPress Flickr Manager Version 2.0.4

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Slashdot
  • StumbleUpon

, ,

  1. #1 by Mig on February 14th, 2008 - 6:50 pm

    Hey Trent,

    Flickr Manager has been working great… up until this release :(

    I installed V1.5, and though no error message comes up (I am on PHP5) all I get in the editor is the bar “Flickr Manger” and under that two (dead) text links “Upload Photo Browse Photos” with the two radio buttons under that. No browser comes up at all.

    Any ideas?

    Cheers

    MP

  2. #2 by Cristobal on February 15th, 2008 - 7:42 am

    Hi, I can’t activate the plugin in my WP 2.3.2, i obtain this message
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/doc/public_html/tobal/wp-content/plugins/wordpress-flickr-manager/FlickrManager.php on line 41

    Is it a bug?

    Thanks

  3. #3 by Johan on February 15th, 2008 - 8:09 am

    Hi!
    tried to install the plugin but got the following error:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/bryggare/public_html/katjasmat/wp-content/plugins/wordpress-flickr-manager/FlickrManager.php on line 41

    Is it just me or???

  4. #4 by Trent Gardner on February 15th, 2008 - 9:34 am

    Cristobal, Johan,
    Try installing 1.5.1 that should fix your problem.

    Mig,
    Try 1.5.1 if that doesn’t work check the page source of the edit page and make sure you have a line that looks similar to

    <script type=”text/javascript” src=”http://yoursite.com/wp-content/plugins/wordpress-flickr-manager/js/flickr-js.php”> </script>

    Trent.

  5. #5 by Mig on February 15th, 2008 - 5:39 pm

    HEy Trent,

    OK, loaded 1.5.1 and no love there.

    I then checked the edit page source and did not find tha line. Found where the plugin starts: but no js call in after it, or seemingly anywhere else.

    If it helps, my WP runs off a Windows server….

  6. #6 by Cristobal on February 15th, 2008 - 6:18 pm

    Thank you for your job. Now the plug-in works fine !
    Cheers!

  7. #7 by Trent Gardner on February 15th, 2008 - 6:30 pm

    Mig,
    Sorry should have explained a bit better, the above line should appear in the <head> section of the source.

    Also can you take a screenshot of what the panel looks like for you and post it here for me.

    Thanks,
    Trent

  8. #8 by Mig on February 15th, 2008 - 6:49 pm

    Hey Trent,

    Yea, I looked in the head first, which is where I thought it would be. Nothing there, so it seems it’s not being called in.

    Here’s the image: Mig WFM 1.5.1 Error

    Cheers

    Mig

  9. #9 by David McDonald on February 19th, 2008 - 2:50 pm

    I have a suggestion, not sure how feasible it is.

    Would it be possible to insert a set into a post or page? When photos are added to the set in Flickr, it would then also add them to the post/page? What about the same concept with tags? Am I making sense?

    Keep up the good work.

  10. #10 by Trent Gardner on February 19th, 2008 - 3:38 pm

    Hey Mig,
    Sorry about the late reply, but I’ve been busy. Anyway I made some changes for you, try redownloading off WordPress extend and let me know if that works.

    David,
    Sounds like a good idea, it’ll be in the next version release.

    Trent.

  11. #11 by Mig on February 19th, 2008 - 4:46 pm

    Hey Trent,

    Thanks for that. I just installed 1.5.1 but still the same ish. Urrrg!

  12. #12 by Mig on February 20th, 2008 - 8:55 am

    Hey Trent,

    I tried with 1.4.5 again and it’s all back to normal!

  13. #13 by Lane on February 20th, 2008 - 3:01 pm

    I installed 1.5.1 and it’s functioning poorly. It takes an extremely long time for the images to load.

    I would like to go back to 1.4.5. Can you send that version to me please?

    thanks

    Lane

  14. #14 by Trent Gardner on February 20th, 2008 - 4:41 pm

    Lane,
    The link is in the post.

  15. #15 by Lane on February 20th, 2008 - 5:24 pm

    Hi Trent,

    yes, the link is there, but clicking on it results in a ” 404 Not Found”

    Lane

  16. #16 by Trent Gardner on February 20th, 2008 - 10:56 pm

    Oh it appears they’ve upgraded WordPress extend yesterday.. Well I’ve edited the post to use the new link, so try now.

    Trent

  17. #17 by Lane on February 21st, 2008 - 1:15 am

    The link on your page (to get to the older versions on WP)now works. However, on WP’s site, the link to 1.4.5 goes to a “Page Not Found…” page, so I still can’t access an older version

  18. #18 by Trent Gardner on February 21st, 2008 - 9:14 am

    OK, you’re right WordPress extend has broken links all through it. So I’ve updated it again to a direct link to the file, so it works now (Just tested it). I’ll open up a ticket today and let them know of the issue.

    Trent

  19. #19 by Lane on February 21st, 2008 - 1:12 pm

    Thanks for placing a direct link on your site. I loaded 1.4.5 and the problem (very slow page load) persists. Perhaps this problem existed earlier, and I wasn’t aware of it.

    My host is using version 4 PHP. Perhaps I need to look for a different flickr plugin until they upgrade to PHP 5….

    Lane

  20. #20 by seriey on February 22nd, 2008 - 2:14 pm

    Hi Trent,
    You did really good job. I saw the demo and it is really impressive. I managed to install your plugin. However, I can’t get the lightbox effect working. I follow all the instructions. I put the picture to my post using the browse panel and ticked the check box “insert with lightbox”. When I click on the picture in my posting, the browser redirect me to flick. So there is no lightbox effect. I’m using your latest released plugin (1.5.1) in Worpress 2.3.3.
    Thanks.
    seriey

  21. #21 by Trent Gardner on February 22nd, 2008 - 2:57 pm

    seriey,
    Did you make sure the insert with lightbox checkbox was ticked before you inserted it into your post?

    Try this:
    1. Edit the post, and delete the image you inserted
    2. Make sure the insert with lightbox support checkbox is ticked, then insert the image into your post
    3. Publish your post, and then navigate to it and check if lightbox is working

  22. #22 by seriey on February 22nd, 2008 - 6:17 pm

    Hi Trent,
    Thank you for such quick reply.I did as what you said. I edited the post, deleted the image and made sure the checkbox is ticked. After that I inserted the image. However, the same thing happened. When I click on the image, it redirected me to the flickr website. The lightbox still not working.
    Thanks,
    seriey

  23. #23 by Marianne on February 23rd, 2008 - 1:59 am

    Hi Trent,

    I really find your plugin very useful. I had installed version 1.4.0 it worked fine. I updated to 1.5.1. Everything looks fine but when I use the lightbox effect. When I click on the picture in my posting, the lightbox opens but without my picture in it.

  24. #24 by Marianne on February 23rd, 2008 - 7:20 am

    I think I know what the problem is. There seems to be a conflict between the lightbox 2.5. i have installed en your plugin. But I don’t know what to do about it. If i deactivate the lightbox plugin your plugin works fine. But my previous posts which I used the lightbox for don’t work the way they should. Do you have an answer to that? Thanx.

  25. #25 by Trent Gardner on February 23rd, 2008 - 1:47 pm

    seriey,
    Can you give me a link to the post so I can see what’s happening?

    Marianne,
    Can you give me a link to the plugin that’s giving you the conflict so I can try and resolve the issue.

    Thanks,
    Trent.

  26. #26 by seriey on February 23rd, 2008 - 3:28 pm

    Sorry for the late reply.
    This is the link to that post.
    http://blog.hyperend.info/?p=9
    Thanks
    seriey

  27. #27 by Trent Gardner on February 23rd, 2008 - 3:51 pm

    seriey,
    It might be a conflict with the AJAX comment posting plugin because it uses jQuery. Try disabling it, then test to see if Lightbox is working. If it’s a conflict I’ll try to resolve it for you.

  28. #28 by seriey on February 23rd, 2008 - 7:40 pm

    Trent.
    You are right. When there AJAX comment posting plugin was disable, your plugin works. I got the lightbox effect. However, the pictures didn’t show up except a message saying that This photo is currently unavailable.
    Thanks
    seriey

  29. #29 by Trent Gardner on February 23rd, 2008 - 11:02 pm

    Are you setting the lightbox photo size to ‘large’ for images that don’t have a Big alternative on Flickr. See here.

  30. #30 by Marianne on February 23rd, 2008 - 11:38 pm

    Trent,

    It is Lightbox 2.5 plugin for Wordpress from http://stimuli.ca/lightbox/

    Thanks

  31. #31 by seriey on February 24th, 2008 - 4:57 am

    Trent,
    Thank you very much for your help.
    Everything work perfectly.
    Thanks
    seriey

  32. #32 by Felix K. on February 28th, 2008 - 9:23 pm

    Hi, nice Plugin, i was searching for something like that for month. But i got one (big) Problem:

    some flickr-pics (large) are ending with _b and some with _o. as i can see, flickr manager is using the _b-pics. I thought that the _o (original-)pics just were for pro-users. but all Pictures i am uploading are with _o . is there a solution to use both _o and _b oder have i to edit the script to fist just with _o

    greetings
    Felix

  33. #33 by David McDonald on February 28th, 2008 - 10:06 pm

    Hey Trent,

    I have noticed in the latest version that a class is only added to the the Flickr image if Lightbox is used. In previous versions, I am sure that a class was added to the image regardless if Lightbox was used or not, which was very handy.

    Also, are you still looking at incorporating my sets/tags suggestion into the next version?

  34. #34 by Trent Gardner on February 28th, 2008 - 10:33 pm

    Felix,
    Unfortunately that’s something you’re going to have to edit yourself, sorry.

    Hi David,
    I don’t recall previously adding a class to images prior to Lightbox support, but I could be mistaken. Although it would be handy from a styling point of view. I’ll add that and set insertion when I put out the next release, within the next week or so I’d say.

    Trent

  35. #35 by shawn on March 7th, 2008 - 2:23 am

    This plugin is really great – wonderful work.

    I have a question – is there any way to get the descriptions to show up from flickr in the Lightbox view?

  36. #36 by raisinlove on March 7th, 2008 - 6:55 am

    There is a use for your plugin which is probably not what you expected: to have wordpress synchronize with Flickr. So images would be simultaneously uploaded to the Wordpress server *and* the Flickr website, with tags and description posted to both as well.
    What do you think?

  37. #37 by Trent Gardner on March 7th, 2008 - 9:37 am

    @shawn sorry at the moment only the title of the image is displayed in the Lightbox view and I don’t think there’s enough room left over to show the description as well sorry.

    @raisinlove I’m not sure I see the reason behind it, because what’s the point of hosting the image on your WordPress server as well as on Flickr when you may as well just use their bandwidth to serve your images.
    But a while ago as a separate project I had to make an app that synchronized a Flickr account with a MySQL database. I don’t know if that’d be useful to you but you’re more than welcome to it if I can still find it.

  38. #38 by raisinlove on March 8th, 2008 - 12:25 am

    Hi Trent, thanks for the reply. I knew it would seem like a weird request. I just want to keep hosting my images on my own site, not having to rely on external servers to serve my content, but I also wanted to start up a Flickr profile. So instead of updating both seperately, I thought I could centralize it in Wordpress. I could look into simply having everything hosted on Flickr, but I hope they don’t go down often.
    As for your MySQL database, by syncronized, you do mean from both directions, right?

  39. #39 by Trent Gardner on March 12th, 2008 - 2:01 pm

    No, sorry it just keeps a backup of your Flickr account in a MySQL database.

  40. #40 by Daragh on March 17th, 2008 - 9:10 am

    Hi Trent. It’s quite an impressive looking plugin you’ve created. Unfortunately I’m having a hell of a time getting it to work. I have my WP hosted on GoDaddy and from what I’ve been able to find out they use proxies for any cURL commands. I’m pretty sure this is stopping the plugin from working. I am able to authenticate via Options–>Flickr but then if I try to use it, I just get asked to authenticate again.
    Any help would be appreciated.

  41. #41 by Trent Gardner on March 17th, 2008 - 9:28 am

    Hi Daragh,
    I used to have hosting with GoDaddy and ran into the same trouble. Look at http://www.zen-cart.com/forum/showthread.php?t=61528 that should help you.

    Trent

  42. #42 by Daragh on March 17th, 2008 - 10:14 am

    Thanks for the speedy reply Trent.
    That looks like the solution,but I can’t find that menu anywhere. I’ve only set up all of this in the last couple of days and I’m no code-monkey, any idea where I would find those settings?

  43. #43 by Trent Gardner on March 17th, 2008 - 11:22 am

    Unfortunately I don’t have my GoDaddy account anymore, but the best way would just be to email technical support I’m sure they’ll be able to assist you.

  44. #44 by Daragh on March 17th, 2008 - 1:23 pm

    I think I’ve got it sussed. Had to add a couple of lines to FlickrCore.php. Here’s the relevant sections in case anyone else needs them.


    curl_setopt($session, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($session, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
    curl_setopt($session, CURLOPT_PROXY,”http://proxy.shr.secureserver.net:3128″);
    $response = curl_exec($session);


    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
    curl_setopt($ch, CURLOPT_PROXY,”http://proxy.shr.secureserver.net:3128″);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20);

  45. #45 by greg on March 17th, 2008 - 1:51 pm

    hey Trent,

    just checking out your plugin but had trouble installing it;
    windows/wordpress 2.3.3/flickrmanager v1.5.2

    to get the install callback function to work when the plugin is activated I edited the file FlickrManager.php constructor function, removing the add_action(”activate…”) lines and replacing with the following (found on the wordpress plugin dev site);

    register_activation_hook( __FILE__, array(&$this, ‘install’) );

    without this change, the install function was not getting called when the plugin is activated… therefore no database table is created, etc.

    cheers,

    // greg

  46. #46 by greg on March 17th, 2008 - 1:58 pm

    hey again,

    reading these comments again, it appears I’m having similar troubles to others now that the plugin is activated. The js isn’t being injected into the pages, so the edit post page doesn’t work for me either. I’ll try the manual method of putting the js in, but I’m assuming that something is busted in the plugin, possibly just for windows, but maybe not… :)

    cheers,

    // greg

  47. #47 by greg on March 17th, 2008 - 2:14 pm

    and (a final) hey again :)

    it might only be a windows problem, with this line in the constructor looking like it could be the cause of the trouble;

    $filename = explode(”/”, __FILE__);

    obviously, windows paths use ‘\’ so I’m seeing bad paths to the flickrmanager plugin directory all over the place.

    cheers,

    // greg

  48. #48 by Trent Gardner on March 17th, 2008 - 2:37 pm

    Thanks Daragh,
    Here’s a copy of the plugin for anyone with GoDaddy hosting that’s having an issue with it.
    http://files.tgardner.net/wordpress-flickr-manager-gd.zip

  49. #49 by Trent Gardner on March 17th, 2008 - 3:14 pm

    Hi greg,
    Thanks for tracking this one down for me, can you try re-downloading it from wordpress extend and let me know if that fixed the problem.

    Thanks,
    Trent.

  50. #50 by tuckie on March 18th, 2008 - 12:34 pm

    just a note, the plugin wouldn’t start till I named flickercore.php to FlickerCore.php. I guess you’re on a windows server ;)

1 2 3
(will not be published)
Submit Comment
Subscribe to comments feed

SetPageWidth