Osclass Support Forums

Osclass theme support => Stela Osclass Theme => Topic started by: fabgan on January 14, 2018, 02:07:43 PM

Title: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: fabgan on January 14, 2018, 02:07:43 PM
I already know the key to the site and the secret key.
I need to know where to paste the snippets, codes provided by Google.
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: MB Themes on January 14, 2018, 03:12:28 PM
Just install nocaptcha recaptcha plugin, nothing else is required.
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: fabgan on January 14, 2018, 06:48:15 PM
Just install nocaptcha recaptcha plugin, nothing else is required.

I installed and configured noCaptcha reCaptcha plugins but this problem remains. Every time you try to send a message from the contact form by clicking on the link at the bottom of the site, fill in the various fields, name, email, subject, message, prompt user confirmation flag click on send message but the message is not sent .
Everything remains still on the following screen with the spinning rod ... but nothing.
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: MB Themes on January 14, 2018, 06:50:13 PM
Please post your url.
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: fabgan on January 14, 2018, 07:40:20 PM
Please post your url.

https://www.googledirectory.it/
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: MB Themes on January 14, 2018, 08:20:33 PM
@fabgan
It's throwing error:
Mixed Content: The page at 'https://www.googledirectory.it/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.googledirectory.it/contact'. This request has been blocked; the content must be served over HTTPS.

And it's strange, as it is telling that endpoint has http:// protocol, but you can see in source it is https:// protocol. Cannot reproduce on demo.
Can you PM me login to your FTP?
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: fabgan on January 14, 2018, 09:24:38 PM
@fabgan
It's throwing error:
Mixed Content: The page ....

just sent PM
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: MB Themes on January 14, 2018, 10:44:56 PM
Can you try to disable google adsense?
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: Anonymous on January 15, 2018, 06:20:12 AM
hi mb theme,

i have few suggestion,

i have noticed page rendering taking time, and individual theme creating 76 request with just one plugin favourite item,
you should compress js and css into one file,
and i know Eliminating render-blocking JavaScript and CSS in above-the-fold content isnt possible, due to core js calling, ;D

so, pls minify and reduce few request :)
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: MB Themes on January 15, 2018, 09:07:44 AM
@Anonymous
What is your URL?
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: MB Themes on January 15, 2018, 10:06:00 AM
@fabgan
It seems to be issue with your ssl certificate. It's not possible to find too much information regarding similar problem, but contact page is allright in terms of https and ajax does not like it.

You have 2 options:
- contact your hosting provider and describe issue, but they will probably tell you they are all right and everything is perfect on their side (depends on hosting)
- disable ajax submission of forms in theme settings
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: fabgan on January 15, 2018, 01:58:41 PM
Can you try to disable google adsense?

I do not use google adsense
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: fabgan on January 15, 2018, 02:19:58 PM
@fabgan
It seems to ....
A little while ago from the control panel of my hosting I deactivated the SSL certificate. The previous problem seems to be solved but in the same module after clicking on the send message button the following screen appears that I attach to the post.
For every message you try to send, the error appears:
"The file you are trying to upload does not have a valid extension".
I want to clarify that I'm not trying to upload any files.
The same error appears if you try to upload any file, pdf, doc, txt, etc ..
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: MB Themes on January 15, 2018, 02:32:55 PM
@fabgan
I experience same issue, go to settings > general and disable " Allow people to attach a file to the contact form"

It seems to be not working now in osclass.
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: fabgan on January 15, 2018, 05:37:43 PM
perfect, now disabling SSL, the form for sending messages from the site seems to work properly.
If you enable SSL, however, no is blocked as before.
To use SSL and the message module at the same time, how can I do what you indicated above?
Disable ajax submission of forms in theme settings.
Title: Re: how to integrate rechaptcha 2 in the graphic theme stela?
Post by: MB Themes on January 15, 2018, 08:10:08 PM
@fabgan
Go to oc-admin > theme settings (new icon of theme) > find "ajax form submission" and disable it.
Only change is that when message is sent, seller is redirected to contact page in same way as in any other theme (default behaviour).