WordPress.org

Ready to get started?Download WordPress

Forums

Flickr Photostream
[resolved] Flickr Photostream Sets (18 posts)

  1. rpb1001
    Member
    Posted 1 year ago #

    Those looking for sets can easily implement it within the plugin with a bit of logic.

    Around line 146 of flickr-photostream.php in the plugin use a different function.

    $photos = $f->photosets_getPhotos(72157633896989722, NULL, "description", $max_num_photos, $l_flickrpsp);

    use var_dump or print_r to look inside the returned array, or better still
    print("<pre>".print_r($photos,true)."</pre>");

    The elements of the array are named differently so then you will have to use ['photoset'] in the subsequent arrays.

    if(count((array)$photos['photoset']['photo']) == 0) return(__('<h1>No photos</h1>', 'flickr-photostream'));

    it should be possible to add this into the short code for use without too much difficulty.

    Wonderful plugin gives excellent results so congratulations to the author.

    http://wordpress.org/extend/plugins/flickr-photostream/

  2. simplepsy
    Member
    Posted 1 year ago #

    Hi rpb1001

    Have you managed to create a modified version of this plugin for showing sets with a shortcode included?

    If so, I would be very interested in using it.

  3. dgaedke
    Member
    Posted 1 year ago #

    Hello,

    I love this plugin but I need the photoset option. Is there a new version in progress? My programming skills are not that good... so I cannot help you.

    Thanks for working on this plugin!

  4. rpb1001
    Member
    Posted 1 year ago #

    Hi,
    https://dl.dropboxusercontent.com/u/11234119/flickr-photostream.zip
    No guarantees.
    I suggest you walk through the code and see how the shortcodes are pulled out and what happens after that. It is probably not plug and play.

    In my template I use this.

    echo do_shortcode('[flickrps user_id="96789674@N05" set_id="123" max_num_photos="50" no_pages="true" offset="0"]');

    or

    [flickrps user_id="96789674@N05" set_id="123" max_num_photos="50" no_pages="true" offset="0"]

  5. wcardoso
    Member
    Posted 11 months ago #

    Hi rpb1001,
    This modify is perfect! 100% works!.
    tks!
    W.

  6. crdunst
    Member
    Posted 10 months ago #

    This worked great for me too, thanks for the modification rpb1001. It would be great if this was rolled into the core plugin - have you sent it to the plugin author?

    Cheers

  7. thalmann.fr
    Member
    Posted 10 months ago #

    great, thanks! it's working: http://et.vivelesmari.es/?p=4 (test page).

    any solution for displaying pictures based on flickr tags? please...

  8. rpb1001
    Member
    Posted 10 months ago #

    Hi, I don't know about tags and not able to play with it right now.

    First read this.
    http://www.flickr.com/services/api/flickr.photos.search.html

    Perhaps you can change:
    $f>photosets_getPhotos
    for
    $f->photos_search
    checking which parameters to send.

    See what comes back by using var_dump and adjust the code that loops through accordingly?

  9. thalmann.fr
    Member
    Posted 10 months ago #

    thank you for your quick answer. i checked the file but i'm not good at all for code and development ;)

    but i realise the huge potential of this plugin, if it's able to populate private sets from flickr like the AwesomeFlickGallery plugin.. AFG is really powerful but can only display fancybox or lightbox style.. not entire fullscreen like fotorama.js or some hack of lightbox fullscreen.. and not like justifiedgallery :(

    and what is missing i think in the flickr/wordpress community, is a plugin which can populate flickr pictures supersized (yes, like the wp-supersized but not in background, in front)...

    i'm looking for a web developer which can do this for some money... don't hesitate to contact me.

  10. miro.mannino
    Member
    Plugin Author

    Posted 10 months ago #

    Hi everyone, I'm implementing the sets feature, gallery and so on.
    I don't have much time, but if you want, to motivate me more, you can do some donations, look to the official project page:
    http://miromannino.com/projects/flickr-photostream/

    Bye

  11. miro.mannino
    Member
    Plugin Author

    Posted 10 months ago #

    Now one can configure a gallery to show a set or a gallery. Tell me if something's wrong, or if it's difficult to understand how one can show a set.

  12. thalmann.fr
    Member
    Posted 10 months ago #

    great! it's working. you received some money just now ;)

    implement tags feature and i'll give you some money more.

    implement fullscreen enlargment (with swipe touch navigation - like fotorama.io) for pictures when you click on them and i'll give more money.

    implement private sets supports and you'll be rich ;) seriously, you have a huge potential with this plugin..

  13. miro.mannino
    Member
    Plugin Author

    Posted 10 months ago #

    Oh I forgot that Flickr has the tags too...

    Yes, I think that Colorbox is not elegant as fotorama.io. Must be done too.

    Thank you for your ideas! And thanks for donation :D

  14. thalmann.fr
    Member
    Posted 10 months ago #

    tags? how?

  15. miro.mannino
    Member
    Plugin Author

    Posted 10 months ago #

    Now the Swipebox lightbox can be used, that is one lightbox with the same functionality of fotorama.io.

    Now one can display also the Tags (a list in AND, or a list in OR of tags), and also the group pools photos.

    Tell me if the new shortcodes is well defined:

    [flickr_photostream user_id]
    [flickr_set id="..."]
    [flickr_gallery user_id="..." id="..."]
    [flickr_group id="..."]
    [flickr_tags tags="tag1, tag2, ..." tags_mode="any/all"]

  16. ariznaf
    Member
    Posted 10 months ago #

    Great improvements, thank you

    But tags should not be a separete kind of content stream, it should work as a filter in all streams, este, photostreams, galleries...

    The change un sintax would produce a break in all pages already created.
    A page that was showing one of my sets, began to display my photostream.
    Un the future, with thousands of en tries using your plugin this kind of sintax changes would be amajor problem.

  17. miro.mannino
    Member
    Plugin Author

    Posted 10 months ago #

    Yes, I know, but due to the Flcirk API limitation, the tag filter can't be done for all. Think about it as the tags filter is only in the photostream.

    Sorry for the shortcodes, the new are not compatible with the old sets and the galleries, but only with the old shortcode that show the photostream. This is because the sets and galleries features is very recent and there is a small number of people that are using these new features. This problem is because the plugin was born to show only the photostream.

  18. ariznaf
    Member
    Posted 10 months ago #

    Mm.. so it is not posible to use tan filters in the álbumes.
    I had beleived that photonic let you use tags in álbums.

    In this early version it is not so bar a change in syntax. Future changes may be more problematic with thousands of pages using the plugin.

    Thanks a lot forma the plugin.
    I would justo need being able to select private content too.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic