Posted: August 10, 2020 at 8:26 am
|
We started using Event Espresso 4.0 and created our first event, setting up this was a breeze. We wish to create future events and also a monthly paid membership event, so I installed the WP user add-on since we also wish to offer discounts for attendees who had participated in the first event. I came across this post for what we wish to achieve. Since we installed the WP User add-on after the first event sold out, wanted to know if there’s a way for the registrants of the first event to be added to the WP User database, so that we could offer them a discount if they wish to participate in future events that we would be hosting. |
|
Here’s the link to the post I referred to https://eventespresso.com/topic/membership-discount/ |
Hi there, Event Espresso doesn’t have a way for you to create users from your previous event, however, you can export registrations using the ‘Registration CSV report’ and then use another plugin and use the data from the CSV to create/import users into the site from that. It will take some admin work but still likely less than creating the users yourself. How many registrations/users are you looking at from your initial event? |
|
|
These are just 25 users. |
Ok, then you have the option of just creating 25 users manually or learning how to use a plugin to import them. For example, you could use a plugin like this: https://wordpress.org/plugins/import-users-from-csv/ But you’ll need to pull the data from the Registration CSV into a format that plugin understands, all of the info you need is included in the Registration CSV by default so it’s easily done you just need to move it around some. |
|
|
Thanks for your prompt info, one last thing I wish to know is that one of the user fields is username, how do I go about it? |
You can set that to the user’s email. The username is whatever they will input into the site as username and password, generally people will use their email address. |
|
|
Thank you. |
You’re most welcome. Let me know if you run into any issues. |
|
|
I was able to import the users successfully. Following this How-to I think we need to also link each contact to the WordPress User accounts that I imported. I tried following the instructions on “How to link a contact to an existing WordPress User Account” We are using WordPress 5.4.2 and as per the instructions the Debug console does not output anything. Do I really have to link each of these contacts? Is there any other way to link these contacts following some other steps, since the debug console does not work and has not been updated for over 4 years? |
|
I checked the registrants we imported from the .csv and I see that they are linked. Now I need to work on creating the registration page. Thank you for your help so far. |
Its one of the jobs that the WP User integration add-on does, so if you want them to function in the same way as they would for others, yes. However, what that does it allow the registration to show up in the My Events section of the add-on, if you aren’t using that it’s not urgent you link them to the contact right now, EE will do it automatically IF the user logs into the site and registers onto another event using the exact same contact details (First name, last name, email) as their WP User account.
Debug bar does work, I use it daily to quickly test various snippets of codes on some of my test sites, however it does depend on your host as some block it as suspicious. You can use any way to run code on the site, for example creating a plugin or your own theme template etc.
They are? I’m not sure how the would be. |
|
The support post ‘WP User Add-on’ 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.