Support

Home Forums Community Forum Create Unique User Name

Create Unique User Name

Posted: September 13, 2016 at 8:10 pm


JohnB

September 13, 2016 at 8:10 pm

Hi,
Couldn’t find a post on this but may have been covered. (point me to it if it has)

This is a question about creating a new user.

Have these settings in place;
“Force Login for registrations?” set to no.
“Auto Create users with registrations?” set to yes.

When a registration occurs the system creates a new user using their email address.

Is it possible to allow the person to create their own user name?

+++++++++++++++++++++++++++++
EE Version 4.9.10.p
EE WP Users Version 2.0.11.p
WordPress 4.6.1

Using EE

  • This topic was modified 7 years, 7 months ago by  Tony. Reason: Not an attendee mover question


Tony

  • Support Staff

September 14, 2016 at 1:55 am

i John,

Do you have an active support license on another account? If so could you log into that account please.

There is a filter within the add-on that allows you to set the username:

apply_filters( 'FHEE__EED_WP_Users_SPCO__process_wpuser_for_attendee__username',
	$attendee->email(),
	$password,
	$registration
)

However this will also take further custom development as you will need a way to pull the information in from the registration, you can’t use a custom question within the reg form to collect the password as then the details will be saved to the database in plain text (really not a good idea).

So yes its possible but will require custom development to set up.

The support post ‘Create Unique User Name’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso