Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [registration]

The tag has no usage guidance.

1
vote
1answer
19 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);
1
vote
2answers
23 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 ...
1
vote
0answers
29 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 ...
0
votes
0answers
34 views

Craft 3 Freeform Pro User Registration form fields

I'm using Freeform Pro (2.2.1) on Craft 3 (Pro 3.0.16.1) and am following these steps to set up a user registration form (https://solspace.com/craft/freeform/docs/user-registration-forms/). When I try ...
0
votes
0answers
40 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
2answers
84 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=...
0
votes
0answers
10 views

Immediately after registration and before activation, what variables are available?

On the template following a successful front-end user registration, but before the account's email is activated, what variables are available? I'm looking for something like Almost done, {{ ...
1
vote
1answer
157 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 (...
3
votes
0answers
41 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 ...
0
votes
0answers
35 views

New user activation checkbox

So here's a thing. I've created a new user group with access to parts of the control panel. However it seems that when these non-Admins register a new user they're not given the "Send an activation ...
1
vote
0answers
50 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
64 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 ...
1
vote
1answer
149 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?
4
votes
2answers
185 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?
1
vote
1answer
97 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 = ...
1
vote
1answer
225 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 $...
1
vote
1answer
85 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 ...
3
votes
1answer
59 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 ...
3
votes
1answer
210 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. ...
2
votes
1answer
135 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 ...
1
vote
1answer
225 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,...
3
votes
2answers
677 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 ...
1
vote
1answer
220 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 ...
1
vote
1answer
133 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"> ...
1
vote
1answer
209 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 ...
0
votes
1answer
60 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 ...
1
vote
1answer
116 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 ...
4
votes
1answer
354 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 ...
3
votes
2answers
136 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 ...
0
votes
0answers
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 ...
1
vote
1answer
202 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 ...
3
votes
2answers
470 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 ...
2
votes
0answers
81 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 ...
2
votes
1answer
30 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 ...
2
votes
1answer
280 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 ...
1
vote
1answer
65 views

Craft equivalent to Drupal Signups module

I'm investigating a switch to Craft CMS for my non-profit as an alternative to Drupal or Wordpress. We're on Drupal right now, and our website gets used daily to sign up for public events that we host....
1
vote
1answer
173 views

Member activation query

I have a site where am registering users via the front-end. I want to use email address as username and also want people to define their password on registration. I have set the following in general....
2
votes
1answer
722 views

Custom login/profile sections?

Apologies if this has been asked before, I couldn't find any documentation specifically about it. I come from a largely WordPress background but am looking into using Craft Pro for a new client that'...
1
vote
1answer
110 views

User activation email markdown not (correctly) parsed, no link etc

Our User registration is not working correct anymore. This is how the Email content part looks after registering a new public user: Hallo craft_user.friendlyName, danke für das Einrichten eines ...
4
votes
1answer
125 views

Unverified emails blocking user registration

craft()->users->saveUser seems to check email for uniqueness across ALL users, not just verified ones. It seems like it should only check against verified ones to me. Example: boob@gmail.com ...
2
votes
1answer
149 views

Does Craft Commerce support One Time Password and Social Login features?

I have just started reviewing this plugin for e-commerce development. Fully featured though it is, I wanted to know if Craft Commerce can also support custom auth (login and registration) features ...
2
votes
1answer
341 views

Multiple issues with User Registration from frontend

I am not able to get User Registration to work properly using a frontend form from the Craft Docs (https://craftcms.com/docs/templating/user-registration-form). Here are the particulars: Craft Pro ...
1
vote
1answer
292 views

Update user password

I'm trying to update a user password on save via a custom field (on registration via the back-end - the admin needs to specify a password on registering a user). Is this even possible? Came across ...
3
votes
1answer
244 views

The difference between username and loginName

In the examples they're used mixed: Registration <input id="username" type="text" name="username" {%- if account is defined %} value="{{ account.username }}"{% endif -%}> Login <input ...
0
votes
1answer
58 views

How to edit registration form fields?

I want to edit the registration form on my site. I have set up new fields and added it to the field layout under setting. However, the changes still don't appear on the registration form. Another ...
1
vote
1answer
610 views

User registration form add user to User Group?

When using the User Registration Form (https://craftcms.com/docs/templating/user-registration-form), how do I make it so the user is added to a predefined User Group?
1
vote
1answer
208 views

How can I repopulate my dropdown on a front-end form?

I am allowing guest registrations - everything is working fine. I am hung up on getting my drop down menu to repopulate/hold its value if there are any errors while submitting. I have a states field ...
1
vote
1answer
113 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-...
0
votes
1answer
297 views

Complete user profile after social public registration

I use Dukt plugins (-oauth and -social) for public front-end registration. I would like complete user profile after registration (e.g. license agreement checkbox). How is it possible to accomplish ...
3
votes
1answer
91 views

Conditional for user registration fields

What’s the best way to validate a user registration form to make sure that at least one of two fields is not empty? I’ve tried a very simple controller but can’t get this to work past the point of ...