Jump to content

Editing user profiles - Difference between /processwire/access/users/edit/?id= and /processwire/profile/


Torsten Baldes
 Share

Recommended Posts

Today I wanted to add some settings and extra fields to my user template (which went fine) and realized, that if an editor uses the profile link in main navigation, he doesn't see the extra fields i or other plugins added. In this view are only password, mail address, language and admin theme available. But if this user has the right to administer users, he could go to his "other" profile page (/processwire/access/users/edit/?id=123) and see all the additional fields and edit them.

Why is it not possible to edit all fields in the profile view.

I can't give all my editors user admin rights, but I want the to be able to edit their profile with all the additional fields (in the backend).

How could i accomplish this?

Thanks!

Link to comment
Share on other sites

  • 1 year later...
  • 2 years later...
On 2/15/2016 at 2:50 PM, adrian said:

There are some issues with editing images via profile - https://github.com/ryancramerdesign/ProcessWire/issues/989

Are there some updates about issues with making images to be edited by the user in their own profile (admin area)?

I'm in trouble with it.

What I made is:

  1. In the 'user' template, I added an 'images' field.
  2. In the 'role' page (designating users allowed to edit their profile), I checked/enabled the 'profile-edit' permission.
  3. In the 'ProcessProfile' (User Profile) module, I checked/enabled the 'images' field.

What happens is: when the user goes to the page /processwire/profile/ (admin area) then the image upload seems to be successful but the user cannot view the uploaded image.

Is there something I'm doing wrong?

Link to comment
Share on other sites

8 hours ago, Zeka said:

https://github.com/ryancramerdesign/ProcessWire/issues/1969 This issue looks similar to that you posted and it was fixed.

I'm using ProcessWire 3.0.98 and I'm trying to understand because the user cannot view the uploaded image in the Edit Profile page (even if the image upload seems to be successful since the related file is uploaded to the /site/assets/files folder of the website).

In Edit Profile I get a "blank" image:

Profile_image-Edit_Profile.png

and also in the frontend when outputting it:

Profile_image-Front_end.png

 

Update

In file config.php I have set $config->pagefileSecure = true; and if I remove this then the profile image field works as expected. However I need this config enabled since I prevent access to files of access protected pages throughout all the website. Furthermore, for the user template the option "Do you want to manage view and edit access for pages using this template?" under "Advanced" tab is set to "No", so I expect the file to be accessible. However, the user template has not template file (user.php).
What should I do in order to keep things consistent?

 

BTW @Zeka, in your linked post I have not posted.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...