Closed (fixed)
Project:
Flickr
Version:
7.x-1.x-dev
Component:
flickr_block
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2013 at 10:36 UTC
Updated:
18 Jan 2015 at 14:36 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
lolandese commentedThanks dakku.
Tagged #1820508: Broken video links in Flickr blocks as a duplicate of this one.
Comment #2
lolandese commentedThank you for helping out here dakku. It's much appreciated.
Tested and committed: https://drupal.org/commitlog/commit/2102/83d01939183c144343a48e36aea4d6a...
Comment #3
dakku commentedNo problem :)
I had been meaning to add a few features for my own website anyway, glad to be of some help :)
Comment #5
lolandese commentedRelated #2089575: Undefined index error after upgrade.
Comment #6
lolandese commentedTo backport to D6.
Comment #7
lolandese commentedPatch has been ported. See https://drupal.org/comment/8303771#comment-8303771.
Comment #8
lolandese commentedMedia type on images in sets seems to be ignored.
Thanks.
Comment #9
lolandese commentedIf the Flickr Sets sub-module is enabled, on block nr. 1 'User recent sets' and block nr. 4 'Recent sets from user' a series of images gets displayed of the set that can be of both media types. (photo/video). Thus the media field applies. Now it results in 'undefined index' errors.
Patch fixes the issue. To do also for D6.
Comment #10
lolandese commented#9 committed. # 8 remains open.
http://drupalcode.org/project/flickr.git/commitdiff/1707971
Comment #11
lolandese commentedComment #12
lolandese commentedAttached patch:
The code used in flickr_block.module for the function _flickr_block_tag_random isn't the most efficient, due to a possible Flickr API bug. See:
https://groups.yahoo.com/neo/groups/yws-flickr/conversations/messages/8692
Comment #13
lolandese commentedAttached patch:
Comment #14
lolandese commentedProblem in the last patch was that the number of photos to display as set in the block configuration was used. In reality the real number available on Flickr can be inferior, leading to incorrect data.
Attached patch makes use of the real number of displayed images. This data is only available after rendering them, thus this line is moved to the bottom of the block. Personally we even prefer this.
Comment #16
lolandese commentedAdded:
http://drupalcode.org/project/flickr.git/commitdiff/3b61c6c
Comment #17
lolandese commentedComment #18
lolandese commentedSee #2367755: D6 maintenance.
Comment #19
lolandese commentedSetting this back to D7 and being 'fixed (closed)'.
Main reason is the fact that links to this issue show the status on hover without revealing the version (6 or 7). This might give the impression that the mentioned issue will not be solved, while in fact it is already fixed for the D7 version. 'Fixed (closed)' reflects the current status correctly for D7. 'Closed (won't fix)' is only valid for the minimally maintained D6 version of the module.