1. Laurent Zotto
  2. General
  3. Monday, October 10 2016, 09:27 AM
Hello

I'm using easy profile and created the menu to view and edit profiles.
While launching a test, users are not able, even to change their password.
I checked the permissions in the easy profile configuration and also the settings of the fields of the easy profile component.

I'm using 2 subgroups under under the registered users group.
- One for the members of the club which should only change their personal information like e-Mail address, address, avatar, password..
- One for the members of the committee which should be able to change more deeper information as License ID, aso...

Can you please help me out? Thx in advance

Regards
Laurent
Accepted Answer
admin Accepted Answer
Admin
Hi,
ok, now seems clear for me.

Permission
- Go to Administration->Users->Manage->Options->Permission, and remove permission "Edit" for registered Users (see screenshot 1), "Edit" permission should be allowed only for the committee

Fields
- Set "Visible on edit profile" (see screenshot 2) to "No" for each Special Field (not editable for normal users), with this the fields will not shown on edit profile page.
- We recommend to leave "Public", "Available for" parameter for all fields. Read Tip for more info

Easy Profile Options
- Check in Easy Profile Options that parameter "Admins can show not editable fields in frontend" is enabled, with this all admins (committee users) can see field set to not shown on Edit Profile
Attachments (2)
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
Hi,
admins can always edit profile information of other users. Who are Admins? see screenshot of a TIP.

You can set fields like "License ID" to not available on Edit profile page, this field will be available for admins to edit in backend and in frontend (only if you have enabled the in Easy Profile options the parameter called "Admins can show not editable fields in frontend";).

Who are admins? see screenshot with exaplanation in parameter "Admins can show not editable fields in frontend" (screenshot)
Attachments (1)
  1. more than a month ago
  2. General
  3. # 1
Laurent Zotto Accepted Answer
Here are my settings...
What did I miss?
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
I think you need to put "Available For" and "Visible For" parameter to public. Read Tips on these fields to get more informations.

About permissions, you need to check Joomla Users Permission and not Easy Profile Permissions to set who can edit Profiles.
  1. more than a month ago
  2. General
  3. # 3
Laurent Zotto Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
Hi,
can you please post me your site details? you can use the form below the reply in "Site Details" tab

password field should be editable by all users, always.
  1. more than a month ago
  2. General
  3. # 5
Laurent Zotto Accepted Answer
Here it is
  1. more than a month ago
  2. General
  3. # 6
admin Accepted Answer
Admin
Hi,
sorry I get this message (see screenshot)
Attachments (1)
  1. more than a month ago
  2. General
  3. # 7
Laurent Zotto Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 8
admin Accepted Answer
Admin
Hi,
I have tried to create a new account (username "epTest";) and not problem to change password.

Keep in mind that password require 1 digit and a least 8 chars, and if user do not respect this you have a error. In your site you have this CSS rule
div.alert { display:none;}

so user can't understand why the password is not accepted. (see screenshot without this css class)

Still, I found a permission configuration problem, you have set that registered users can edit profiles, so also "DT Fengig" Users (inherit registrered rule) can have this permission. See screenshots
Attachments (3)
  1. more than a month ago
  2. General
  3. # 9
Laurent Zotto Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 10
admin Accepted Answer
Admin
Yes, because in your site alerts are hidden, you need to remove this CSS rule

div.alert { display:none;}
  1. more than a month ago
  2. General
  3. # 11
Laurent Zotto Accepted Answer
Ok.. I have to check ho..

BTW I did a test with the
testuser

Here I can enter an alternate e-Mail, but not on existing users! Any clue why?
  1. more than a month ago
  2. General
  3. # 12
admin Accepted Answer
Admin
Sorry I do not understand, can you explain me better?
  1. more than a month ago
  2. General
  3. # 13
Laurent Zotto Accepted Answer
With any user, I cannot edit fields like alternate e-Mail, with the newly created one, I can!
  1. more than a month ago
  2. General
  3. # 14
Laurent Zotto Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 15
admin Accepted Answer
Admin
HI,
just checked with my test account (epTest) and admin user, with both I can see this field.

All users can edit own field "alternate e-Mail". This field is in edit profile page.
  1. more than a month ago
  2. General
  3. # 16
Laurent Zotto Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 17
admin Accepted Answer
Admin
Ok,
this because you do not see error messages, see screenshot

in this case you have 2 users with email "[email protected]"
Attachments (1)
  1. more than a month ago
  2. General
  3. # 18
Laurent Zotto Accepted Answer
So if I change the eMail to test123, he should accept it, but he doesn't
  1. more than a month ago
  2. General
  3. # 19
Laurent Zotto Accepted Answer
even a user with a different eMail was not able to change the alternat eMail field...

I will check how to display the errors, but there must be another issue here!
  1. more than a month ago
  2. General
  3. # 20
admin Accepted Answer
Admin
hi,
test123 is not a valid email address. you need to fix your template issue to see messages. this is not something about easy profile this is something that regards Joomla.
  1. more than a month ago
  2. General
  3. # 21
admin Accepted Answer
Admin
still, keep in mind that if you have user email address duplicated the validation return false and you can t save any data. to save data you need entire form correctly validated.

