Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
3 - 2 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Captcha & GD2 TrueType/Freetype Support
by conas on 2009/2/6 9:22:06

Tried that and got a blank page.What would be the solution for me?Cause now no one can register on my site.Had to redo the whole site after I installed 2.3.2b with protector, got hacked bigtime because of that script in protector modul.That was a bad idea, who ever put that one into xoops.
Re: Captcha & GD2 TrueType/Freetype Support
by conas on 2009/2/6 9:15:38

I'm getteing the same thing "Invalid confirmation code!"
and after refresh might let u register might not.
Don't have in pref the turn of captcha either.Don't have XOOPS rootpath.U guys think just get ridof captcha alltogether?
Re: Captcha & GD2 TrueType/Freetype Support
by wishcraft on 2009/1/27 8:31:18

The alternative which I think should be used is a method where the http://www.recaptcha.net/ is used and allowed to have a config in XOOPS to set your public and private key.

As this also has audio prompt for disabled people that do not used a telephany keyboard.

Here is how it is done in the interum:

All paths based on XOOPS_ROOT_PATH

Copy recaptchalib.php to /class

Now edit your register.php file as per the following instructions:

le="color: #000000"><?php echo "<form action='register.php' method='post'>"; /* xoops_load("XoopsFormCaptcha"); $cpatcha = new XoopsFormCaptcha(); echo "<br />".$cpatcha->getCaption().": ".$cpatcha->render(); */ require_once(XOOPS_ROOT_PATH.'/class/recaptchalib.php'); $publickey = "..."; // you got this from the signup page echo "<br />".recaptcha_get_html($publickey);


Then change the final signup stage (finish) to:

le="color: #000000"><?php /* Rem this part of the code from runtime xoops_load("captcha"); $xoopsCaptcha = XoopsCaptcha::getInstance(); if( !$xoopsCaptcha->verify() ) { $stop .= $xoopsCaptcha->getMessage()."<br />"; } */ require_once(XOOPS_ROOT_PATH.'/class/recaptchalib.php'); $privatekey = "..." // Get from signup page; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if( !$resp->is_valid ) { $stop .= "The reCAPTCHA wasn't entered correctly. Go back and try it again." . "(reCAPTCHA said: " . $resp->error . ")"."<br />"; }
Re: Captcha & GD2 TrueType/Freetype Support
by ghia on 2009/1/18 3:13:50

There is also a text mode selectable in the config.php .
Re: Captcha & GD2 TrueType/Freetype Support
by Runeher on 2009/1/16 9:42:29

Very much needed as I have these problems with a few hosting providers... A fix for this would be appreciated!!!

On one occation I even had to remove captcha completely as turning it off in config didn't work...

Who's Online

461 user(s) are online (409 user(s) are browsing Support Forums)


Members: 0


Guests: 461


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits