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

Bernard T.

While searching for the rest of the strings to translate (yes, "great" documentation from guys at reCAPTCHA team  :( ) I found this one, it lists all translations, hope it helps You too: http://groups.google.com/group/recaptcha/browse_thread/thread/6993d80198797333
://#  Orion | Federation Servers | Info Sector

OutofOrder

#201
Thanks for this mod.
I translated this to spanish, since it's not too much and my forum needed it anyway.
Add at the end of Modifications.spanish.php

//reCAPTCHA for SMF
$txt['recaptcha_configure'] = 'Sistema de Verificacón reCAPTCHA';
$txt['recaptcha_configure_desc'] = 'Usar el Sistema de Verificación reCAPTCHA. &iquest;No tienes una clave para usar reCAPTCHA? <a href="http://recaptcha.net/api/getkey?app=recaptcha_for_smf">Obt&eacute;n tu clave reCAPTCHA aqu&iacute;</a>.';
$txt['recaptcha_enabled'] = 'Usar el Sistema de Verificaci&oacute;n reCAPTCHA';
$txt['recaptcha_enable_desc'] = '(Esto reemplazar&aacute; el sistema de verificaci&oacute;n visual interno por reCAPTCHA)';
$txt['recaptcha_theme'] = 'Visualiaci&oacute;n de reCAPTCHA';
$txt['recaptcha_theme_clean'] = 'Limpio';
$txt['recaptcha_theme_blackglass'] = 'Vidrio Negro';
$txt['recaptcha_theme_red'] = 'Rojo';
$txt['recaptcha_theme_white'] = 'Blanco';
$txt['recaptcha_public_key'] = 'Clave P&uacute;blica reCAPTCHA';
$txt['recaptcha_private_key'] = 'Clave Privada reCAPTCHA';
$txt['recaptcha_no_key_question'] = '&iquest;No tienes una clave de reCAPTCHA?';
$txt['recaptcha_get_key'] = 'Obt&eacute;n tu clave de reCAPTCHA aqu&iacute;.';


Also, it would be nice if there was a bot-check when posting messages.

ɔɔɔɔɔɔuɥoɾ

Thanks for the great mod :)

Im getting this error in the error log.

Quote
http://www.requestiso.com/index.php?action=register2
8: Undefined index: recaptcha_response_field
File: *********/*****/*****/Sources/Subs-Editor.php
Line: 1462

Any Idea's thanks in advanced


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

青山 素子

Have you made sure to install the most recent version of this modification?
Motoko-chan
Director, Simple Machines

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


ɔɔɔɔɔɔuɥoɾ

Well I only see one available for download, so im pretty sure its the latest version


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

青山 素子

Looks like non-authors can only see the "active" package. If there is an undefined index in 0.9.6, and in one of the supported themes, I'll need to look into it. I thought all had been cleared in the latest release.
Motoko-chan
Director, Simple Machines

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


FragaCampos

Lately i've been receiving the following log error:

8: Undefined index: recaptcha_response_field
Ficheiro: /xxxx/Sources/Register.php
Line: 190

I wonder if it's the same error mentioned by johncccccc...

青山 素子

Probably. I'll look into it. I know it's noisy, but it's not a huge concern, it should only happen when the reCAPTCHA box isn't filled in. That would mean a failed registration attempt by a bot.
Motoko-chan
Director, Simple Machines

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


FragaCampos

Quote from: Motoko-chan on August 11, 2009, 07:58:09 PM
Probably. I'll look into it. I know it's noisy, but it's not a huge concern, it should only happen when the reCAPTCHA box isn't filled in. That would mean a failed registration attempt by a bot.

That's what i thought.
Still, if you can solve this in a next version, it would be nice ;D

ltdeta

SMF 1.1.10

mod works fine but i have one problem

the background from the inputbox is black and the entred text too
only if i mark the typed text it is white (and readable)


青山 素子

It's because of the stylesheet reCAPTCHA itself uses. If you read back in this topic, you'll find the solution for that particular issue.
Motoko-chan
Director, Simple Machines

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


ltdeta

thanks,
i copy the css definition into the style.css now it works

* White text on black background */
#recaptcha_response_field
{
  background-color: #000000;
  color: #ffffff
}

/* Black text on white background */
#recaptcha_response_field
{
  background-color: #ffffff;
  color: #000000
}

stageducky

When I tried to install this mod. I get this error:

Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


Execute Modification ./Themes/default/Register.template.php Test failed

Version of SMF is 1.1.10
I don't have another spam mod install.

