Posted: August 31, 2016 at 11:11 am
|
Hi! So i am not using the forced login on my events. However at this moment as people register as a returning customer, so with the same e-mail adres as before, the notice arrives about them having an account and asking them to login. I am not sure why this is happening. The only thing i can think of is that i use recaptcha on my normal login page (mysite.com/wp-login.php i mean) I am using all the latest versions of wp/plugins/EE4, so just don’t get what is going wrong. Hope you guys can help me out, as right now some clients need to register with 4 different email adresses when they want to come to 4 different events..:( Cheers! |
|
FYI, i am using some plugins for my normal login pages: Don’t know if it is important, but maybe it is. |
Hi Ruby, The first thing to check is plugin conflicts, and it sounds like you’ve already identified some potential conflicting plugins. So the next step is verify whether those are actually conflicting or not. |
|
|
Hi Josh, Thank you for your message and appologies for the late reply (like always). So i checked all my plugins, and deactivating them didn’t work. It is also strange as everything from event espresso/my theme/the plugins is working correctly and perfect (SO HAPPY WITH THAT) but this small button is not working:( What should i do next? Cheers! |
Can you check for a JavaScript error in the console when you get to the point where the modal should load, but it doesn’t? |
|
|
Hi Josh, Ok after googling what you meant hahah, i did what you said and got the following: Cheers! |
Hi Ruby, It looks like the problem is due to a style setup within your theme. EE adds a class of ‘hidden’ and sets that to However your theme adds an additional style to the class ‘hidden’ – http://take.ms/KjekV It sets When that is removed the login form displays – http://take.ms/rVSYC So basically EE sets the display attribute to block but because the theme has set the visibility to hidden it remains hidden. To fix this you can just override what the theme is doing for that specific element – http://take.ms/V1WQg You can use this code: .ee-admin-dialog-container.hidden { visibility: initial; } We recommend using either the My Custom CSS or Reaktiv CSS Builder plugins to add custom styles such as these. |
|
|
Hi Tony, Thank you for your testing effords and information! So i added the code you told me and now the login panel is visible (SCORE) however, when i then fill in my login details and press enter, it deletes everything i filled in into the form. And nothing has happened. I am not logged in still. So something is still going wrong:( Cheers, |
Do you have reCAPTCHA enabled on the site? Go to Event Espresso -> Registration Form -> Reg Form Settings There you will find the option ‘Use reCAPTCHA’, is that set to yes? Do you have both the Site and Secret Key setup from your reCAPTCHA account? Either way, if its enabled temporarily disable it so I can run another test please. |
|
|
I do use reCaptcha on the site, however it is already disabled in EE Registration form. Might that be the problem? Cheers! |
What plugin are you using for reCaptcha currently? The JS errors being thrown on the page are from reCaptcha scripts that are being added to the login form, digging a little deeper they don’t appear to be from EE. |
|
|
I am using: Adds a Google reCAPTCHA No Captcha checkbox to the login form, thwarting automated hacking attempts Version 1.1.7 | By Robert Peake | View details But it is strange that is causing the error as it is set to “no” at the moment right? |
Where is it set to No? If you mean the setting within EE above then that is EE’s own reCaptcha module that would be included if it was set to Yes. EE loads a reCaptcha form on the registration page, like this – http://take.ms/ozIBu EE will not allow the registration to continue if the reCaptcha is not valid in that case. ‘Login No Captcha reCAPTCHA’ is adding its own version of reCaptcha to the login forms which is completely separate from EE’s setting. In this case the script the plugin adds to the login form is throwing a JS error and breaking the login modal from EE. I’ve just tested this locally and get the same problem with that plugin activated, I’ll check if its possible for us to work around this with a snippet, however currently you can not use that plugin with the EE4 Users add-on. |
|
|
Aaahhh ok, now i understand what you mean! Thanks so far! |
You could try this plugin as an alternative: |
|
|
Hi Josh, Thanks for your message! I have to go out of the office first today, but later today i will definitely try it out! Cheers! |
|
Hi Josh & Tony, So i installed the plugin you mentioned yesterday and tried to test if the login would work now. It did not clear the screen so that is good, however the “loading” sign keeps running in the screen and nothing happens. So yesterday i thought maybe my internet connection wasn’t good enough from where i was working. So i just tried again at home where my internet connection is stable and i got the exact same thing. As you can see on the picture this is the loading sign i see the whole time which keeps on circling. I tried to look at the js console again, like we did before, but there are so many lines, i can’t get them on one print screen.. my js knowledge is kind of zero… So if you guys have any idea’s/could take a look at it again that would be great. Thank you so much for all your help and time so far by the way!! |
Hi Ruby, Can you try clearing your browser’s cache? The reason I ask is because I checked and the log in modal is appearing for me when I try it. |
|
|
Hi Josh, Thanks for your reply. Sorry i mean, the login modal is appearing, but after i fill in the details (username/password) and press enter, then the loading sign appears (the login modal closes) and it keeps on loading something, but nothing happens. Cheers, |
oh OK. So it looks like you’re going to need to disable the other recaptcha plugin, the error that it’s throwing is Failed to load resource: the server responded with a status of 404 (Not Found) http://lanzarote.dinghycoach.com/wp-admin/wp-login.php?g-recaptcha_err=1 |
|
|
You mean the old plugin i had before? That is already deactivated. Only the new one (the one you guys suggested) is activated at the moment. |
No I mean the new plugin. That one is also causing errors. |
|
|
Hi Josh, Ok the new plugin is now also deactivated and now it works correctly (i think) it showed “login succeeded”. So the only thing is now i don’t have recaptcha on the website anymore and am afraid of hackers/spambots etc. Any other suggestions?:( |
September 16, 2016 at 12:25 pm Hi Pim, You may find the Blackhole for Bad Bots plugin helpful: https://wordpress.org/plugins/blackhole-bad-bots/ — |
|
The Blackhole for Bad bots plugin is helpful for keeping spam bots at bay. Since you’re also looking to better secure your site’s WordPress admin, you can do a lot better than a reCaptcha form. This includes: For admin accounts, don’t use a username “admin”. These and more suggestions can be found here: http://www.wpbeginner.com/wp-tutorials/11-vital-tips-and-hacks-to-protect-your-wordpress-admin-area/ |
|
|
Hi Tony & Josh, Thank you for your messages! Haha yeah i know that using “admin” is a no go and using strong passwords is a plus, so we are already doing all that. I will order my SSL certifcate soon as an extra. I will figure something out, at least i know what was causing the problem now, so thanks! I have one more question, related to the user registration proces, but will open a new topic to keep things organized. Thanks again for all the info and your time! Cheers, |
The support post ‘Login button not working on registration page while NOT using forced login’ 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.