Questions tagged [registration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
12
votes
1answer
2k views

How to add custom user fields to the front end registration page

This question is similar to this post, but more of the next logical step. I have added custom fields to my user profiles, but would like these attributes to be part of the registration page. For ...
8
votes
5answers
2k views

How do you set a user's group on a registration form?

In a registration form with public signup possible, how do you set the user group for a particular form? As a stop-gap I am attempting to use the following code: function init() { craft()->on(...
7
votes
1answer
1k views

Ajax front-end user registration form - not returning JSON

I have a user registration form on the front-end of a site that is working well as a standard form, but when I try to use ajax submission, I'm getting an HTML response rather than JSON. Here's the ...
4
votes
1answer
601 views

What password requirements exist for new users?

My site contains a front-end registration form. New users will be automatically activated, and can begin using their account immediately. What password requirements exist? I vaguely remember a 6-...
4
votes
2answers
565 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?
4
votes
1answer
271 views

What can we do to help avoid member activation emails going to spam?

We have a new Craft site that includes front-end member registration. We've heard from the client that many of the activation emails are getting stuck in spam filters (and I just tested with the same ...
4
votes
1answer
984 views

Create default password for new user registration in CP

I have a situation where I want to assign a default password when a user is registered in the CP, but only if they are assigned to a specific user group. Plugin code looks like this: craft()->on('...
3
votes
3answers
2k views

User registration: How do implement “Confirm password” and “Confirm email”?

I've got a user registration form on my site, using the code from Craft's documentation. How can I get the form working so it asks the user to enter their email address and password twice? Can Craft ...
3
votes
1answer
1k views

Auto log in user

I’m setting up a site that has paid membership. For a visitor to create an account I’ll need to: Ask for email and password and create the new user. Take payment and upgrade the user’s status/user ...
3
votes
3answers
1k views

Can admin receive email notifications of new user registrations?

I would've thought this would be core functionality, but does it require additional plugin functionality?
3
votes
4answers
3k views

Robust Form Plugins for Craft?

We're doing a rebrand and web overhaul for a Christian camp, retreat, and conference center. A big part of the site is a registration system where people can register for an event, fill out a detailed ...
3
votes
2answers
883 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 ...
3
votes
1answer
1k views

Public Registration

So I'm trying to setup public registration for the first time. I'm running into two problems: The users are not getting assigned to the default user group The password is not required but fails ...
3
votes
2answers
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 ...
3
votes
1answer
108 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
160 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 ...
3
votes
1answer
522 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
1answer
400 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 ...
3
votes
1answer
266 views

New user validates without confirming email

I've built a plugin that does some work before saving the user from the standard Registration Form. My only issue is it does not fire the activation email which I added in. But it lets the user login ...
3
votes
0answers
98 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 ...
2
votes
2answers
2k views

User registration approval/activation

Want to do two things and wondering if I'm missing something in the docs or if someone has tackled this already: User registers on the front end and get success messages saying they will be notified ...
2
votes
2answers
660 views

User Registration - Keep as inactive until verified by admin

I have set up a public registration form simply using the User registration form: https://craftcms.com/docs/templating/user-registration-form Is there a way to set it so that when users register they ...
2
votes
1answer
698 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 (...
2
votes
2answers
207 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 ...
2
votes
2answers
466 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 ...
2
votes
1answer
427 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
50 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
955 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'...
2
votes
1answer
239 views

Mandrill integration not sending email for front-end registration form

Update Emails only send out when you're not logged in as admin from the registration form. No errors received in dev mode, user created, but no activation email sent. Definitely not getting passed to ...
2
votes
1answer
246 views

How can I get a user to choose in which group he registers using the User Registration Form

Is there a way to allow a registrant to choose a user group in the registration form? I tried using the following code but it didn't work: <input type="hidden" name="userGroups" value="3">
2
votes
1answer
80 views

How can you check if “public user registration” is turned on or off on the front-end?

I'm trying to make a rather bullet proof front-end template that can toggle a sign up link based on if public registration is enabled or not. Is there a way I can query to see if the system currently ...
2
votes
1answer
569 views

Front-end Registration Form just refreshes with no error displayed and user not created

I am using the registration form from the docs here - https://craftcms.com/docs/templating/user-registration-form - in the front end of my site. Unfortunately, when I click on "Register" the page just ...
2
votes
1answer
455 views

Registration Form twig add to an usergroup

I just started using Craft and I'm a little stuck with a public registration form. I made a user group and wanted to add these to the saveUser form. I found this answer but don't know where to find ...
2
votes
1answer
39 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:...
2
votes
1answer
137 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, ...
2
votes
1answer
339 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 ...
2
votes
1answer
337 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 ...
2
votes
1answer
166 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
108 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 ...
2
votes
2answers
538 views

User Registration Form Redirect not working Craft 2.5

I'm using the following code but the redirect is not working. After the user registers it takes them back to the home page and not to volunteer/identity. I put a message on the homepage to display if ...
2
votes
1answer
177 views

Can't access Pending user's profile info

I have public user registration enabled with the "Verify email addresses" setting checked. User registration form includes these "action" and "redirect" hidden fields: <input type="hidden" name="...
2
votes
1answer
607 views

Craft front-end forms not working with Angularjs app

I'm making a site with Craft CMS/Angularjs. I'm using angular to filter and display entries on the index page and it's working good so far except for one thing. The login/register/entry form's all don'...
2
votes
1answer
114 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....
2
votes
1answer
446 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 ...
2
votes
1answer
220 views

Password should fail on front-end registration form

Update For anyone else having a braindead moment, registration form errors only display for password when logged out. If you're logged in as admin they won't display. User posted even though using an ...
2
votes
0answers
97 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
0answers
96 views

How can I make a SmartMap field required on a user profile page?

I am using Craft 2.5 (Beta) along with the fantastic SmartMap plugin. I have a user registration page that I am using the SmartMap field with like this: twig ... <div class="form-group has-...
2
votes
1answer
540 views

How can I get custom user registration field parameters

I am allowing users to register on my site. I want to have the field "full name" on the registration page which, from there I will eventually split that value to populate the first name & last ...
1
vote
1answer
879 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
35 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 ...