Hi Josh, Dean, sorry I didn’t get back to this right away (got sick for a week).
I implemented the code and ran test registrations for four different new users and it worked exactly as it should, creating a user, generating password, etc.
However, when I login as those users the events I registered for are not listed under My Events. IS this to be expected on the first registration? If so, is there any way to possibly change that?
If that’s not supposed to be happening do you have any idea what could possibly be causing the discrepancy?
Thanks for help!
Also, there is another aspect to this operation on the IT side that is still not complete. i.e. we are trying to get EE to generate the right info needed into the database in order to sync with a CRM in the manner the company needs and auto- generating users is a part of that. So if you could continue to leave the topic open until that aspect is complete I would appreciate, in case there are any further questions.
It’s a fork of Seths and it should allow the first event to be entered into the My Events.
Note though, that it shifts some of the details around compared to Seths version, so it checks if the user exists via email, will disregard the user if the username exists, and also sets the username as firstnamelastname.
If you don’t want that, just look at adding line 36 into your existing code.
Please note that forum posts will automatically close after a set period of inactivity (2 weeks I believe).
Viewing 5 reply threads
The support post ‘Auto Create Usernmes’ 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.