Support

Home Forums Event Espresso Premium Login requirement confusing users

Login requirement confusing users

Posted: February 29, 2016 at 10:30 am


Karen

February 29, 2016 at 10:30 am

Hello, we tried to implement the users add-on to get users to create accounts so they don’t have to re-fill their info when they sign up for a class, however this is causing lots of confusion, as the users attempting to enter info using a previously used email are being forced to login. However the login page is basically broken and not taking them back to their cart after logging in anyway. It is causing lots of confusion and likely impacting our sales. We attempted to turn off the requirement but apparently it is still blocking users – we turned off “Force Login for registrations?” both at the event level and in the global settings.

How can I make it so a user attempting to register for an event using the same email (already associated with a subscriber account) will not be forced to login?


Josh

  • Support Staff

February 29, 2016 at 10:45 am

You can make it so a user attempting to register for an event using the same email that’s already associated with a subscriber account will not be asked to log in by adding the following code to your site:

https://gist.github.com/joshfeck/1131145859a3fab58f4d

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


Karen

February 29, 2016 at 12:41 pm

Thanks Josh.

Which file to I add it to?

I’m in the directory: /wp-content/themes/canvas/functions

There are 3 files with functions in the file name:

admin-express-functions.php
admin-functions.php
admin-express-functions-deprecated.php

Any guidance as to where in the file it needs to be placed? Not at all familiar with PHP.


Karen

February 29, 2016 at 1:05 pm

Forget it – got help.

Thank you!


Josh

  • Support Staff

February 29, 2016 at 1:09 pm

You should not add it to any of those files. If your site does not have a child theme set up, the quickest option is add the code to a site specific plugin. This guide walks through how to create a site specific functions plugin:

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

Alternatively, you can follow WooTheme’s guide to create a child theme, where you could then add the code to the child theme’s functions.php file:

https://support.woothemes.com/hc/en-us/articles/203105897-How-to-set-up-and-use-a-child-theme


Karen

February 29, 2016 at 1:14 pm

Thanks Josh. I found the functions.php file and added it there.

I was testing it out. I logged off of wordpress and registered for an event successfully using my email. Then I went to register for a couple of new event and it took me to the Registration Checkout page http://www.codingfortreasure.com/registration-checkout/#checkout

However the “proceed to registration” button at the bottom right of the screen is not working at all. I click on it and nothing happens.


Karen

February 29, 2016 at 1:19 pm

This is on Chrome on a Mac – it seems to be working correctly on Safari


Karen

February 29, 2016 at 1:20 pm

Except when I close the browser and come back and attempt to register for another event I’m getting the same issue on Safari as well.


Josh

  • Support Staff

February 29, 2016 at 1:50 pm

I’m seeing some errors when I try to test the registration form on your site. Is the version of the WP User Integration add-on current? If you remove the code that removes the log in requirement does the registration form start working?


Karen

February 29, 2016 at 2:08 pm

The WP User integration plugin is current.

I removed the code the removes the login requirement and now the registration appears to be completely broken. When I am logged in I can’t move forward to registration at all & when I am logged off I get stuck at that same screen:
http://www.codingfortreasure.com/registration-checkout/#checkout

This really worries me as we have marketing out to promote our events and people may be attempting to sign up.


Karen

February 29, 2016 at 2:32 pm

I just deactivated all the EE plugins and then re-activated them; then added the code back in and it seems to be working…I’ll do some more testing and keep you posted.

Thanks for your help!


Josh

  • Support Staff

February 29, 2016 at 3:39 pm

I ran a quick test and it’s looking better from my end too.


Karen

March 2, 2016 at 10:34 am

Seems to be working now thank you.


Josh

  • Support Staff

March 2, 2016 at 12:00 pm

You’re welcome.

The support post ‘Login requirement confusing users’ 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