Use reCaptcha in an HTTPS Clip-Bucket v2 Installation


Today you will learn how to be able to use the reCaptcha plugin when you have an SSL certificate (your URL starts with https://). If you have just installed the SSL Certificate, you can notice that several features of your site will stop working due to them being non-secured (connecting to non https websites). Follow this article’s instructions only if your site has SSL.

1. Open ./plugins/recaptcha/recaptcha.php

2. Find

function cbRecaptcha(){ global $publickey, $privatekey, $error; return recaptcha_get_html($publickey, $error);}

and replace it with

function cbRecaptcha(){ global $publickey, $privatekey, $error; return recaptcha_get_html($publickey, $error, true);}

3. Save & Upload.

What we just did was to send the recaptcha_gen_html function a third parameter that specifies whether or not we are using SSL. And well, that’s it. You can go ahead and test it now and if for any reason you are having trouble, please do not hesitate to contact me by leaving a comment down.

Best Regards,


Looking for quality Clip-Bucket hosting? Try out Arvixe and you won’t be disappointed.
Tags: , , , , , , , , , , , , , , , | Posted under ClipBucket | RSS 2.0

Author Spotlight

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I'm the Liaison between Arvixe and Clip-Bucket, so anything you need regarding Clip-Bucket or any particular computer-related subject you need, let me know so I can assist you.

Leave a Reply

Your email address will not be published. Required fields are marked *