Hi Stramm, I see this is the same change that I tested yesterday for
Allowing users to move files from own to public album. I wrote there
By using this modification a user can move a file from his own album to ANY album, public or personal, more than the administrator is usually allowed to do.
It works OK for this topic but it gives the requested administrator rights to every registered member (you had put a warning that it was untested) . Some restrictions are needed.
It is an interesting modification, however it would be rather confusing in a big gallery. Mine is not big yet, however
the list I saw was long enough to be a bit disturbing. Moreover members may use the same name for their albums, usually galleries have a subject and similar or the same names are not unusual in users albums. I think it will need quite some work and not just a smart query change to be really functional for a medium or big size gallery.
I hope I don't brake some rules as I will propose a different approach and working solution until something better appears.
Request: Allowing admins to move photos into USER's Albums
Purpose: (My estimation) A user uploads by mistake a file to a public album instead of uploading to his own. Without any change in the code the file must be removed by the administrator and uploaded again by the user. The requested modification will allow the administrator to move the file to a users album. Many administrators don't like the idea of removing files because a user has made a simple mistake.
By using the recently solved
Allowing users to edit their uploaded files... the user can do this by editing the file without need of administrator's intervention. It has other benefits I think, others may don't like the idea of course.
There is another problem also, the administrator doesn't want to delete the file but he doesn't also want a file out of subject showing in the album. Well, most galleries have a general public album for members photos so it can be moved there temporarily until the member moves it in the correct location.
This solution has the extra benefit in the case a user has uploaded a file in the wrong public album. If it is moved to the user's gallery it can't be moved by the user in the correct public album unless
Allowing users to move files from own to public album is solved. The last can be solved by a smart query change, I think.
I hope you will excuse me for the lengthy message. I tried to see and solve the request by my real needs and functionality point of view.