News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

reCAPTCHA for SMF

Started by 青山 素子, December 28, 2007, 12:16:40 PM

Previous topic - Next topic

Nibogo

spanish_latin:

//reCAPTCHA for SMF
$txt['recaptcha_configure'] = 'Sistema de Verificación reCAPTCHA';
$txt['recaptcha_configure_desc'] = 'Usar el sistema de Verificaci&oacute; reCAPTCHA. No tienes una llave para reCAPTCHA? <a href="http://recaptcha.net/api/getkey?app=recaptcha_for_smf"> Consigue tu llave para reCAPTCHA aqui</a>.';
$txt['recaptcha_enable'] = 'Usar el sistema de verificaci&oacute;n reCAPTCHA';
$txt['recaptcha_enable_desc'] = '(Esto reemplaza el sistema de verificaci&oacute;n visual con reCAPTCHA)';
$txt['recaptcha_theme'] = 'Tema para reCAPTCHA';
$txt['recaptcha_theme_clean'] = 'Limpio';
$txt['recaptcha_theme_blackglass'] = 'Cristal Negro';
$txt['recaptcha_theme_red'] = 'Rojo';
$txt['recaptcha_theme_white'] = 'Blanco';
$txt['recaptcha_public_key'] = 'reCAPTCHA llave publica';
$txt['recaptcha_private_key'] = 'reCAPTCHA llave privada';
$txt['recaptcha_no_key_question'] = 'No tienes una llave para reCAPTCHA?';
$txt['recaptcha_get_key'] = 'Consigue tu llave para reCAPTCHA aqui.';
 


spanish_latin-utf8:

//reCAPTCHA for SMF
$txt['recaptcha_configure'] = 'Sistema de Verificaci&oacute;n reCAPTCHA';
$txt['recaptcha_configure_desc'] = 'Usar el sistema de Verificaci&oacute; reCAPTCHA. No tienes una llave para reCAPTCHA? <a href="http://recaptcha.net/api/getkey?app=recaptcha_for_smf"> Consigue tu llave para reCAPTCHA aqui</a>.';
$txt['recaptcha_enable'] = 'Usar el sistema de verificaci&oacute;n reCAPTCHA';
$txt['recaptcha_enable_desc'] = '(Esto reemplaza el sistema de verificaci&oacute;n visual con reCAPTCHA)';
$txt['recaptcha_theme'] = 'Tema para reCAPTCHA';
$txt['recaptcha_theme_clean'] = 'Limpio';
$txt['recaptcha_theme_blackglass'] = 'Cristal Negro';
$txt['recaptcha_theme_red'] = 'Rojo';
$txt['recaptcha_theme_white'] = 'Blanco';
$txt['recaptcha_public_key'] = 'reCAPTCHA llave publica';
$txt['recaptcha_private_key'] = 'reCAPTCHA llave privada';
$txt['recaptcha_no_key_question'] = 'No tienes una llave para reCAPTCHA?';
$txt['recaptcha_get_key'] = 'Consigue tu llave para reCAPTCHA aqui.';
 

Sudhakar Arjunan

Quote from: Motoko-chan on November 03, 2008, 12:29:10 PM
Quote from: A.SK on November 03, 2008, 11:54:19 AM
One bad thing is , i dont know how to fix the earlier problem.

The usual issue is that you inserted code or other space at the top of your file. This corrupts the image when it is displayed. If the problem site is the one in your profile, you have a blank line at the top that is likely causing the problem. For further support on the issue, please open a topic in our support board.


I have found that, the User Cp mod had made default captcha to broke because of some white spaces in the code.

Now i was using the old default captcha only. But sometimes, i fot the recaptcha error. Even though its not used.

http://sitename.itacumens.com/index.php?action=register2
Apply Filter: Only show the errors with the same message
8: Undefined index: recaptcha_enabled
Apply Filter: Only show the errors from this file
File: /home/sitename/public_html/discuss/Sources/Subs-Editor.php
Line: 1500
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

infocom

Sometimes I enter the wrong letter here and there in the words and it STILL registers me.

If I enter words totally wrong it picks up on this but when I hit Back to re-enter the right text I get the message "Sorry, you're not allowed to register multiple accounts at the same time from the same computer." - so this SMF feature is making it hard for me test it, AND will not allow people to correct the words if they make a mistake.

青山 素子

If you read how reCAPTCHA works, you will realize why it lets you. The two words consist of a known word and an unknown word. You must get the known word correct or it will fail. The unknown word is quite unknown, so it won't know if you messed up. Once enough people agree on the unknown word it then goes into rotation as a known word. There is no way to tell which is which short of finding out by accident like you have.

The words shouldn't be corrected if you made a mistake, you'll get completely new words. It's the way that service works. For the multiple-registration part, report that in the main support board.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


vulcan59

#64
Hi all,

I installed reCaptcha and today in the error log I saw the following:

QuoteUndefined index: recaptcha_enabled
File: /home/content/html/sforum/Sources/Register.php
Line: 137

I then had a look through the files to see if I made any errors and I couldn't find any. The only mod I've installed is the SMF 1.1.7 security patch update and the Add IP2Location  to Track IP mod and no other.

I note that there is another person here having the same problem (page 2).

Can anyone shed some light on the issue?

Thanks and regards.

青山 素子

It's just a small coding error. Enable and disable reCAPTCHA to get rid of it for right now.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


vulcan59

#66
Thanks Motoko-chan.
After I disabled recaptcha I cleared the forum log and after I enabled it again I am seeing the following errors in the log:-

Quote8: Undefined index: recaptcha_get_key
File: /mydomain/html/forum/Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 700

Quote8: Undefined index: recaptcha_no_key_question
File: /mydomain/html/forum/Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 700

Quote8: Undefined index: recaptcha_private_key
File: /mydomain/html/forum/Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 693

Quote8: Undefined index: recaptcha_public_key
File: /mydomain/html/forum/Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 686

Quote8: Undefined index: recaptcha_theme_white
File: /mydomain/html/forum/Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 681

Quote8: Undefined index: recaptcha_theme_red
File: /mydomain/html/forum/Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 680

Now this goes on for two pages.

Now what???


vulcan59

Apologies, now I checked again a few minutes later and there are no more errors anymore!!!! ;D

I am hoping that that is the last time I see that error.

Thank you once again.

2072

I got a problem with my forum theme, it's dark and the reCAPTCA input field is not set to a correct style and so you can't see what you type...

here is my site: hxxp:www.wow-horizon.org/smf/index.php?action=register [nonactive]

another unrelated issue I noticed with GOOGLE Chrome: when you enter a wrong recaptcha and hit 'return' all the fields except for the passwords keep there values and it seems that the hidden challenge code field too... as a result you will never be able to type a matching code since it will be always compared to the first... unless you refresh the page. (I don't know if it's related to Chrom or to your implementation of reCAPTCHA)

青山 素子

Quote from: 2072 on November 22, 2008, 01:45:57 AM
I got a problem with my forum theme, it's dark and the reCAPTCA input field is not set to a correct style and so you can't see what you type...

Add the following style rule to your theme:


.recaptchatable input {
color: #ffffff;
}



Quote from: 2072 on November 22, 2008, 01:45:57 AM
another unrelated issue I noticed with GOOGLE Chrome: when you enter a wrong recaptcha and hit 'return' all the fields except for the passwords keep there values and it seems that the hidden challenge code field too... as a result you will never be able to type a matching code since it will be always compared to the first... unless you refresh the page. (I don't know if it's related to Chrom or to your implementation of reCAPTCHA)

Sounds like a Chrome bug to me. Try the test on their site and see if you get the same behavior.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


2072

in fact I had to add !important ('color: #fff !important;')  to the 'input' color stylesheet of my smf default theme, strange, I couldn't find what was setting the input text color to black...

QuoteSounds like a Chrome bug to me. Try the test on their site and see if you get the same behavior.

nope it's working there but it's not the same since it's using dynamic script instead of a HTTP POST...

I've added this to register.template.php:


var RecaptchaOptions = {
theme : \'', empty($modSettings['recaptcha_theme']) ? 'clean' : $modSettings['recaptcha_theme'] , '\',
lang : \'fr\',
tabindex : \'', $context['tabindex'] , '\',
};


(I've added the lang and the tabindex entries,)
You should implement this and change 'fr' to the correct language depending on user settings :)

vulcan59

Hi Motoko-chan

Okay this morning I had a person register and here is the error log that I saw:

Quote8: Undefined index: recaptcha_enabled
File: /mydomain/html/forum/Sources/Register.php
Line: 179
?action=register2

Quote8: Undefined index: recaptcha_enabled
File: /mydomain/html/forum/Sources/Register.php
Line: 179
?action=register2

and

Quote8: Undefined index: recaptcha_enabled
File: /mydomain/html/forum/Sources/Register.php
Line: 137
?action=register

So now what do I do? Any suggestions?

青山 素子

What version of SMF are you using? This weekend is very busy, but I'll try to get in a fix for it.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


vulcan59

Quote from: Motoko-chan on November 22, 2008, 09:40:08 PM
What version of SMF are you using? This weekend is very busy, but I'll try to get in a fix for it.

Version 1.1.7 and SMF 1.1.7 update patch and AddIP2 location mods installed and no other mods. Also using ApolloBB theme.  :'(

TeaTephi

Hi Motoko-chan
Please don't Forget about me :)
Patiently waiting
Tea
SMF 2.0.2 | TinyPortal 1.107 Veterans day theme Opera 11.50
Mods:Profile Comments.....AEVA Media 2.10.....Activity in profile.....join-reason....Bookmarks 2.3.....SA Chat    Beta 4-1 Rev43....Tapatalk SMF 2.0 RC4/RC5/Final Plugin    3.0.1.....SMFPacks Likes Lite Mod

Thank you guys for all your support and development that you do.  I love my forum, and am so thankful to have a place to ask my questions.  I do love SMF 2.0 it's smoother and all my members love it!

青山 素子

TeaTephi, I didn't forget about you. This flood of support just came at a really bad time for me. I have a lot going on at work (I'm a sysadmin and some of my work has to be done outside the office hours too), have new duties as a project manager here, and have a few other projects to support on top of some family issues. I'm really trying to fit stuff in.

Right now, bed. When I wake up, I'll see how quickly I can go through the support issues posted here.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


青山 素子

TeaTephi, please try the attached.

For everyone else waiting, I'll try to get to you as soon as I can. This weekend turned from a quiet one to me needing to do a bunch of family stuff.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


TeaTephi

Motoko-chan you did it!

It works great!  Even my googlebots mod is working now!  You must have the magic touch.

Thanks a million.  Hope your work load lightens up for you.

Tea
SMF 2.0.2 | TinyPortal 1.107 Veterans day theme Opera 11.50
Mods:Profile Comments.....AEVA Media 2.10.....Activity in profile.....join-reason....Bookmarks 2.3.....SA Chat    Beta 4-1 Rev43....Tapatalk SMF 2.0 RC4/RC5/Final Plugin    3.0.1.....SMFPacks Likes Lite Mod

Thank you guys for all your support and development that you do.  I love my forum, and am so thankful to have a place to ask my questions.  I do love SMF 2.0 it's smoother and all my members love it!

Zepia1

I just installed this mod, got my keys and everything seems fine, but people can create new accounts, even though they type the captcha right it shows that it's not right, I even tried to do one myself and it didn't work!

Any help on this?

TeaTephi

Did you get the key?  You have to go to their website and get a long number/letter public key, and put it in your admin settings under registration.
SMF 2.0.2 | TinyPortal 1.107 Veterans day theme Opera 11.50
Mods:Profile Comments.....AEVA Media 2.10.....Activity in profile.....join-reason....Bookmarks 2.3.....SA Chat    Beta 4-1 Rev43....Tapatalk SMF 2.0 RC4/RC5/Final Plugin    3.0.1.....SMFPacks Likes Lite Mod

Thank you guys for all your support and development that you do.  I love my forum, and am so thankful to have a place to ask my questions.  I do love SMF 2.0 it's smoother and all my members love it!

Advertisement: