Hi,

Not sure if this comes under Code or User interface so I put it down as Miscellaneous...

I've just installed 6.x-1.x-dev and noticed that any site visitor can see the Remove friend Action when viewing a users profile that has Friends listed...I take it this Action link should only be visible to the profile owner?

Cheers for a cool module.

PS Is there any way I can use imagecache versions of the profile images? - we allow users to upload 198x264px images to their profiles and these are way to big for listing under the Friends tab.

CommentFileSizeAuthor
#1 flag_friend-remove_link.patch917 bytessirkitree

Comments

sirkitree’s picture

StatusFileSize
new917 bytes

Ok, I fixed this, though it relies on the fact that the view is using the uid of the account being viewed as the view's argument. Check out the patch and give it a try or update from CVS. I'm not positive this is the best approach to resolve this issue, but it does resolve it for the default view.

sirkitree’s picture

Status: Active » Fixed
axel pressbutton’s picture

Brilliant, thanks for the very prompt reply sirkitree :)

I'll give it a go tomorrow now, it's 22:42 here and I've just had issues with the latest Rules update (6.x-1.0-rc1) so think I'd best call it a night on anything more serious than a bit of CSS

Cheers

Status: Fixed » Closed (fixed)

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