Thanks for your time. Found an easier solution (for me
). When users are receiving a notification email there is a link in the email to change preferences, which redirects to an url with a user specific token. So I made a query field to query the #__user_profiles table to get the user specific token from the table and then added a button with the link in the profile edit layout.
I did spent a lot of time yesterday trying to figure it out until today I suddenly had a hunch to change my backend language to English. Someone translated the word Query with Question (Vraag in Dutch), so I was looking for a Query field and couldn't find it.
I will try to find some time to change at least that translation today in Transifex, because it is very confusing
.
I really wish people would stop using Google translate to translate language files. This is already the second extension with totally useless translations.