Mod Name Version 
1. Change_All_Subjects 1.0  [ Apply Mod ] [ List Files ] [ Delete ] 
2. Colorized Membergroups 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
3. SMF Gallery Lite 1.8.3  [ Apply Mod ] [ List Files ] [ Delete ] 
4. NoFollow All Links 1.0  [ Apply Mod ] [ List Files ] [ Delete ] 
5. Bookmarks 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
6. SMF 1.0.16 / 1.1.8 Update 1.0   [ List Files ] [ Delete ] 
7. RSS Feed Icon 1.1  [ Apply Mod ] [ List Files ] [ Delete ] 
8. MCLegendII 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
9. Easy Edit Meta Data 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
10. Referrals Mod 2.0.1   [ Uninstall ] [ List Files ] [ Delete ] 
11. SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update 1.0   [ List Files ] [ Delete ] 
12. Admin Lock Thread 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
13. Contact Page 1.1  [ Apply Mod ] [ List Files ] [ Delete ] 
14. Colorize Boards 2.2   [ Uninstall ] [ List Files ] [ Delete ] 
15. Language Drop 1.0  [ List Files ] [ Delete ] 
16. SMF 1.0.14 / 1.1.6 Update 1.0   [ List Files ] [ Delete ] 
17. Auto Embed Video Clips 2.2   [ Uninstall ] [ List Files ] [ Delete ] 
18. SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
19. Copy Topics 1.3   [ Uninstall ] [ List Files ] [ Delete ] 
20. Social Bookmarks 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
21. reCAPTCHA for SMF 0.9.6  [ Apply Mod ] [ List Files ] [ Delete ] 
22. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0   [ List Files ] [ Delete ] 
23. SMF 1.0.14 / 1.1.6 Update 1.0   [ List Files ] [ Delete ] 
24. Add Sitepreviews 1.31   [ Uninstall ] [ List Files ] [ Delete ] 
25. SMF Links 1.6.7  [ Apply Mod ] [ List Files ] [ Delete ] 
26. Auto Email Inactive Ordinary Users 1.6   [ Uninstall ] [ List Files ] [ Delete ] 
27. Admin Notepad 1.0  [ Apply Mod ] [ List Files ] [ Delete ] 
28. Ad Managment 2.3   [ Uninstall ] [ List Files ] [ Delete ] 
29. SMF 1.0.15 / 1.1.7 Update 1.0   [ List Files ] [ Delete ] 
30. nCode Image Resizer 1.0 

Anyone can help me to install this without manual fixes? Thanks

青山 素子

One of those modifications likely modified the registration page. You can force install, but you then need to make the changes manually to that one file.
Motoko-chan
Director, Simple Machines

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


fmsllc

thanks for this. I use to use phpbb and I was hacked, so I appreciate all of the active participation and support by everyone who uses SMF, regardless of what our sites are about. Now if I could just figure out how to set up my server securely so I can allow folks to upload avatars and attachments without worrying about hacker attacks. I also run wordpress blogs on my server.

青山 素子

Quote from: fmsllc on September 09, 2009, 04:43:31 PM
Now if I could just figure out how to set up my server securely so I can allow folks to upload avatars and attachments without worrying about hacker attacks. I also run wordpress blogs on my server.

Can't help on WordPress (update to 2.8.4 if you haven't already) security, but just a quick off-topic response to your question.

For uploads and avatars, the safest thing is to move your attachments directory outside your web root. SMF can still read and display the files, but nobody can access them directly. This does trade off a little speed and load (SMF has to do all the file displaying) for security.

Also see our online manual, specifically the section: How do I make my forum safer against hacker attacks?
Motoko-chan
Director, Simple Machines

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


plusev

Quote from: ltdeta on August 21, 2009, 11:15:07 AM
thanks,
i copy the css definition into the style.css now it works

* White text on black background */
#recaptcha_response_field
{
  background-color: #000000;
  color: #ffffff
}

/* Black text on white background */
#recaptcha_response_field
{
  background-color: #ffffff;
  color: #000000
}


I tried the edit in my css and it does not respond in FF or IE 7/8.

MaryLouW

I hope I'm posting this in the right place.  Earlier this week, I had to move my forum from one host to another because my original host closed its doors. In doing so, I decided to register a domain name for my forum rather than having it as a folder on my site.  It seemed all was going well until someone tried to register but could not. Apparently, the matched keys are for my original site.  This is the message I get:



So, I thought maybe I could just uninstall the reCAPTCHA and worry about it later.  When I attempted to uninstall, I got the following messages:



So, my question is, how do I fix this?  Is the site name somewhere embedded in the code where I can change it?  I am at a loss and am unhappy because I cannot have any new members until this is solved.

Can someone please help?




青山 素子

MaryLouW, you don't need to touch the modification, just go to recaptcha.net, sign in, and add a site. You'll get a new set to keys to replace the ones you entered for the old domain.

plusev, not sure what I can do to help, it's a CSS issue with your theme. You can try adding the "!important" modifier to the rules and see if that helps.
Motoko-chan
Director, Simple Machines

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


plusev

Quoteplusev, not sure what I can do to help, it's a CSS issue with your theme. You can try adding the "!important" modifier to the rules and see if that helps.

Yes - !important worked. Thx much :)

Advertisement: