• Resolved mattsavino

    (@mattsavino)


    Does the collections option for 500px work? I can see my photos if I choose the photos option. But with collections all I see is some girl in a sweater, which is not my pic.

    I have tried everything I could think of to put in the filter text box – gallery name, gallery permalink, my username – the instructions aren’t super clear on what goes in there. But anything I put in there just makes zero pics show up. It seems that as long as I have a specified user only my stuff should show up right?

    Here are my settings for photos, which work fine:
    screenshot of photos setup

    And here are my settings for collections, which either show up with someone else’s random collection or nothing – depending on if I populate the filter field:
    collectings settings - which don't work

    Here is my website page with the settings above: http://ushuaiaorbust.com/patagonia/ – you can see the nice girl in a sweater.

    Thanks – great plugin, I love the display!

    -Matt Savino

    • This topic was modified 6 years, 9 months ago by mattsavino.
    • This topic was modified 6 years, 9 months ago by mattsavino.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Something weird is happening in your case. The program is picking your user name, 500px398, and is somehow reading just the “500” from it, and is returning photos for that user. Let me investigate a bit further. I will keep you posted.

    Plugin Author Sayontan Sinha

    (@sayontan)

    OK, got it. Go to the file Photonic_500px_Processor.php, line 550. You will see this:

    $choices = array('id', 'username', 'email');

    Change it to this:

    $choices = array('username', 'id', 'email');

    This should help.

    What was happening is that 500px’s internal API was automatically picking out the numeric part of the text to try with the user id (which is always supposed to be numeric), and was returning erroneous results. When I switched the sequence, I forced the code to first check against the user name.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Do 500px collections work?’ is closed to new replies.