Support

Home Forums Event Espresso Premium Primary Attendee soes not recieve email to register

Primary Attendee soes not recieve email to register

Posted: April 3, 2019 at 5:57 am

Viewing 18 reply threads


Watersafe

April 3, 2019 at 5:57 am

I have setup my event to allow multiple attendee registration. When I register two attendees the Primary Attendee does not receive an email to register on the website and set the password. The non-primary attendee however, does receive an email to setup an account on the website and set the password.
How do I st it so both atendees recevie an email to set their login password?


Josh

  • Support Staff

April 3, 2019 at 3:05 pm

Hi,

You can add the following code snippet to a site functions plugin:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/jf_ee_process_multi_wpuser_for_attendees.php

Once that code is within an activated plugin it will override the default behavior of the WP User Integration add-on and make it add a user account for every attendee within a multiple attendee registration.


Watersafe

April 3, 2019 at 3:50 pm

Thanks for the speedy response. I have worked with Joomla a lot, but only a newbie to WordPress. Can I just clarify how I implement this….
I have created a new folder (eea-wp-user/) in directory: public_html/wp-content/plugins/
I have created a new file in that directory called ‘jf_ee_process_multi_wpuser_for_attendees.php’ with the suggested code.
Is this correct and if so what else do I need to do?


Josh

  • Support Staff

April 3, 2019 at 3:56 pm

No that is not correct. What you’ll do is follow this guide:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


Watersafe

April 3, 2019 at 5:04 pm

Thanks. I think I have now done that but still not working.
I have created a new folder (cwssa) in directory: public_html/wp-content/plugins/
I have created a new file in that directory called ‘cwssa-customizations.php’ with the suggested code. The permissions all look the same for other plugins.
However, it does not appear in the list of plugins in the backend.
The only difference I can see is that I have created the folder and the file using cpanel, however I’m sure that would not be the problem. Any other thoughts I what I can check to get it working or appearing in the ADMIN > plugins section?
I’d be happy to attached the file I created, but no ability to attached a file here…


Tony

  • Support Staff

April 4, 2019 at 5:53 am

For code snippets use something like pastbin and then post the url.

However, it sounds like you’ve skipped the step to add the comment block at beginning of the file as that’s what tells wordpress it’s a plugin, without that it won’t show up in the plugins menu.


Watersafe

April 4, 2019 at 5:24 pm

Ok here is the file. I think I’ve included everything including the original supporting code!
https://pastebin.com/n8E1ZZNT


Josh

  • Support Staff

April 4, 2019 at 7:08 pm

Using Cpanel may be the problem.

What you could do is put a folder on your desktop or another folder on your computer, move the plugin file into that folder. Then compress the folder into a .zip file format.

Then you’ll be able to go to WP > Plugins > Add New, upload the zip file, and WordPress will take care of the rest.


Watersafe

April 6, 2019 at 1:20 am

OK. Resolved the issue by uploading as a zip file via Plugin Upload. Have activated it in the Plugins section, but still not creating accounts for each attendee registered. is doesn’t register for primary attendee.

Are you sure this plugin is still working with the latest version of wordpress? Is anyone currently using this with latest wordpress version?


Josh

  • Support Staff

April 8, 2019 at 6:54 am

Are you sure this plugin is still working with the latest version of wordpress? Is anyone currently using this with latest wordpress version?

Yes, I’ve re-tested the code with the latest WordPress version.

May I ask does the Primary Attendee already have an email address that matches the email address of an existing account?


Watersafe

April 9, 2019 at 5:57 am

No. I have spent so much on this. Can I pay to have some one sort it out for me, and if so how do I arrange this?

My understanding is that this plugin should allow a person to register two attendees and both attendees will receive an email with a link to setup their account password. What I am trying to do is have users sign up for an event and each registrant will also be registered for an online course, which means they will also need to have a registered sign in to access the online course. Hence I need both registrant to receive the details to finalise their account login.


Josh

  • Support Staff

April 9, 2019 at 6:38 am

You could request a quote from codeable.io where they have freelance developers available for custom projects.


Watersafe

April 10, 2019 at 7:08 pm

OK, thanks! Just so I know I am on the right page can you please confirm that the following is how it is supposed to work…
(1) A user goes to the site for the first time and who does not have a pre-existing login account.
(2) They register two attendees for the event, providing different emails for each attendee.
(3) Both ‘attendees’ (who do not already have login details) receive an email with a link to provide a password to associate with the email provided so they now have a login account.

IS THAT HOW I SHOULD BE EXPECTING IT TO WORK?


Josh

  • Support Staff

April 10, 2019 at 8:07 pm

Yes, and you can try the same 3 steps here to see the results:

https://josh.eventespresso.com/events/example-event/


Watersafe

April 10, 2019 at 9:13 pm

Thx Josh. I have narrowed down the problem. When I make my event a free event, it works exactly the way your example works and as it is supposed to!!

However, when I make it a paying event and select ‘Pay by Cheque’ as the option (as I have been doing for testing), it only creates an account for the first attendee. Would that make sense to you?

‘Pay by cheque’ will not be an option I will be offering and users will be required to pay by Paypal or alternate payment gateway at the time of registering, so I am just wondering if the problem I have experienced is simply because the plugin doesn’t work as expected when the user has registered but not been approved as they haven’t paid at the time of registering???


Watersafe

April 10, 2019 at 11:20 pm

Sorry – ignore that last post. Still the same problem…. At my witts end! I’d be keen to use someone who is familiar with the product. Is this something Wisdmlabs would be able to assist with as I am looking to get them to do other work as well???


Watersafe

April 11, 2019 at 5:25 am

Hi Josh. Just saw that I can buy a priority support token from Event Espresso. Is this something I could do to get someone from event espresso to login to my backend and resolve this issue?


Josh

  • Support Staff

April 11, 2019 at 8:38 pm

Generally when the request is something along the lines of “Event Espresso does x, but I need it to do x + y”, it’s not something that we can do with priority support tokens. The reason is because that “also do y” part can take much longer than 30 minutes because Event Espresso was designed and developed to do only x.

I’m not 100% certain what exactly the issue is, because the code I shared with you will make it so additional attendees get a user account, even for paid tickets. Have you tested the code using a real payment gateway yet, or only with the Pay by Check option? You can use a PayPal sandbox account to test the scenario where they pay online. When you use a sandbox account you’ll switch the Event Espresso > Payment Methods > PayPal Settings to Debug Mode On.


Watersafe

April 14, 2019 at 4:28 pm

All sorted. Started from scratch and resolved. Thanks for your assistance.

Viewing 18 reply threads

The support post ‘Primary Attendee soes not recieve email to register’ 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