when i click on another user profile foto the "picture changer" opens with my profile foto options or opens empty.
I think it should show the user foto from the user that is being edited and only if the loged user have permitions to edit it.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | profile_pic_changer-1433700-4.patch | 5.48 KB | skein |
| #3 | profile-picture-changer-1433700-1.patch | 467 bytes | NenadP |
Comments
Comment #1
paulap commentedYES!!!!!
Please correct.
Best way is to disable this function on user profile pictures of other users.
Thx
Comment #2
SunnyJ commentedI'm also using this module, but clicking on another person's picture loads your own picture changer... any fix?
Comment #3
NenadP commentedI worked a little on this issue.
This simple patch gets current viewed account uid in another way.
Please test and see if it works for you.
Comment #4
skein commentedHello,
I stumbled upon this issue and I decided to refactor the module a bit and fix a few issues with it. I've attached a patch with my changes.
Comment #5
deeray commentedHi, skein I really don't know how to apply patches yet. can this patch be applied to a new version?
Comment #6
skein commentedHi. What do you mean the new version? This patch is to be applied to 7.x-1.1.
Here's a page to help you applying the patch: https://drupal.org/patch/apply
Comment #7
flaviovs commentedFixed by #1433700: user and permitions are not being checked.
@skein, about the patch in #4, it would be nice if you open another issue and post our patch there, because it contains several fixes that are unrelated to this issue. This way we can better keep track of fixes. Thanks.
Comment #8
Donit commentedNot a duplicate. flaviovs link links to this.
Comment #9
flaviovs commented@Donit, sorry for the wrong link.
Actually this is a duplicate of -- and was fixed by -- #2470045: Click to edit Pictures is also working on viewing other users profile..
Comment #10
Donit commentedThanks, flaviovs!