• Resolved rpb1001

    (@rpb1001)


    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.

    https://www.ads-software.com/extend/plugins/flickr-photostream/

Viewing 15 replies - 1 through 15 (of 17 total)
  • 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.

    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!

    Thread Starter rpb1001

    (@rpb1001)

    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″]

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

    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

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

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

    Thread Starter rpb1001

    (@rpb1001)

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

    First read this.
    https://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?

    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.

    Plugin Author miro.mannino

    (@miromannino)

    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:
    https://miromannino.com/projects/flickr-photostream/

    Bye

    Plugin Author miro.mannino

    (@miromannino)

    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.

    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..

    Plugin Author miro.mannino

    (@miromannino)

    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 ??

    tags? how?

    Plugin Author miro.mannino

    (@miromannino)

    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”]

    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.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Flickr Photostream Sets’ is closed to new replies.