Managing edit profie fields and questions about advanced fields avatar
-
Hi!
We’ve been using the UR plugin in a new project and upgraded to the premium version for Social Connect and Advanced Fields (user avatars, specifically). However, we’ve run into a couple of issues, especially with the avatars, to which there seems to be almost no options or documentation available. I find that pretty concerning, considering it’s a premium plugin. Here are my questions:
1) As I understand, the edit profile form simply copies all fields (except for passwords) from the registration form. Is there any way to manage which fields the user can edit? For example, we have a terms confirmation checkbox which the user should not be able to edit later for obvious reasons, and we’d like to keep username and email non-editable as well. Currently I’ve just been making the fields read-only with custom JS so they’d bypass validation, but that seems like a really hacky way to solve it.
2) The avatar field seems to be automatically added to the edit profile page, above the form, but the field in the form itself gets added too, resulting in double avatar fields… What’s even weirder is that one shows the uploaded avatar, while the other shows an empty placeholder. Here is a screenshot of the situation: https://i.imgur.com/vVBuItu.png
I would like to remove one of these, preferably the above and keep the one inside the form (but displaying the correct avatar)3) How can I change the upload file size limit? I read from another thread that it uses the file max upload in php.ini, but that is not a solution for us, as we want to restrict avatars specifically while still retaining larger limits for other kinds of uploads. Is there no filter or anything to hook into?
4) Is there any way to disable the cropping feature of avatar uploads? We don’t need it and want WP to just autocrop a small square from the image. Plus, the crop UI is broken – images flow out of the container and large images are not resized, making them go out of the screen. It’s especially bad on mobile.
Any help would be much appreciated. Thanks.
- The topic ‘Managing edit profie fields and questions about advanced fields avatar’ is closed to new replies.