you can do a simple test also without easy profile, for example if email is duplicated it do not store also name or user name, this is a Joomla behavior.
  1. more than a month ago
  2. General
  3. # 22
Laurent Zotto Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 23
admin Accepted Answer
Admin
Hi,
from frontend, see screenshot from your HTML source to find bad CSS
Attachments (1)
  1. more than a month ago
  2. General
  3. # 24
Laurent Zotto Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 25
admin Accepted Answer
Admin
Hi,
probably for HTML5 and Joomla JForm validation number like "31 34 90" is not a valid phone number. Use text field type for values like this.
  1. more than a month ago
  2. General
  3. # 26
Laurent Zotto Accepted Answer
I simply added the "+352" prefix for luxembourg..
  1. more than a month ago
  2. General
  3. # 27
admin Accepted Answer
Admin
Number like "+352 31 34 90" it's ok, see screenshot.
Attachments (1)
  1. more than a month ago
  2. General
  3. # 28
Laurent Zotto Accepted Answer
Yes,
I fixed this...
No I want to prevent normal users, not member of the committee to edit some special fields!
  1. more than a month ago
  2. General
  3. # 29
admin Accepted Answer
Admin
  1. more than a month ago
  2. General
  3. # 30
Laurent Zotto Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 31
admin Accepted Answer
Admin
No,
solution was:
Still, I found a permission configuration problem, you have set that registered users can edit profiles, so also "DT Fengig" Users (inherit registrered rule) can have this permission. See screenshots

You need to configure correct permission in Users->Manage->Options->Permission (not Easy Profile)
Attachments (2)
  1. more than a month ago
  2. General
  3. # 32
Laurent Zotto Accepted Answer
But it works as I want it...
If I set Edit --> Allowed for Registered users, as the subgroups inherit this, each registered user and the subgroups will be able to edit all user profiles.
I only allow Committee members to edit profiles, so they will override all settings.
  1. more than a month ago
  2. General
  3. # 33
admin Accepted Answer
Admin
I'm sorry but I'm having some difficulties to understand you.

Before you wrote:
I'm using 2 subgroups under under the registered users group.
- One for the members of the club which should only change their personal information like e-Mail address, address, avatar, password..
- One for the members of the committee which should be able to change more deeper information as License ID, aso...

Now you wrote:
But it works as I want it...
If I set Edit --> Allowed for Registered users, as the subgroups inherit this, each registered user and the subgroups will be able to edit all user profiles.


Now members can edit all profiles because they have "Edit" permission, but this is not what you wrote at the beginning.
  1. more than a month ago
  2. General
  3. # 34
Laurent Zotto Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 35
Laurent Zotto Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 36
admin Accepted Answer
Admin
Hi,
I don't know why, CSS rule "div.alert { display:none;}" come from your template (or some module) only in some pages (or when user is loggedin).
Anyway this not come from Easy Profile.
  1. more than a month ago
  2. General
  3. # 37
Laurent Zotto Accepted Answer
I crossed checked this and I flagged the template to use bootstrap when creating it.
I used TemplateCreator CK and the option is "Load Bootstrap" and is set to YES

I changed the bootstrap parameter in EasyProfile but this had no impact!
  1. more than a month ago
  2. General
  3. # 38
admin Accepted Answer
Admin
Hi,
yes this is normal, you do not need to enable Bootstrap Classes in Easy Profile, you template already have Bootstrap Classes.

Post me your site details, we will try to understand from where come this CSS code.
  1. more than a month ago
  2. General
  3. # 39
Laurent Zotto Accepted Answer
Here it is
  1. more than a month ago
  2. General
  3. # 40
admin Accepted Answer
Admin
Hi,
ok, found the problem, but I can't solve it.

When user is logged-in, Ark Editor add many CSS, this CSS code contains also a code that suppresses Joomla messages.
I don't know why, but this is very BAD: It suppresses all Joomla messages, so also without Easy Profile (with normal Joomla edit profile page) you do not see notifications. This is not only related to edit profile, for example you cannot see messages from Contact Module or Newsletter forms, or simply you do not see messages when you edit article from frontend.

You can do a simple test from frontend:
- go to some page
- edit page
- see screenshot, in your site missing message.

This is a issue from Ark Editor, you need to contact their support to fix this.
Attachments (2)
  1. more than a month ago
  2. General
  3. # 41
Laurent Zotto Accepted Answer
Thank you.. I'll see if I can impose a different editor for userprofile...
I le you know if this works
  1. more than a month ago
  2. General
  3. # 42
Laurent Zotto Accepted Answer
I tried to use JCE in the userprofile but without success

I looked in the settings of ARK Editor and found ...see "Ark Editor Setting.png"
  1. more than a month ago
  2. General
  3. # 43
admin Accepted Answer
Admin
Hi,
Ark editor plugins are always triggered in all page (when user is logged-in), also if you do not use it. As I said, you need to contact Ark editor developers.

I'm sorry but this problem affect your entire site and we support only Easy Profile.
  1. more than a month ago
  2. General
  3. # 44
Laurent Zotto Accepted Answer
OK
Thank you
  1. more than a month ago
  2. General
  3. # 45
Laurent Zotto Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 46
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.