Hi.

I have juste noticed something about Flickr on my site (www.hangar217.com). I have constructed my user profile using Panel's «User profile template». But, the images of a user are «pulled» on his profile using the bloc «Flickr user page random photos». Visibility on every profile is controled by using the php code given with the block:

if (arg(0) == 'user' && is_numeric(arg(1)) && (arg(2) == NULL) )
{
  return TRUE;
}

else {
  return FALSE;
}

Now...

1) if I visit the site as a visitor, I see that every profile has the same photos in the «Flickr user page random photos» block, even members that did not specify a Flickr identifier;

2) if I login with has member with a role, I see that all members have in their Flickr block the same images of User1 flickr album, even members that did not specify a Flickr identifier;

3) if I log in has member without a role, there are no Flickr images;

4) and if I login has User1, everything is ok: all the flickr blocks display the right images.

I did another thing...

I have erase the «Default Flickr User Id», I get this message as User1: «Flickr error1: User not found», and:

1) when looking at the site has visitor, I see no images in every Flickr block of every profile;

2) if I log in has User1, I see my Flickr images on all profiles;

3) if I log in has member without a role, I see no images in the Flickr blocs.

Please help me!

Would you like to have the list of my modules? And yes, I have cleared the cache a few times... I have given you screen captures of my permissions and of the module page.

Thanks!

R.

Edit: I have installed the Remember_me module: Flickr added a block on every page, when the visibility was on set by the above php code. I changed it for «see only on listed page»: user/* the added block disapeard. But only User-1 can see images and Visitors see only images from User-1 on every page. Please help.

CommentFileSizeAuthor
Permissions.jpeg34.58 KBQuébec
Modules.jpeg90.52 KBQuébec

Comments

Québec’s picture

Issue summary: View changes

Added Remember_me module changed the behaviour of Flickr.

lolandese’s picture

Title: Flickr does not show the right images on user profiles » Panels: Flickr does not show the right images on user profiles
Issue summary: View changes
lolandese’s picture

Status: Active » Closed (won't fix)

I see the site that the OP links to is a D7 site now. For the status change on D6 see #2367755: D6 maintenance.

Feel free to reopen if this issue is also experienced on D7.

Thanks.