Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [registration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

What is your strategy for users accounts when upgrading Craft?

I'm upgrading a site that has public registration from v3 to v4 (better late than never!) and it's going to take a few days to QA v4 locally to make sure everything works correctly… I'm wondering what'...
Yann's user avatar
  • 103
0 votes
0 answers
36 views

Creating a User without email requirement and auto-activation from a Controller

I'm working on a project where I use Craft CMS to manage user sessions and store user preferences such as site version and preferred language. However, for privacy reasons (GDPR compliance), I'm not ...
Romain P.'s user avatar
  • 1,852
1 vote
1 answer
48 views

Front-end user registration doesn't return validation errors

I've activated public user registration using the register.twig template mentioned in the documentation: https://craftcms.com/knowledge-base/front-end-user-accounts#registration-form Unfortunately the ...
Marc's user avatar
  • 13
0 votes
1 answer
49 views

How can I troubleshoot why a user's initial password is being deleted after a front-end registration? [answer: it was not set in the first place]

We have a front-end registration form that was working as expected for months, and now mysteriously when someone registers they can't log in because their password is empty. Using a front-end password ...
Kirk Roberts's user avatar
1 vote
1 answer
40 views

Password setup screen on mobiles doesn't work properly

I am running a multi user site on Craft 3. When a new user is trying to set up their password for the first time, the default craft password setup page is not working on mobiles. It seems like the ...
LessMore Creative Studio's user avatar
1 vote
1 answer
104 views

Front-End user registration dynamic usernames - duplicate check

I have a front-end user registration form that generates a username automatically based on the first and last name inputs. This works as intended but on the off chance that two people have the same ...
Mike Niland's user avatar
1 vote
1 answer
69 views

Custom setpassword screen with added fields

I created a custom setpassword template which I largely copied from the default one except that I added firstName, lastName and photo fields so that the user can set up their whole account at the same ...
Brimby's user avatar
  • 343
2 votes
1 answer
850 views

how to check if a user email exists before creating a new user on a frontend form?

I have a signup form on my site and I want to check if the entered input (email) is already used in my DB before submitting the form. What's happening now is when I create a new user with a new email ...
Ra3d K's user avatar
  • 125
1 vote
0 answers
236 views

Redirect to frontend login form after receiving email verification mail from CMS?

I'm working on a site with public registration and a manual approval flow for new users. The following settings for user accounts are active: Verify email addresses, Allow public registration, Suspend ...
MoritzLost's user avatar
  • 11.4k
2 votes
1 answer
258 views

How to configure the system messages <link> url?

we have got a multisite environment and have imported users with different preferred languages (de and en). Therefore we made a module, cause the feedme plugin doens't set the preferred language https:...
Marten Brosch's user avatar
3 votes
0 answers
179 views

Add billing address to user on registration

I am working on a craftcms + commerce project and I need to add a billing address to new user during its registration process. The idea is to have a billing address added to any newly registered user ...
juanlopez4691's user avatar
1 vote
1 answer
107 views

Customizing the destination after user activates the account

I would like to ask about activation e-mail which is sent to new user. Once the user clicks the link, it redirects to homepage. Is it possible to change the destination? I would rather like to make ...
Kota.M's user avatar
  • 423
0 votes
0 answers
73 views

Do not send email activation on public registration while keeping the requireEmailVerification setting on

Is there a way to not send Email Activation on public registrations while keeping the requireEmailVerification setting on. Because, I have two type of users. The one is the off street registration (...
Ronnel Bote's user avatar
1 vote
1 answer
99 views

Detect if it is a new user or not in PHP

I have been developing some plugin code for my registration form in Craft 3. The event will be EVENT_AFTER_SAVE_ELEMENT, but I do not know how to detect if it is a new user or not. In Craft 2, the ...
Kota.M's user avatar
  • 423
2 votes
1 answer
448 views

Autologin after frontend registration

I have a frontend user account registration form and I d like to auto login the user automatically after the account creation. So the user can choose a subscription plan and pay immediately after, ...
Miguel Bocquier's user avatar
1 vote
0 answers
31 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 ...
Jorge Anzola's user avatar
1 vote
1 answer
129 views

Craft 3 redirecting me 404 after fill up registration form

I have created copy whole HTML from here (https://docs.craftcms.com/v3/dev/examples/user-registration-form.html). and trying to register but it's showing me an error or we can say it redirects me to ...
Raj's user avatar
  • 31
1 vote
1 answer
2k views

Craft 3 Registration Form Success Redirect

Is it possible to redirect the user to a specific page after they successfully complete the front-end registration form (before activation)? I've tried adding: <input type="hidden" name="action" ...
GazCrane's user avatar
1 vote
1 answer
2k views

Save and login user in a Plugin?

How can I register and login a user in my Controller? I have tried something like this: $newUser = new User($userName, $userPassword, $userEmail); Craft::$app->elements->saveUser($newUser);
Billy Sengsey's user avatar
1 vote
2 answers
729 views

Register a user to a specific group

I'm trying to register a user from the front-end and assign them to a specific group. I know that via control panel I can set a default user group, but there is a registration instance where I need ...
Fabian Socarras's user avatar
1 vote
0 answers
105 views

Rewrite locale urls on nginx, but not for registration links

I'm using this Gist to rewrite the urls on a localized website running on nginx. It's working fine, except for the account activation links. They are localized as well, but they shouldn't. I'm sure ...
Andreas's user avatar
  • 491
1 vote
0 answers
244 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 ...
Branko's user avatar
  • 497
1 vote
2 answers
354 views

Ajax User registration sometimes forbidden 403 error [closed]

I am experiencing a very weird issue. I have a simple user registration form: <form method="post" action="" accept-charset="UTF-8" id="addTeacherForm"> {{ csrfInput() }} <input type=...
Branko's user avatar
  • 497
2 votes
1 answer
1k views

User registration form with checkbox field

Hi I have user registration form with multiple custom fields. They all work fine except for the field I have as a checkbox. It returns an error of 'my-field' is invalid. Any ideas anyone? code below (...
Matt B's user avatar
  • 73
3 votes
0 answers
116 views

Dukt Social Plugin Not Creating User

I'm currently Authenticating users via OAuth and Social Login by Dukt. I have Facebook app all set up and running as well as Twitter. The user gets redirected, asked to Authorise but when it returns ...
JMKelley's user avatar
  • 1,406
1 vote
0 answers
70 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 ...
Frank Harrison's user avatar
1 vote
1 answer
158 views

How to get the original entered password value on registration form error?

I want to customize the user-registration-form with error/success-states. If, for example, the user enters a wrong email, but correct username and password, it would be nice to set the value of the ...
d3nn15's user avatar
  • 13
1 vote
1 answer
229 views

Can't send emails

I've got an "escapeshellcmd() has been disabled for security reasons" warning whenever I try to send an email using Craft (user activation email), is there a way around it?
Lukigi's user avatar
  • 565
4 votes
2 answers
889 views

Send email to website owner after user registration

I have a client that wants to get notified whenever someone registers on their website. How can I do this, is there some kind of plugin? If not how would I go about doing this?
Branko's user avatar
  • 497
1 vote
1 answer
206 views

Email template variables not rendering from plugin

I am loading an email template for custom registration via a plugin. I reset the template path and load my template like this: $oldPath = craft()->path->getTemplatesPath(); $newPath = ...
joomkit's user avatar
  • 2,024
1 vote
1 answer
487 views

AJAX user registration and JSON returned

I am using business logic plugin to tap into save user event and create some profile field values. public function init(){ parent::init(); craft()->on('users.saveUser', function(Event $...
joomkit's user avatar
  • 2,024
1 vote
1 answer
208 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 ...
joomkit's user avatar
  • 2,024
4 votes
1 answer
140 views

Registration into default group is not working as expected

Here are my settings for user registration: \ When front end registration completes the users are added fine but not into the default user group as expected. They are just in the system with no ...
joomkit's user avatar
  • 2,024
2 votes
1 answer
529 views

AJAX Front-end User Registration Form not displaying macro errorList

I have a user registration form on my Front-end which is submitted with Ajax which works fine. The only problem is that if I have any errors, like an already in use username they wont be displayed. ...
Justin Dekkers's user avatar
2 votes
1 answer
372 views

Craft - suitability for membership/user registration and document upload/management

I have created about 30 sites using Perch but find it somewhat frustrating, especially the support. Considering using Craft for my next project but can it handle: Membership/user registration. Ie can ...
a1mark's user avatar
  • 31
1 vote
1 answer
776 views

How to implement radiobuttons field on frontend registration form?

I want to add a question to a frontend registration form. The radiobuttons are just 'Yes' or 'No'. I've created a radiobutton field and added that to users > fields. If I add this option to the form,...
user avatar
3 votes
2 answers
1k views

Register a user as part of a Commerce checkout?

Is it possible to register a user for a Craft user account as part of a Craft Commerce checkout flow? Ideally something where you can ask if the user wants to create an account and save their details ...
Mike's user avatar
  • 719
1 vote
1 answer
727 views

Send activation email only for users created over the Control Panel

We have a website that allows users to register themselves with a front-end registration form, and are automatically logged-in once they're done (thanks to autoLoginAfterAccountActivation). But we ...
Jose Manosalvas's user avatar
1 vote
1 answer
197 views

Registration form issue

I have a registration form that looks like this: <form method="post" accept-charset="UTF-8"> {{ getCsrfInput() }} <input type="hidden" name="action" value="users/saveUser"> ...
user6191's user avatar
1 vote
1 answer
322 views

Register front end member from admin area with password

I'm not certain if this is possible but what we want to do is the following: Have an admin register a new user in the admin, including a password for them so that they can pass along these ...
Mike's user avatar
  • 719
0 votes
1 answer
134 views

Don't allow multiple users with same the password

I am working on a user registration page with AJAX. I noticed that users are able to create accounts which have the same passwords. How do I disable this? If users want to create an account with the ...
Branko's user avatar
  • 497
1 vote
1 answer
232 views

Custom registration User validation

I'm building a custom registration process in which a set of entries and a user are created at the same time. Currently I'm not able to pass back my errors in my controller into the front-end ...
Adam McCombs's user avatar
  • 1,695
3 votes
1 answer
632 views

Problem with user activation links

I'm having a pretty consistent issue with the user activation links sent out in the registration emails. Having a hard time diagnosing because I can't replicate it myself, but getting several users a ...
Dexterity's user avatar
2 votes
2 answers
243 views

Front-end registration validation

I have a front-end registration page and need to change the validation to add (minimum characters for information on the page and to make fields to accept only letters and other to accept only number ...
Salah Ahmed Ali's user avatar
0 votes
0 answers
38 views

Public registration when system is off

I have a site that I need to remain turned off for a while (while the client enters content). I do however need public user registration to be available. Is it possible to make this one page visible ...
JamesNZ's user avatar
  • 947
1 vote
1 answer
475 views

Password validation for resetting password

I have the following code to further validate passwords when creating/registering an account which is working fine. However, when trying to use this same validation for resetting a password I am not ...
Terry Upton's user avatar
  • 1,894
3 votes
2 answers
1k views

Send activation mail from front end

I am building a site where all the content (and users) are being managed using the front end. The site owner needs to invite customers to the site but would like to control the time when that customer ...
Marcus Scheller's user avatar
2 votes
0 answers
122 views

How can I validate/make a matrix field required on the front-end?

I am displaying inputs on the front-end of my form that are populating a matrix within the CP. Overall everything is working fine. The problem I am having is validation. I've got the field marked as ...
Damon's user avatar
  • 4,706
2 votes
1 answer
60 views

Autologin destination

A bit of an extension of my previous query at Auto-login on account activation I want to a user to: automatically login on account activation, and be redirected to a predetermined page on account ...
Cole Henley's user avatar
  • 1,741
2 votes
2 answers
636 views

Auto-login on account activation

Anybody got any suggestions on debugging autoLoginAfterAccountActivation and activateAccountSuccessPath not working? These are set in general.php of my config but when a user activates their account ...
Cole Henley's user avatar
  • 1,741