I would like to be able to display photos from a Flickr group's pool, rather than just by username.
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | flickr_group_blocks.patch | 4 KB | charlieman |
| #7 | flickr_group_pool_1.patch | 4.83 KB | puregin |
| #6 | flickr_group_pool_0.patch | 8.43 KB | puregin |
| #5 | flickr_group_pool.patch | 8.43 KB | puregin |
Comments
Comment #1
markDrupal commentedsame here
Comment #2
deantregenza commentedYes, I agree this would very a very good feature - especially if we could also get a cloud of tags along the lines of how flickrhood/x/tags works.
Comment #3
Rebecca@category.greenash.net.au commentedMe three!
Comment #4
puregin commentedI have some alpha quality code that displays a group pool block. I'll clean it up and post a patch later today.
Comment #5
puregin commentedI'm attaching a patch which enables a group_pool block.
Currently, there is at most one group per site (or more precisely, per theme)
There is no mechanism for filtering images from the group pool.
Comment #6
puregin commentedHmm, let's try that again, without the hardcoded group id :)
Comment #7
puregin commentedArgh. Either not enough caffeine today, or too much. This should do it... please ignore the previous patches
Comment #8
Christefano-oldaccount commentedHey, cool stuff. Can't wait to try this.
Comment #9
Anonymous (not verified) commentedI'll test it out tomorrow. Thanks.
Comment #10
Christefano-oldaccount commentedChanging title to make it easier to find this.
Comment #11
drewish commentedpurgin, that looks pretty good the only change i'd make just based on looking at the code is renaming _flickr_block_group_pool_recent() to _flickr_block_group_recent()... i haven't looked at the api in a while but i don't think group comments are available through it.
Comment #12
Anonymous (not verified) commentedI tested the latest patch on my local machine and it seems to work fine. Thanks.
Comment #13
puregin commenteddrewish, i named the function after the flickr api object: 'group.pool'...
I'll happily look at this again if anyone has any issues to report or functionality they would like added.
Comment #14
andrewlevine commentedAfter a quick glance this looks good. How hard would it be to add multiple group functionality? Maybe accept multiple pool ID's separated by commas and explode them. Thanks for the contribution.
Comment #15
drewish commentedsorry to have ignored this for so long, if someone could re-roll this for HEAD i'd appreciated it. it needs to go into the 6.x and then be backported.
Comment #16
charlieman commentedHi, I've also created a patch for this (I didn't saw this thread and patch). Anyway, mine adds two group blocks (random and recent) and extends the already existing functions instead of creating a new one for the groups. Hope someone finds it helpfull.
Comment #17
Anonymous (not verified) commentedCouldn't apply the patch .
paulbookers-computer:~/Subversion/Development/drupal6/sites/all/modules/flickr paulbooker$ patch -p0 < flickr_group_blocks.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/block/flickr_block.module b/block/flickr_block.module
|index 1e2e09c..c8bc63b 100644
|--- a/block/flickr_block.module
|+++ b/block/flickr_block.module
--------------------------
Comment #18
Artascope commentedanyone have the idiots version of how to do this?
am I cutting, pasting uploading or wining and dining?
thanks for being supportive of the newbies!
thanks!
Comment #19
Anonymous (not verified) commentedThis has been partially implemented in #318722
Would you please open a new feature request and roll a further patch to implement new features , thanks
Paul