Questions tagged [user-profile]

The tag has no usage guidance.

0
votes
1answer
21 views

Trying to show selected categories in a multi select form input

I have a users form, which they can select their occupations. They can choose multiple values from a multi-select input. Occupations are categories that are related to users profile. Here in this ...
1
vote
0answers
20 views

Customer (Member) Profile Page

I have a site where I'd like customers to login and be immediately presented with their profile page (and ONLY their profile page). On this page they can: 1. See progress reports on their jobs (...
1
vote
1answer
43 views

Use Same Email Address On Multiple User Accounts

I am needing to set up two distinct users (one for each of two LDAP log ins) and I need for them both to use the same admin email address. However, Craft 2 will not let me do this. Is there a way to ...
1
vote
0answers
17 views

A user cannot change the password without completing the profile

I have an issue. I have custom fields in the user profile, some of them are required. I also have a change your password page and a change your email password. A user can create an account (Without ...
1
vote
1answer
40 views

User Account Form Dropdown

I have a Countries dropdown menu for signing up that i didn't have before. It used to just be a text field where they can input their own country. It works on the front end sign up form properly, but ...
0
votes
1answer
34 views

Set Password on Test User Account in Localhost

I'm trying to set the password for a 'test' user account on my localhost test site. I don't have an email server to send the reset emails, so I've been using the copy URL method. When I do go to the ...
4
votes
1answer
46 views

Asset dynamic subfolder for User Matrix

I need to set an asset field's dynamic subfolder path to the User ID. The field is within a matrix. The matrix a field in a User profile. Setting it to {currentUser.id}, {owner.author.id}, {object....
0
votes
0answers
55 views

User Registration Form: Empty Email

I am using Craft 3 with the default Craft 3 user registration form. Whenever I register I get an empty email. If I go to the cms and manually click on 'send activation email' I get a correct ...
1
vote
1answer
85 views

Deleting a user's profile photo via frontend in Craft3

I am having the hardest time allowing a user to delete their profile photo with Craft3. I have tried to follow this thread's answers : Allow user to change or delete their photo for their profile from ...
0
votes
1answer
130 views

Serialization of 'Closure' is not allowed

I created a form on the frontend that allows users to upload their profile photos: <form method="post" accept-charset="UTF-8" enctype="multipart/form-data"> {{ csrfInput() }} <input ...
1
vote
1answer
16 views

List users connected to me

I have a relationship field within my member profile. It allows users to connect to each other, i can list those that currentUser is connected to, but i need to list all other members that are ...
1
vote
1answer
68 views

Bad Request POST param “redirect” was invalid

I'm creating a user profile form on the front-end of our website. I've removed all template code and replaced it with the documentation code from the Craft website. I updated the docs code to reflect ...
1
vote
0answers
33 views

User not showing in the user list in the CP but has profile after social login?

Something strange going on with the user listings in the CP. Using craft v2.6.2794 and social logins v 1.2.4. I am using the social logins plugin for craft 2 and just updated it to the latest version....
1
vote
1answer
98 views

Site with public profile pages

I'm looking to try and build a site that allows users to register an account and then add all of their social media profiles in one place, similar to addme.fun. Their profiles would then have public ...
1
vote
0answers
55 views

User registration form Solspace integration

Is there any way to integrate Salesforce with Craft's front-end user registration form? Is see Freeform has a nice Salesforce integration but for this project the data needs to be sent across when ...
1
vote
1answer
233 views

User data segregation for multi-sites in Craft 3?

How will data be handled in Craft 3, when it comes to the 'multi-site' feature? Will most structured data will be accessible across sites? What about user data? If I have 'Site A' and 'Site B' ...
0
votes
1answer
258 views

you cannot access the CP with that account

New user has activated account but is getting this message when trying to log in: "you cannot access the CP with that account"
1
vote
0answers
108 views

Change user's photo to base64-encoded image received via POST

I'm trying to change a userphoto of a certain user to a base64-encoded imagestring that is supplied in a POST request. I already succeeded in uploading an actual asset that way, however, userphotos ...
2
votes
1answer
157 views

How would I create unique fields for different user groups programmatically?

I understand this isn't possible from the Control Panel, I'm developing a custom plugin for this specific client project. Essentially these user groups won't need access to the Control Panelat all, ...
1
vote
2answers
181 views

Conditional to see if an Entries field in a user profile contains a certain entry ID

I've got a user profile field named Books. This is an Entries field that contains entries from the Books channel. The idea is that users will save books to their their profile to show they have read ...
3
votes
1answer
137 views

Commerce: How to implement/save 'Use shipping for billing' field for future orders

There is a 'Use shipping for billing' field in the Craft Commerce sample templates but it is unclear to me how to use that in the CP or for an account user in their account or for a future checkout. ...
2
votes
1answer
42 views

limiting profiles to user groups

Can profile fields be limited to user groups in backend? It seems that if you want required front end fields for users registering then admins in backend have to have these as compulsory when creating ...
1
vote
2answers
145 views

Checkbox profile fields front end show labels in cp

I have some custom profile fields saved on registration in the front end. They are checkboxes and only submit on front end reg when they are set as an array. eg: <div class="checkbox"> <...
2
votes
2answers
83 views

Why does {{ user.getPhotoUrl(64) }} point towards storage/runtime and not to storage/userprofiles?

I am trying to load user profile pictures (the Craft ones), but they don't load. The getPhotoUrl() seems to point to the wrong folder(?). The profile images seem to be stored in the userprofiles ...
2
votes
1answer
42 views

Why are my profile pages not generating which I click on 'submit'?

does anyone know what I am doing wrong here? I am trying to create profile pages for each user, but when I click the submit button, it doesn't take me to the user's page. This is my ...
1
vote
2answers
72 views

Authentication by a custom field

I added a field called "phonenumber" to the user profile fields which I want to use for login purposes, too. Usually Craft allows an authentication by username or email-address. Is there a way to add ...
1
vote
1answer
290 views

Variable for User Field

How do I go about using a dynamic value to access a user field value? I have created a form builder for users and dynamically populate the user field based on the question's associated field. <...
1
vote
1answer
99 views

User profile validation control

I have a front end reg form saving profiles via ajax. All user and profile data is getting stored ok. The problem comes with validation. It seems Craft likes to load the errors for certain fields ...
1
vote
1answer
488 views

Change email address on front end

Some similar posts on here already but I'm still struggling. My code looks fine as far as I can tell? Page just reloads with no changes to the email (other fields change fine). I'm missing something ...
0
votes
1answer
1k views

Update a user image on the front end using Vue.js and Ajax

Following on from this question I am now looking at adding, deleting and updating a user's image on the front end using Vue.js and vue-resource. I have the delete functionality working no problem but ...
1
vote
1answer
121 views

User Order History Not showing Up in CP

I have a user I am running some Commerce order tests with. I have 6 orders they have placed. If I add a Commerce Customer Info field to their profile, I can see all their past orders on their Profile ...
10
votes
5answers
9k views

Updating a user on the front end with Vue.js and Axios

I currently have a working profile update form using purely craft but I would like to now enhance that using Vue and Axios to update via Ajax. I may well submit a couple of questions rather than put ...
2
votes
1answer
487 views

Correct way of showing errors when editing profile via front-end form?

I've been looking at the following resources: https://craftcms.com/docs/templating/user-profile-form Allow user to change or delete their photo for their profile from the front end Front end edit: ...
1
vote
1answer
96 views

Route to User page from first segment

I am building a site for a travel agency. Each agent needs to have his/her own public profile page. I want each agent's profile page to be accessed at agencyname.com/agentname, with agentname being ...
1
vote
1answer
129 views

UX issue with new email verification link

I'm working on a profile management form for a site with public registration enabled. I'd like users to be able to change their email address. I've got it working as Craft intended -- they enter their ...
2
votes
1answer
207 views

Delete a relation in frontend form

We have a change profile page where members can choose out of the users table who of the other members is their mother (or father). Below my (simplified) user profile form <form method="post" ...
1
vote
1answer
115 views

Change password on user profile (customer account in Craft Commerce)

I have a customers area as part of the Craft Commerce site I am working on. Ideally I want the user to be able to update their password from their customer profile screen. I have it working and ...
1
vote
1answer
123 views

How can I access the raw profile photo for any given user?

I am using the profile photo on users' posts (author image) and I would like to provide a link to download a larger image. I am currently able to get the "full" size of the cropped image like this: &...
1
vote
1answer
80 views

Save the form if not complete and come back another time to complete the form

I am using the FormBuilder plugin and I want users to be able to fill in a form. If they abandon the form without completing it or submitting it, I want the form to be saved and when they login and ...
2
votes
1answer
544 views

Edit user's first and last name

I have added a form to my front-end to edit the user's first and last name. Editing all the other fields is not a problem but when I try to edit the first or last name it doesn't work. I think I ...
1
vote
1answer
144 views

What is the least intrusive way to allow a user to change their email address on the front-end?

I have a page that will allow the user to change their name, email address etc. If I have an email field on my page and submit I get this error. Param “password” doesn’t exist. I have read that in ...
1
vote
1answer
362 views

get post data after submitting User Profile Form for success message

After a logged-in user updates their profile on the front end, I'd like to redirect them to the same page but show a success message. I believe I can do this with craft.request.getPost() but it's not ...
1
vote
1answer
443 views

Front end user profile: update password

Typical scenario: users log in on the front-end and have a profile page where they can update their info, including changing their current password. I have referenced this article from 2014 but it's ...
1
vote
1answer
78 views

How can I check a user has completed a field in their profile after log in?

I'm sure I've seen this documented somewhere but can't for the life of me find it. After login I need to check the user's profile for an empty field (e.g. phone number) and redirect them to a reminder ...
1
vote
1answer
85 views

How do I relate a user to a channel entry from a form?

I have a channel which has a relate to user field, how do I setup the front-end form which is a user details update form so they can select a channel entry from a drop down and when saved, have it ...
1
vote
0answers
143 views

Uploading a user picture on registration

I would like to make an image upload field so new members are required to upload a picture. I'm new to Craft (I've been a Drupal Front End developer). Other custom fields are working perfectly, and I'...
3
votes
1answer
300 views

How can I repopulate a matrix field on a front-end form?

I have a matrix field on my front-end form. Everything is working properly, data is saved correctly etc. I am testing & trying to break things and I noticed I wasn't repopulating those fields if ...
1
vote
1answer
122 views

How do I pass a hidden input value to plugin onSaveUser event handler?

I'm writing a customer portal plugin, utilizing Crafts user registration form: https://craftcms.com/docs/templating/user-registration-form {# User registration form: #} <form method="post" accept-...
1
vote
1answer
55 views

How can I pre-select a product variant based on user profile?

I have a product variant that a user can choose from. It looks like this: <select name="purchasableId" class="form-control"> {% for purchasable in product.variants %} <option {% ...
3
votes
2answers
659 views

How would I show a message and define where the user is redirected after changing their email through a front end form?

I have a profile form where a user can update their email. Upon doing so I would like to: Show the user a message saying they must check their email to verify the new email address. After they click ...