Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorfloriske.nl
    • CommentTimeJan 14th 2011 edited
     
    DISCLAIMER: I'm no experienced php programmer, this code is written with a lot of trial and error and I don't take any responsibillity for any security leaks or program flaws! Feel free to edit and improve this script to your likings.

    I'm working on a standalone Plogger Flickr upload script for uploading images from the plogger gallery to Flickr based on phpFlickr.

    I was wondering if people are willing to test it:

    http://rapidshare.com/files/442537657/flickr_upload_beta_1.zip

    Installation instructions:

    ? Extract the zip file and upload the contents to your plogger directory (eg http://www.yourdomain.com/plogger) so you have a flickr_upload folder with the script in it
    (eg http://www.yourdomain.com/plogger/flickr_upload).
    ? Create a Flickr account if you don't have one yet
    ? Create a Flickr app http://www.flickr.com/services/apps/create/noncommercial/
    ? Name your app something like "Flickr upload for Plogger" and keep it private
    ? Note the Flickr app's api key and secret
    ? Set your Flickr app's authentication flow to "web application" and the callback url to the flickr_upload/includes/pfu_auth.php file
    (eg http://www.yourdomain.com/plogger/flickr_upload/includes/pfu_auth.php)
    ? Next run the _install.php script
    (eg http://www.yourdomain.com/plogger/flickr_upload/_install.php)
    ? Set the desired username and password
    ? Set your database information (should be the same database as used for plogger)
    ? Set your Flickr api key and secret
    ? Click install and allow the app to edit your pictures when asked bt Flickr

    After installation you can upload, delete and re-upload pictures (seperated per collection) to your Flickr account from the index page
    (eg http://www.yourdomain.com/plogger/flickr_upload/index.php)

    Or if you know the plogger picture id you whish to upload by directly calling index.php?picture_id=
    (eg http://www.yourdomain.com/plogger/flickr_upload/index.php?picture_id=76)
    this option is added so it's theoretically possible to add the script to the plogger admin section.

    Uploading also creates a set on your flickr account called "collection -> album" where the picture is placed in as well.

    The script does not contain any feedback from Flickr except for upload and delete confirmations, it does not search Flickr for allready uploaded pictures or pictures with the same name and add them to your plogger gallery. (this would require a lot of extra code or even a completely different script) It's purely intended for doing the other way around -> uploading pictures from your Plogger gallery to Flickr.

    It also does not include bulk uploading (yet) who knows I might implement this in a future release but looping and confirming each image takes a lot of extra programming.

    Please post your findings here!

    DISCLAIMER: I'm no experienced php programmer, this code is written with a lot of trial and error and I don't take any responsibillity for any security leaks or program flaws! Feel free to edit and improve this script to your likings.
    • CommentAuthorfloriske.nl
    • CommentTimeApr 1st 2011 edited
     
    I noticed a few flaws in the coding of the select lists (a couple of ">" missing which resulted in occasional blank list items. so I created a new beta version eventhough the first wasn't even downloaded by anyone ;)

    I've been using the script for some time now and part from the above didn't run into a single problem yet.

    Flickr upload for plogger Beta 1.2

    Edit: one more tiny flaw found in the layout code which made the header appear behind the select menu's

    Flickr upload for plogger Beta 1.3
    • CommentAuthorfloriske.nl
    • CommentTimeApr 7th 2011 edited
     
    For those interested in what the interface looks like:

    Flickr upload for plogger screenshot