I am using the UpdateProfile Snippet to update user profiles via frontend. By using the &user property we can define wich profile to update:
[[!UpdateProfile? &user=`[[+id]]` &useExtended=`1` &validate=`fullname:required,email:required:email`]]
Updating works, but when trying tot use a dynamic [[+id]], let's say from url-params, the [[+id]] isn't used by UpdateProfile. Instead the (default) logged in users' id is used.
I tried using $_GET in a snippet to echo the ID from url-params. Echoing works, but nog inside the UpdateProfile call. Finally used a $_SESSION to get the values working inside the UpdateProfile call. It works, but doesn't seem the best solutions.
Any ideas?