Hello, I've been able to use the JUser plugin and Usergroup elements to create a working registration form, but I'm having trouble adapting to form to allow users to edit their own parameters successfully. When a user edits their own profile and saves, the following error is displayed:
could not alter user group to 0 as you are not assigned to that group
Is there any way a user can edit their user profile?
Just to mention a few points:
- I created a list using the #_Users table and left joined another list called "User_Profiles" which contains extra elements that the user also needs to maintain.
- I'm using a calc element in the #_Users table for the username to use the email as the username.
- I'm using a calc element in the #_Users table to generate the "name" field entry based on "first_name" and "last_name" fields in the "Users Profile".
- The usergroup element is hidden.
- I tried enabling and disabling "Default to current user's groups" in the UserGroup element.
- Default UserGroup is set as "Registered" in JUser plugin.
could not alter user group to 0 as you are not assigned to that group
Is there any way a user can edit their user profile?
Just to mention a few points:
- I created a list using the #_Users table and left joined another list called "User_Profiles" which contains extra elements that the user also needs to maintain.
- I'm using a calc element in the #_Users table for the username to use the email as the username.
- I'm using a calc element in the #_Users table to generate the "name" field entry based on "first_name" and "last_name" fields in the "Users Profile".
- The usergroup element is hidden.
- I tried enabling and disabling "Default to current user's groups" in the UserGroup element.
- Default UserGroup is set as "Registered" in JUser plugin.