This module is excellent. I’ve wanted something like this for a long time, but haven’t had the time (or skill) to do it myself. One problem I’ve run into is in trying to use an EE global variable for my flickr id. If I put my Flickr ID into the code manually, it works fine, but if I do something like this:
{exp:eeflickr:photosets_getList user_id="{flickr_id}"}
or
{exp:eeflickr:photosets_getList user_id={flickr_id}}
I get a “User not found” error.
Did you see the note on User Defined Global Variables?
Also note that Global Variables are one of the last things parsed in your Templates. This means that you cannot use a Global Variable as the value for an EE Tag parameter.
This is an EE-wide caveat to those types of global variables. The way around this is path.php global variables, assigned global variables, or the module Fresh Variables. =)
I’m having trouble getting pagination to work (or maybe I’m just not understanding how the pagination urls work). My url structure is set up like this: template_group/template/set_id/page#, and my {exp:eeflickr:photosets_getPhotos} tag and {exp:eeflickr:paginate} tag both specify page=”{segment_4}”. this works fine at first, but every time i click a pagination link, it just reloads the first page (or whatever number is in segment_4, and adds another page number segment to the url, so after a few clicks, I end up with a url like this: http://nd75.com/photography/albums/72157603861260957/page1/page-1/page5/
I think that I’m not fully grasping how pagination works, so any help would be appreciated. You can see an example here: http://nd75.com/photography/albums/72157603861260957/
edit: also, a second question: is there a way to selectively exclude a specific set from the {exp:eeflickr:photosets_getList} tag? In general, I want to display all of my sets, but there are a few that I have just for reference, but I’d prefer that they not show up in ee, and I’d rather not make them private in flickr.
jaimes i am going to work on a no_results vatiable soon but if you want you could always wrap your code block in an if statement
something like this
{exp:eeflickr:photos_search user_id="47282007@N00" page="{segment_3}" per_page="30" }
{eeflickr:photos_search_loop}
{if id}
your code here
{/if}
{/eeflickr:photos_search_loop}
{/exp:eeflickr:photos_search}
Thank you for this plugin. I’d hate to see you stop developing it, because of some ‘politics’.
A pretty impressive module/plugin and I think lumis should be patted on the back for this work. I’m still slightly hesitant over it’s beta status, but it’s more highly evolved than a lot of Flickr integration scripts out there. Nice work.
If you are having refresh issues, make sure your code doesn’t include anything commented out. I got stung by that.
OK, I’ve been fiddling with this Module all day, and think it’s great (thanks, Lumis!). However, I’ve just purchased a licence to be able to post here (I’ve been playing with Core for about a month with sites in development, and was of course going to purchase anyway, but not having full forums access accelerated my acquisition…).
I had a bit of difficulty getting Authorization to work: I never got the Auth Token automatically, but was able to hack away a bit using the Flickr API explorer and produce something which seems to have worked.
My question (for now) is, is there any baked-in way of displaying a random set of photos? Perhaps even random photos conforming to some criteria (like how in the Weblog Module you can order by ‘random’)? This is going to be something of a deal-killer for at least one of the sites I’m working on, yet I can’t see any obvious way of doing this by looking at the available template tags (and boy have I spent a long time staring at those pages…).
Thanks in advance!
Richard
My question (for now) is, is there any baked-in way of displaying a random set of photos?
I’ve looked a bit further and have come across no obvious way of showing random photos: is there really none?
Also, I just tried using the {datetaken} in the {photos_search_loop}: this and some of the other documented variables appear not to work (they only show the tag name in the rendered template). I was able to get round this by putting a {photos_get_info photo_id="{id}”} inside my {photos_search_loop} and then use the {taken} variable available to the {photos_get_info} variable tag pair. I suspect I was doing something wrong originally…
I’m currently trying to work out the best way to do a count within the {photos_search_loop): I'm trying to use a PHP numeric variable which is increased by 1 each time the loop is passed (like I used to do in WordPress), but can't work out where to put my while and endwhile statements in relation to the EE loop tags. In the Weblog module there's the {count} variable, which makes things very easy, since you can use a conditional statement based the current value of {count}. What I’m trying to do here (for now) is to show the six latest photos in my stream on my homepage, where the first photo (the most recent) is shown medium-size, and the others are square thumbnails. If anyone can give any ideas about how to achieve this, I’d be very grateful to hear them!
I’ve just installed eeFlickr and I’m very impressed with its functionality. It’s working fine, in that it’s displaying exactly the images I want, but I’m receiving the following errors at the top of the page:
Notice: Use of undefined constant MAGPIE_DEBUG - assumed ‘MAGPIE_DEBUG’ in /path/to/ee/control/panel/modules/eeflickr/mod.eeflickr.php on line 2130 Warning: Cache unable to open file for writing: ./path/to/ee/control/panel/cache/eeFlickr_cache/a5bd326ce0fe2483b155556ce72891fe.xml in /path/to/ee/control/panel/modules/eeflickr/mod.eeflickr.php on line 2131
Does anyone know what’s causing the error? I have checked the cache permissions and they’re correct (777).
Many thanks.
Update: OK, problem solved by deleting the eeFlickr_cache directory and replacing it.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.