New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reCaptcha: Add concept of Google reCaptcha field #55
base: develop
Are you sure you want to change the base?
Conversation
👍 Love the idea of disconnecting captcha from core osTicket. I think the system should gracefully skip fields added by defunct plugins. |
Fantastic! |
IS it still possible to use this with V1.10 ? I've copied the plugin folder over but it does not show up in form after I enable it. I get the title and am able to add it to a form but the captcha doesn't show Any help you could offer would be much appreciated. |
Same as CelticWebSolutions - is there any support for 1.10 (release) possible? |
Ok, so I upgraded the code to remove the dependency on the third-party library. It uses the API 2.0 now. To use it, you'll need to enable the plugin, and configure it with your public/private key pair. You can register for one at https://www.google.com/recaptcha/intro/, use the "Get reCAPTCHA" link. After registering a site, you'll get the public key from the |
Thanks so far! Now this happens: I also can edit the settings (dark/light, sound/picture...). Any idea what went wrong? ** EDIT ** Works perfectly now! |
Hi, |
What is the status of the plugin? Could this please be put on the webpage if it works fine? Please provide this package via .phar, maybe publish as beta if not stable/tested yet. If it works it ain't stupid. :) Thanks! Found a bug:
|
@DerDanilo if you want this feature I would recommend that you install the plugin and see if it works. The author is rarely ever around anymore. So if people test it and it works, I will pressure the devs to add it to the webpage. |
I just did, it works so far, but as shown in the screenshots it gives the recaptcha in the ticket details (nobody needs them anymor after submit) and the error I descripted above. The error should be easy to fix, it the code just needs to know to stay visible until successfully submited. |
@protich can this be merged with base yet? :) |
I have this plugin running on my 1.10.1 setup, works fantastic, installed following the instructions above without a hitch. The current captcha in OSticket is completely ineffective, Please merge this into the base branch. |
The plugin works great. The only issue is that the agents see the string of data with the submitted form. There has to be another way to hide the data from the agents. |
i dont understand how to install the php files? Can someone tell me where to download the phar file? Or how to install it? |
This hasn't been released as a .phar file or it would be at osticket.com/download. You have to download the source, hyrdrate it, and then apply the changes in this pull if you want to use it. See Installing and Building plugins at the base of this repo. |
Would there be any particular reason why this doesn't stop the user from signing up even if they don't submit the captcha? If there are other errors in the form (password, bad e-mail, etc.) it shows the "Captcha is required" as well as the other user or password errors. However, if the rest of the form (Contact Information) is filled out correctly, it does not stop the user from submitting the form. I've checked and the settings on the field are correct: "For EndUsers Only, Required" I can't find where there might be a setting that I'm missing. |
I have installed this and it works, the only issue I can see is when select General Enquiry from the dropdown on a new ticket, it does not show but if then select report a problem from the dropdown it shows and then go back to general enquiry and it shows, the problem is it don't seem to show on default when selecting a topic from the dropdown Has anyone had this issue? I am using osticket version 1.10.1 |
Any idea if this is going to be implemented? Google Recaptcha support would be great. |
Hi @DerDanilo and @theking81 Just set the field configuration as ... and it will not be visible in the ticket details. The other problem still exists, that the widget is not render again if the form validation fails. Greets |
This plugin was never merged nor officially released. Also, the last time it saw updates was circa 2017....so it's more than likely this no longer works and requires some updates. Cheers. |
Hi @JediKev I've now a working code, also when the form validation fails. By the way, we'll use this field configuration: If you are interested to release this plugin officially, I'll provide a merge request. If not, I will not spend time on it. Greets |
Hi @Dav1dNL I've now made it public under https://github.com/ffhs/osticket-plugin_field_recaptcha. Greets |
Outstanding
CSS
Screenshots
When installed and enabled, adds a new field type to the "Verification" fields category
Plugin has a configurable reCaptcha theme
Add it to the "Contact Information" form for new ticket and registration CAPTCHA support
The included recaptcha-lib includes translations out-of-the box