Tagged: ReCAPTCHA
-
AuthorPosts
-
September 19, 2019 at 4:59 pm #1139972
I just updated to 4.6.2 and am concerned about the contact form behavior. If I go into incognito mode, the contact form works fine.
If I am in regular mode, I get this message:
This contact form is deactivated because you refused to accept Google reCaptcha service which is necessary to validate any messages sent by the form.It is not practical for me to tell my users to clear their cookies – most do not know how to do this — and that seems like the solution I’m seeing the most.
Is this a bug or is there a solution that doesn’t require users of the sites to clear cookies?Thanks!
RobSee it here: Marin Real Estate Blog
September 20, 2019 at 2:08 pm #1140221Hey goldengate415,
I rechecked the code and logic again.
This message can only appear when cookie consent messages are enabled. See file framework\js\conditional_load\avia_google_recaptcha_front.js line 27ff.
The link above is to a site with disabled cookie consent. The check if cookie consent is enabled and if to opt in/opt out is done with classes in html tag.
Did you have enabled cookie consent and deactivated it later – could be that your browser had cached the old page and you did not accept the service?
Do you have a staging site where I can try to reproduce the problem.
Best regards,
GünterSeptember 20, 2019 at 5:56 pm #1140284Hi Gunter!
Thanks for responding!
Since we do not have any EU visitors, I have not yet implemented GDPR but I likely will in the future. So, I have never turned on and off cookie consent. This all started when I upgraded from 4.5.2? to 4.6.2 (I skipped 4.6 and 4.6.1).
I am happy to provide login details for my staging site below in private content. This morning when I go to my site it looks fine, but it was strange that the first time I went to it on a new computer since upgrading it gave me that message.
Thanks,
RobSeptember 22, 2019 at 5:42 am #1140534There’s definitely a bug present we need to get rid of.
Today I went to my site on a computer where i had cleared the cache a few days ago, and my site is again displaying that message. I do not have any GDPR or privacy functions set and never have.
Important: The issue is with the Enfold Mailchimp Newsletter Signup widget, which I don’t even recalling having a Recaptcha in the past. If I clear the cache on my Chrome browser, it temporarily fixes the issue, but then it returns. I am not using Enfold for the contact form in the footer of my site.
Hoping Gunter and others can look at this soon.
Thanks,
RobSeptember 23, 2019 at 3:00 pm #1141024Hi,
Sorry for the late reply.
I checked again your live site and on your staging site – Chrome and FF – and it works for me. Also checked the life site on my android phone. Both forms have the submit buttons.
Enfolds mailchimp is not connected to reCaptcha.
Where do you see the message – in both mailchimp forms or in the contact form in footer?
And is the sumbit button missing or visible?Can you reproduce it on your staging site? If yes I can try to add some debugging code.
In privat content a version that includes a fix for the message – though I’ve absolutly no idea why this part of code is called at all (line 54ff in framework\js\conditional_load\avia_google_recaptcha_front.js)
Can you try if this fixes the problem?
Keep a copy of 4.6.2 for fallback, clear server and browser cache.
Best regards,
GünterSeptember 23, 2019 at 4:54 pm #1141057Hi Gunter!
Thanks for looking into this.
Today it seems to be working – I don’t see the message.
The message only appears in the Enfold sidebar widget on the blog pages. “Please Subscribe to My Newsletter Here:”
and yes, the button still exists even when the error message is displayed.
You can see the sidebar on this page:
Marin real estate blogI do not see it in the contact form in the footer, only in the Enfold widget on sidebar. I’m pretty sure I am using a different real estate plugin for the contact form in the footer.
If and when the problem reappears I’ll try the code… right now there’s nothing to fix since it’s an intermittent issue. Maybe there’s some issue with the server side caching (WP Engine) and this widget?
Many thanks,
RobSeptember 23, 2019 at 5:13 pm #1141064Hi,
This sounds to be related to css then, when the button is still existing (my code removes the submit button to prevent users hacking the contact form when reCaptcha is disabled by cookie).
Could be something with file compression and server side caching (and also browser cache) getting mixed up.
In case you want to test the new version – I had to upload a fixed version – so please download this and ignore the first one.
Best regards,
GünterSeptember 24, 2019 at 5:38 pm #1141473Hi,
FYI: In 4.6.3 I added js code to remove the “disabled” message HTML element for mailchimp forms – so it cannot be displayed any longer.
Best regards,
GünterSeptember 24, 2019 at 5:46 pm #1141480Hi Gunter!
Wow, I am honored, can you name 4.6.3 after me?? HAHAHAHAHAH!Thanks so much for this. Joking aside, I really appreciate all your help. (now if you could add Youtube lightbox functionality on desktop….) :)
Best,
RobSeptember 25, 2019 at 9:58 am #1141711Hi,
Glad if we can help you.
I added the youtube to our dev repo.
Best regards,
GünterSeptember 25, 2019 at 11:49 am #1141754Hi,
What exactly is the problem with youtube?
I added our example links to a youtube and vimeo video in an a tag in a textblock and it opens in lightbox and you can play it.
Best regards,
GünterSeptember 25, 2019 at 7:06 pm #1141945Hi Gunter!
Here’s a support thread where we are discussing it:
https://kriesi.at/support/topic/open-youtube-video-in-lightbox-3/#post-1141911Basically, the Video element won’t launch lightbox for youtube on desktop, only on mobile, so you have to do a workaround using the photo element instead of video element, make a photo with a fake play button to tell people it’s a video, then do a custom link.
Seems like either having the video launch in lightbox on desktop as default or providing a check box option on the element would be a lot better?
Thanks much!
RobSeptember 26, 2019 at 1:47 pm #1142265Hi,
I joined the topic https://kriesi.at/support/topic/open-youtube-video-in-lightbox-3/#post-1142264.
Best regards,
Günter -
AuthorPosts
- You must be logged in to reply to this topic.