The block visibility setting for 'user' blocks are not restricted by the user in the block configuration but by the module. The block gets displayed when the first argument of the path is 'user' followed by a uid. User blocks are intended to show on a user profile only. This is however not visible for the web admin and indeed very confusing.
===========================================
Original issue description.
Title: can't display all Photosets block

I'm trying to display all my Flickr photosets on a page. Simple.

1) I installed Flickr and enabled all the modules (Flickr Block, Flickr Filter, Flickr Sets, Flickr Tags, Flickrfield )
2) I add my API key, shared secret, and user ID here. /admin/settings/flickr
3) I visit the blocks page and enable "Flickr user page photosets". Visited config block page but add no restrictions.

Nothing. Same for "Flickr user page random photos" and "random photo from photoset".

HOWEVER, both "Flickr random photoset photos" and "Flickr random photos" blocks DO work.

Can't seem to find any other config page besides the main one here /admin/settings/flickr.

Comments

finedesign’s picture

Still no success. Could use some direction.

rschouten’s picture

Did you ever get his resolved? I am experiencing the same problem on Drupal 7. My guess is that I am doing something wrong but I have no clue how to proceed. When I configure the 'Flickr user page photosets' block I get the following PHP error:

Notice: Undefined index: flickr_block_1_media in flickr_block_save()

rschouten’s picture

Status: Active » Closed (duplicate)

Looks like any block named flickr_user_page... can only work on a user page. Error message could be more clear to help us muddle through configuration though.

lolandese’s picture

Title: can't display all Photosets block » Sync the module defined visibility setting with the block configuration
Category: Support request » Feature request
Issue summary: View changes
Status: Closed (duplicate) » Active

The block visibility setting for 'user' blocks are not restricted by the user in the block configuration but by the module. The block gets displayed when the first argument of the path is 'user' followed by a uid. They are intended to show on a user profile only. This is however not visible for the web admin and indeed very confusing.

We will turn it into a feature request to have the module defined visibility setting in sync with the block configuration.

Thanks

lolandese’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
lolandese’s picture

Issue summary: View changes
lolandese’s picture

To consider:
Put the user profile blocks and the related Flickr ID on the user edit page in a separate sub-module 'Flickr Profile'. Many sites don't use this functionality so it makes sense to make it optional.

Feedback is welcome.

lolandese’s picture

Added a note on the visibility of user blocks in the relevant block configuration.

http://drupalcode.org/project/flickr.git/commitdiff/f4cbad3

lolandese’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.