Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Marcus Forsberg on January 28, 2008, 07:52:11 PM

Title: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: Marcus Forsberg on January 28, 2008, 07:52:11 PM
Anti-Bot Registration Puzzles v1.2.0.1b
----------------------------------------------------------------------------------------------------------------------------------------------------
Author: Nas (http://www.simplemachines.org/community/index.php?action=profile;u=143954)      Original author: Karl Benson (http://custom.simplemachines.org/mods/index.php?action=profile;u=63186)     Versions: 2.0 RC2, 1.1.x     Available since: Jan 27 '08     Latest version: 1.2.0.1b (Jan 1 '10)

Introduction

This modification adds a randomly chosen simple logic/math puzzle to the Registration page.
They are set at the level Key Stage 2[KS2] (UK) (7-11 year olds).

It is a cat and mouse game between forum software and bot-creators.
We must constantly develop different and unique anti-bot methods to keep our forums as clean as possible.

Features

Adds a randomly chosen puzzle
    Shapes
    Math
    Colors
Random tweaks in each puzzle
Random input field


Changelog

1.2.0.1b (1 entry)                                                           January 1 2010
============================================================================================
January 2010
---------------------------------------------------------------------------------
   ! The 1.1.x version wouldn't work (package-info.xml)

1.2.0.1 (2 entries)                                                          January 1 2010
============================================================================================
January 2010
---------------------------------------------------------------------------------
   * Added support for SMF 2.0 RC2 (Tweaks: Register.php, Register.template.php)
   - Removed support for older versions of SMF 2.0.

1.2 (7 entries)                                                              March 18 2008
============================================================================================
April 2009
---------------------------------------------------------------------------------
   $ Taken over by Nas (April 15 '09)
March 2008
---------------------------------------------------------------------------------
   ! Fixed for tabindex
   $ Changed to Show colors + equation in bold (for better reading)
   $ Improved my random input field generator
   $ Increased size on input box by adding size="30"
   ! Fixed align/valign issue affecting w3c xhtml 1.0 validity
   * Tweaked to get it to work for SMF 2.0 Beta 3 Public

1.1 (2 entries)                                                             February 4 2008
============================================================================================
February 2008
---------------------------------------------------------------------------------
   ! Fixed colors (Thanks AllMassive)
   ! Corrected pentagon string.

1.0 (1 entry)                                                               January 27 2008
============================================================================================
January 2008
---------------------------------------------------------------------------------
   $ Initial release
Title: Re: Anti-Bot Registration Puzzles
Post by: shadow82x on January 28, 2008, 08:34:09 PM
During the Installation you should tell them to know math first... :P


Anyway very nice mod Karl!
Title: Re: Anti-Bot Registration Puzzles
Post by: falguni1 on January 28, 2008, 10:18:21 PM
very nice.
Title: Re: Anti-Bot Registration Puzzles
Post by: ronhaha108 on January 30, 2008, 08:57:44 AM
what kind of question is this?  "How many sides does a heptagon have?"  couldn't you ask for something easier like a square or a rectangle?  is there a way to edit the questions or at least to delete them?

That said, GREAT MOD!

Thanks!
Title: Re: Anti-Bot Registration Puzzles
Post by: karlbenson on January 30, 2008, 09:12:28 AM
@ronhaha108
It randomly chooses a shape between a square and an octagon.
The point is to have different options to make it harder for bots.
Title: Re: Anti-Bot Registration Puzzles
Post by: ronhaha108 on January 30, 2008, 09:19:32 AM
lol, I know, i've been using a mod like this in vB for more than a year..  my question was more about that specific question, I'd never even heard of a heptagon before and had to google it, so, while it's hard for bots, that one may be hard for humans as well!

Anyway, is there a way to add, edit or delete questions?
Title: Re: Anti-Bot Registration Puzzles
Post by: samvirtual on January 30, 2008, 09:25:05 AM
yes same, here, i like the bot, but some of the questions are tough. is it possible to edit the questions?
Title: Re: Anti-Bot Registration Puzzles
Post by: karlbenson on January 30, 2008, 09:30:39 AM
No Not easily. The puzzles are hardcoded.  Although not impossible if you know php (although I cannot provide support for customizing the mod)

I thought most people would have heard of shapes upto 8 sides. (UK children are taught these from age 7)
I didn't both putting in shapes like Dodecahedron.

This mod would not suit proper question/answer format that I've seen in other mods for other forum software.
eg
Bohemian Rhapsody is a song by which band? A:queen

Although I wouldn't put it past me developing one.  I've got another anti-bot mod in development.
Title: Re: Anti-Bot Registration Puzzles
Post by: ronhaha108 on January 30, 2008, 09:48:42 AM
ok, thanks, I do know php and will look though the code.  Thanks again!
Title: Re: Anti-Bot Registration Puzzles
Post by: carbonize on January 31, 2008, 12:00:37 PM
Where is the demo? All I see on the demo link is the standard captcha image and a drop down for the "Are You Human? (Bot Check):"
Title: Re: Anti-Bot Registration Puzzles
Post by: karlbenson on January 31, 2008, 12:33:45 PM
Oops, I have uploaded it, but not installed it.
http://www.adrevenueshare.com/index.php?action=register
Title: Re: Anti-Bot Registration Puzzles
Post by: Sabre™ on February 02, 2008, 04:59:37 AM
Cool Mod karlbenson.

Thanks mate :)

I installed this into a custom theme, without the manual install, and it worked fine.
Just thought I'd mention :)

Cheers
Title: Re: Anti-Bot Registration Puzzles
Post by: AllMassive on February 04, 2008, 10:13:27 AM
It happens quite often that none of the colors match - more often on non-engish ?!

Colors dont seem to work at all with Opera.

I'm using this MOD on a German/English-UTF8- Forum and edited the Textstrings - but the Colorsnames still appear in English.
Title: Re: Anti-Bot Registration Puzzles
Post by: karlbenson on February 04, 2008, 12:56:19 PM
forum link please?
Title: Re: Anti-Bot Registration Puzzles
Post by: AllMassive on February 04, 2008, 01:04:26 PM
I sent you a PM with the Link.
Title: Re: Anti-Bot Registration Puzzles
Post by: karlbenson on February 04, 2008, 02:19:33 PM
Thanks AllMassive.

I've just uploaded v1.1 which I believe resolves the issue.
Don't alter the arrays in register.php, just alter the language strings.

o Fixed colors (Thanks AllMassive)
o Corrected pentagon string.
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: AllMassive on February 04, 2008, 02:56:57 PM
Thank YOU.
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: vagrant on February 09, 2008, 09:56:30 PM
Fantastic mod, thankyou very much for time and effort.

Works fine on my test forum, so will install on main forum after a sleep ;)
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: karlbenson on February 10, 2008, 10:04:01 AM
thanks for the comments ;)
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: JustTheGladiatoR on February 10, 2008, 01:44:53 PM
Hi karlbenson..it's possible to translate the puzzles?
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: karlbenson on February 10, 2008, 01:59:48 PM
Translating the language strings should make the mod work for languages other than english.
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: JustTheGladiatoR on February 10, 2008, 06:00:03 PM
 ::) mmmmm...  ::)
A little help?  ??? i don't know what to do..  :D
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: karlbenson on February 10, 2008, 06:02:09 PM
Use a mod parser to get the language strings.
http://www.adrevenueshare.com/parser

Translate the strings, then add them to your Themes/default/languages/Modifications.{yourlanguage}.php and/or if you using utf-8 Modifications.{yourlanguage}-utf8.php
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: JustTheGladiatoR on February 11, 2008, 04:49:18 AM
Thanx..i do it!  :D
If yuo need the translation in italian i can give to you...  O:)
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: karlbenson on February 11, 2008, 11:29:57 AM
Because this is an anti-spam mod.
I don't add alternative languages.

Because every measure I can take to make each forum different, makes it harder for bots to get past.
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: TEOC2 on February 18, 2008, 03:19:02 PM
Im colour blind, the "which colour" question is kinda impossible for me to answer, not a great accessibility plus point for a forum.
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: karlbenson on February 18, 2008, 04:26:18 PM
Accessibility can be an issue I accept that.

The problem is HIGH level captcha will eventually be passable by bots.
Many users, especially with visual difficulities can't read them.
But with bots capable of passing then, the only option would be to make that even harder. :(

With some of these puzzles there is a chance that someone might not be capable of completing any math or logical reasoning test.  I accept those who are colour blind would have difficulty with the colour differential puzzle.

It was one reason why I put them into a package with a variety of other puzzles.
And also why they are based at 7-11 year olds level.

If you can't complete a puzzle, hit refresh, and you should be served with an alternative one.

As always I'm open to suggestions about possible other puzzles.
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: TEOC2 on February 18, 2008, 04:52:26 PM
No worries, its a compromise between security and being so secure that no one can get in, you've got to tread that fine line to keep the bots out, keep the great mods coming.

I have a request, how about showing four pics of say a cow, a truck, a flower and a hammer with a question asking which is the animal, or which is used for driving nails or similar. Would something like that be hard for bots to overcome?
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: karlbenson on February 18, 2008, 05:07:05 PM
I don't think it would be as hard as Captcha.
But one reason is finding pictures which I can legally use.

Since this is logic/puzzles. And the work that would be involved, if I were to do picture identification, it would probably be best as an alternative mod.
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: TEOC2 on February 18, 2008, 05:45:11 PM
Quote from: karlbenson on February 18, 2008, 05:07:05 PM
I don't think it would be as hard as Captcha.
But one reason is finding pictures which I can legally use.

Since this is logic/puzzles. And the work that would be involved, if I were to do picture identification, it would probably be best as an alternative mod.

I dont think you'll have a problem with finding pics, im sure a thread requesting royalty free pics made by the members here (cartoony types would be fine) would yield a good set of pics.
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: Eliana Tamerin on March 05, 2008, 02:36:52 PM
Accessibility may be an issue with these puzzles. I love them and use them, but I'm worried about users with visual difficulties. It'd be great if there was an option to contact an administrator for assistance or the ability to explain to users that the puzzles are generated randomly, and if they refresh the page, they may get one that's more accessible.
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: Sabre™ on March 05, 2008, 03:41:01 PM
I have altered my registration agreement, and in big bold letters, have stated that right at the top. To make it stand out further, I left a few spaces between that and the agreement..   Like this:

FOR A DIFFERENT/EASIER/FRIENDLY PUZZLE, PLEASE REFRESH THE SCREEN :)


< actual reg agreement down here>

I think it looks tidier than adding it beside, under or on top of the puzzles.  imo.
But if you prefer it that  way, Im sure someone will walk you through it :) 
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: Eliana Tamerin on March 12, 2008, 08:28:35 PM
Found a problem.



At first glance, I thought the answer was red, even though the color is really orange (hex 255, 102, 0 or #ff6600). It does appear very red on that screenshot. Could confuse some people. Might be worth coding in a statement to stop red from appearing as orange and vice versa.
Title: Re: Anti-Bot Registration Puzzles v1.1
Post by: karlbenson on March 18, 2008, 09:41:03 AM
Ok heres a 2.0 beta 3 public compatible version with some other tweaks.

Eliana, i've made the colors bold, which should hopefully make the colors more readable.

1.2 - 18th March 2008
o Fixed for tabindex
o Changed to Show colors + equation in bold (for better reading)
o Improved my random input field generator
o Increased size on input box by adding size="30"
o Fixed align/valign issue affecting w3c xhtml 1.0 validity
o Tweaked to get it to work for SMF 2.0 Beta 3 Public
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: neil h on May 13, 2008, 10:58:43 AM
Hi Karl,

Another great mod! Many thanks, Neil.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: xrunner on May 15, 2008, 05:18:13 PM
I have this mod and the "are you human" mod installed. Now, I can't uninstall either one (using default theme). How can I proceed to uninstall these and install the newer versions?

Errors -

1.     Execute Modification     ./Sources/Register.php     Test failed
2.    Execute Modification    ./Themes/default/Register.template.php    Test failed
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Eliana Tamerin on May 15, 2008, 05:22:43 PM
I've already mentioned this to Karl and he should be aware of it. Although I haven't heard of both not uninstalling. Do you have any other mods that affect the Register.template.php file installed? These might include the Invite/Referral mod, Anti-Bot Clock, Gender on Registration, Avatar on Registration, etc.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: xrunner on May 15, 2008, 05:26:25 PM
Quote from: Eliana Tamerin on May 15, 2008, 05:22:43 PM
I've already mentioned this to Karl and he should be aware of it. Although I haven't heard of both not uninstalling. Do you have any other mods that affect the Register.template.php file installed? These might include the Invite/Referral mod, Anti-Bot Clock, Gender on Registration, Avatar on Registration, etc.

No.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: karlbenson on May 15, 2008, 05:31:49 PM
You'll have to uninstall in descending order that you installed them. (most recent first).

For me it uninstalls, installs perfectly everytime, the only thing i can think is that another mod has modified the same file afterwards.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: xrunner on May 15, 2008, 05:33:03 PM
I just tried each one independently on a test forum. Each one uninstalls OK IF the other isn't installed.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: xrunner on May 15, 2008, 05:35:19 PM
Quote from: karlbenson on May 15, 2008, 05:31:49 PM
You'll have to uninstall in descending order that you installed them. (most recent first).

For me it uninstalls, installs perfectly everytime, the only thing i can think is that another mod has modified the same file afterwards.

Just tried that - no go.
How can I fix this manually so I can get the latest ones installed?
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: karlbenson on May 15, 2008, 05:41:49 PM
You would have to manually uninstall them.

Note, I have actually used both of them mods recently on two of my forums, and uninstalled, reinstalled both without an issue.
So its strange that your getting an issue.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: xrunner on May 15, 2008, 05:43:27 PM
Quote from: karlbenson on May 15, 2008, 05:41:49 PM
You would have to manually uninstall them.

Note, I have actually used both of them mods recently on two of my forums, and uninstalled, reinstalled both without an issue.
So its strange that your getting an issue.
Where can I find that procedure for your mods?
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: karlbenson on May 15, 2008, 06:00:21 PM
Put the mod package (the version you've got in the packages folder on your site) through a package parser
http://www.adrevenueshare.com/parser
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: xrunner on May 15, 2008, 06:14:12 PM
Quote from: karlbenson on May 15, 2008, 06:00:21 PM
Put the mod package (the version you've got in the packages folder on your site) through a package parser
http://www.adrevenueshare.com/parser
Oh, never seen that tool. I'll try it thanks a lot!

Could I also just replace those files (register.template.php, etc.) with pristene ones if no other mods have modded them?
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: karlbenson on May 15, 2008, 06:28:35 PM
possibly.

But i'd recommend backing up both files and database before undertaking it.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: xrunner on May 15, 2008, 08:55:36 PM
Quote from: karlbenson on May 15, 2008, 06:00:21 PM
Put the mod package (the version you've got in the packages folder on your site) through a package parser
http://www.adrevenueshare.com/parser

I fixed all the problems manually with the aid of the parser. I also learned a lot from doing the manual process.
Thanks for the link, it's a lifesaver.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Night09 on May 18, 2008, 01:30:55 AM
Firstly running 1.1.4 with my own theme.

On install it shows that it is sucessfull as follows

QuoteInstalling this package will perform the following actions:
1. Execute Modification    .Sources/Register.php  Test successful
2. Execute Modification   .Themesdefault/Register.template.php Test successful
3. Execute Modification   .Themesdefault/languages/Modifications.english.php Test successful
4. Execute Modification   .Themesdefault/languages/Modifications.english-utf8.php Skipping file
5. Execute Modification .Themesdefault/languages/Modifications.english_british.php Skipping file
6.Execute Modification  .Themesdefault/languages/Modifications.english_british-utf8.php  Skipping file                     
                     
                     
                                                           
                     
                     
                     

But after install on the top of each page I get this showing

Quote$txt['puzzle_colors'] = 'Which word is the same as its color'; $txt['puzzle_math'] = 'What is the sum of (as a number)'; $txt['puzzle_shapes'] = 'How many %s does a %s have?'; $txt['puzzle_shapes2'] = 'How many %s does an %s have?'; $txt['puzzle_sides'] = 'sides'; $txt['puzzle_corners'] = 'corners'; $txt['puzzle_incomplete'] = 'You did not complete the anti-bot puzzle. Please try again.'; $txt['puzzle_incorrect'] = 'You incorrectly answered the anti-bot puzzle. Please try again.'; $txt['puzzle_antibot'] = 'Anti-bot measure'; $txt['puzzle_red'] = 'Red'; $txt['puzzle_orange'] = 'Orange'; $txt['puzzle_yellow'] = 'Yellow'; $txt['puzzle_green'] = 'Green'; $txt['puzzle_blue'] = 'Blue'; $txt['puzzle_purple'] = 'Purple'; $txt['puzzle_pink'] = 'Pink'; $txt['puzzle_black'] = 'Black'; $txt['puzzle_grey'] = 'Grey'; $txt['puzzle_triange'] = 'Triangle'; $txt['puzzle_square'] = 'Square'; $txt['puzzle_rectangle'] = 'Rectangle'; $txt['puzzle_pentagon'] = 'Pentagon'; $txt['puzzle_hexagon'] = 'Hexagon'; $txt['puzzle_heptagon'] = 'Heptagon'; $txt['puzzle_octagon'] = 'Octagon'; $txt['puzzle_1'] = 'ONE'; $txt['puzzle_2'] = 'TWO'; $txt['puzzle_3'] = 'THREE'; $txt['puzzle_4'] = 'FOUR'; $txt['puzzle_5'] = 'FIVE'; $txt['puzzle_6'] = 'SIX'; $txt['puzzle_7'] = 'SEVEN'; $txt['puzzle_8'] = 'EIGHT'; $txt['puzzle_9'] = 'NINE'; $txt['puzzle_10'] = 'TEN'; $txt['puzzle_11'] = 'ELEVEN'; $txt['puzzle_12'] = 'TWELVE'; $txt['puzzle_13'] = 'THIRTEEN'; $txt['puzzle_14'] = 'FOURTEEN'; $txt['puzzle_15'] = 'FIFTEEN'; $txt['puzzle_16'] = 'SIXTEEN'; $txt['puzzle_17'] = 'SEVENTEEN'; $txt['puzzle_18'] = 'EIGHTEEN'; $txt['puzzle_19'] = 'NINETEEN';

It also makes the forum look like it has been zoomed into as if I am running at 800x600.

The only language file in my custom themes folder is Settings.english.php and as far as I can tell from the instructions its not the file needed to be edited.

Have I overlooked something maybe ?
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: karlbenson on May 18, 2008, 12:55:30 PM
Edit

Themes/default/Modifications.english.php
(if you use utf8 language files, this file aswell)
Themes/default/Modifications.english-utf8.php

FIND
?>

MOVE it right to the very bottom of the file and on a new line.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Night09 on May 18, 2008, 01:51:07 PM
Sorted it now, it was the closer as you say had been left in the wrong place in the file.

Just for info it was caused by Arcade being present in the file and the closer was attached to the end of an arcade line.

Cheers Karl ;)
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: ddarrell on August 21, 2008, 09:26:35 PM
I finally decided to register and thank those whose mods I have used.

This installed flawlessly, and works correctly.

Thanks.

darrell
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: genieuk on October 05, 2008, 05:39:53 AM
HI,

I just installed and only thing i got missing is the actual calculation

for example 7 +2 =

see screen shot attached.

What have I done wrong?

I am using a custom theme but my custom theme does not use it's own Register.template.php so i skipped the first bit below and done the rest. Please help.

A Manual edit will be required for ALL themes (other than SMF Default Core Theme) which have a custom Register.template.php
If you don't perform the manual edit, nobody will be able to register using those themes.

OPEN Register.template.php (in each folder Themes/{themename/ )
FIND
   // Are there age restrictions in place?
   if (!empty($modSettings['coppaAge']))ADD BEFORE
Code: [Select]
// Start of Anti-bot Registration Puzzles Mod
   echo '<tr valign="top">
            <td width="40%" valign="top">
               <b>'.$txt['puzzle_'.$context['puzzle'][0]].'</b><br />
               '.$txt['puzzle_antibot'].'
            </td>
            <td>
               '. ( empty($context['puzzle'][1]) ? '' : $context['puzzle'][1].'<br />' ) .'
               <input type="text" name="'.$context['puzzle'][2].'" size="30" value="" tabindex="', $context['tabindex']++, '" />
            </td>
      </tr>';
   // End of Anti-bot Registration Puzzles Mod


If your theme has its own versions of the language files Modifications.english.php and/or Modifications.english-utf8.php, OR if your using a language other than those supported (listed above) by the mod then you will need to copy the language strings into each custom version of those files.

Thank you,
Mathew
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: karlbenson on October 05, 2008, 09:36:35 AM
Genie.
There are different puzzles.  The one on that page is "How many sides to a pentagon" rather than a math calculation.
If you refresh you should get a different puzzle.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: genieuk on October 05, 2008, 02:51:49 PM
I really think this is a great mod but have removed it.

You may think i am thick but pentagon, hectagon cant remember exactly what they called, i did not know what they was myself lol.

So to be on safe side i removed it, would be better i think if it was just simple calculations like 7 + 8 = or 9 - 7 etc.

Did you say it was keystage 2 primary education?

Ifso i did not learn them when i was in school.

Please do not think i am critising as it still a fantastic mod but just not for me.

Regards,
Mathew
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on October 05, 2008, 05:25:12 PM
hahaaa..
Dont feel bad mate, I guarantee you arent the only one to have problems with some of the puzzles.       *whistles
Adding a note reminding your users that if they refresh the page, another puzzle they may be familiar with will appear, usually helps.
Thats what   <cough> I </cough>  did  ;)
Dagnabit!  I left my schoolin at school ok!!?? lol
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: genieuk on October 05, 2008, 05:32:55 PM
Quote from: Sabre™ on October 05, 2008, 05:25:12 PM
hahaaa..
Dont feel bad mate, I guarantee you arent the only one to have problems with some of the puzzles.       *whistles
Adding a note reminding your users that if they refresh the page, another puzzle they may be familiar with will appear, usually helps.
Thats what   <cough> I </cough>  did  ;)
Dagnabit!  I left my schoolin at school ok!!?? lol

I left my Schoolin at school aswell, lol

Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: karlbenson on October 05, 2008, 08:44:44 PM
LOL.

If necessary you could always remove the puzzles that you don't want by removing it in the code.

Sources/Register.php
find and remove
'shapes' => create_function('', '
$a = array(0 => "sides", 1 => "corners");
$b = rand(0,1);
$c = array(\'square\' => 4, \'rectangle\' => 4, \'pentagon\' => 5,
\'hexagon\' => 6, \'heptagon\' => 7, \'octagon\' => 8);

$d = array_rand($c); // randomly select a shape
$e = $c[$d]; // the answer
global $txt;
$txt[\'puzzle_shapes\'] = sprintf(($d == \'octagon\' ? $txt[\'puzzle_shapes2\'] : $txt[\'puzzle_shapes\']), $txt[\'puzzle_\'.$a[$b]], $txt[\'puzzle_\'.$d]);
return array(\'shapes\', \'\', md5($e));
'),
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: genieuk on October 05, 2008, 08:56:20 PM
mmmmm, i thought i read somewhere it is hard coded so cant be done?

Mat
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: karlbenson on October 05, 2008, 08:57:50 PM
If you remove that. That puzzle can't be randomly chosen.

Leaving the two math puzzles, and the color puzzle.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: sunita on November 01, 2008, 04:48:57 PM
Hi - It is a very nice mod.

I have a small problem after installation. Puzzle is being asked twice, not sure why?

Forum page http://ping4help.com/index.php?action=register
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on November 01, 2008, 05:15:36 PM
The code has been installed twice into your template.
Go over the 3 templates this mod alters, and remove the second appearances of the code added.
Use the parser on [THIS] (http://custom.simplemachines.org/mods/index.php?mod=1078) page to help guide you.
It is located on the right of that page where it states "Manual Install Instructions for SMF"

Post back and let us know how it went, or if you hit any problems along the way.

Good Luck :)
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Apllicmz on November 12, 2008, 12:06:07 AM
Nice work when update try puty portuguese

<file name="$themedir/languages/Modifications.portuguese_pt-utf8.php" error="skip">
    <operation>
        <search position="end" />
            <add><![CDATA[
$txt['puzzle_colors'] = 'Que palavra &eacute; a mesma que a sua cor';
$txt['puzzle_math'] = 'Qual &eacute; a soma de (tal como um n&uacutemero)';
$txt['puzzle_shapes'] = 'Quantos %s faz uma %s tens?';
$txt['puzzle_shapes2'] = 'Quantos %s faz uma %s tens?';
$txt['puzzle_sides'] = 'lados';
$txt['puzzle_corners'] = 'cantos';
$txt['puzzle_incomplete'] = 'Voc&ecirc; n&atilde;o completaram o anti-bot enigma. Por favor, tente novamente.';
$txt['puzzle_incorrect'] = 'Voc&ecirc; respondeu incorretamente o anti-bot enigma. Por favor, tente novamente.';
$txt['puzzle_antibot'] = 'Medida anti-bot';
$txt['puzzle_red'] = 'Vermelho';
$txt['puzzle_orange'] = 'Laranja';
$txt['puzzle_yellow'] = 'Amarelo';
$txt['puzzle_green'] = 'Verde';
$txt['puzzle_blue'] = 'Azul';
$txt['puzzle_purple'] = 'Purple';
$txt['puzzle_pink'] = 'Rosa';
$txt['puzzle_black'] = 'Preto';
$txt['puzzle_grey'] = 'Grey';
$txt['puzzle_triange'] = 'Tri&acirc;ngulo';
$txt['puzzle_square'] = 'Quadrado';
$txt['puzzle_rectangle'] = 'Ret&acirc;ngulo';
$txt['puzzle_pentagon'] = 'Pent&aacute;gono';
$txt['puzzle_hexagon'] = 'Hex&aacute;gono';
$txt['puzzle_heptagon'] = 'Hept&aacute;gono';
$txt['puzzle_octagon'] = 'Oct&oacute;gono';
$txt['puzzle_1'] = 'UM';
$txt['puzzle_2'] = 'DOIS';
$txt['puzzle_3'] = 'TRES';
$txt['puzzle_4'] = 'QUATRO';
$txt['puzzle_5'] = 'CINCO';
$txt['puzzle_6'] = 'SEIS';
$txt['puzzle_7'] = 'SETE';
$txt['puzzle_8'] = 'OITO';
$txt['puzzle_9'] = 'NOVE';
$txt['puzzle_10'] = 'DEZ';
$txt['puzzle_11'] = 'ONZE';
$txt['puzzle_12'] = 'DOZE';
$txt['puzzle_13'] = 'TREZE';
$txt['puzzle_14'] = 'CATORZE';
$txt['puzzle_15'] = 'QUINZE';
$txt['puzzle_16'] = 'DEZASEIS';
$txt['puzzle_17'] = 'DEZASETE';
$txt['puzzle_18'] = 'DEZOITO';
$txt['puzzle_19'] = 'DEZENOVE';
]]></add>
    </operation>
</file>


<file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">
    <operation>
        <search position="end" />
            <add><![CDATA[
$txt['puzzle_colors'] = 'Que palavra é a mesma que a sua cor';
$txt['puzzle_math'] = 'Qual é a soma de (tal como um número)';
$txt['puzzle_shapes'] = 'Quantos %s faz uma %s tens?';
$txt['puzzle_shapes2'] = 'Quantos %s faz uma %s tens?';
$txt['puzzle_sides'] = 'lados';
$txt['puzzle_corners'] = 'cantos';
$txt['puzzle_incomplete'] = 'Você não completaram o anti-bot enigma. Por favor, tente novamente.';
$txt['puzzle_incorrect'] = 'Você respondeu incorretamente o anti-bot enigma. Por favor, tente novamente.';
$txt['puzzle_antibot'] = 'Medida anti-bot';
$txt['puzzle_red'] = 'Vermelho';
$txt['puzzle_orange'] = 'Laranja';
$txt['puzzle_yellow'] = 'Amarelo';
$txt['puzzle_green'] = 'Verde';
$txt['puzzle_blue'] = 'Azul';
$txt['puzzle_purple'] = 'Purple';
$txt['puzzle_pink'] = 'Rosa';
$txt['puzzle_black'] = 'Preto';
$txt['puzzle_grey'] = 'Grey';
$txt['puzzle_triange'] = 'Triângulo';
$txt['puzzle_square'] = 'Quadrado';
$txt['puzzle_rectangle'] = 'Retângulo';
$txt['puzzle_pentagon'] = 'Pentágono';
$txt['puzzle_hexagon'] = 'Hexágono';
$txt['puzzle_heptagon'] = 'Heptágono';
$txt['puzzle_octagon'] = 'Octógono';
$txt['puzzle_1'] = 'UM';
$txt['puzzle_2'] = 'DOIS';
$txt['puzzle_3'] = 'TRES';
$txt['puzzle_4'] = 'QUATRO';
$txt['puzzle_5'] = 'CINCO';
$txt['puzzle_6'] = 'SEIS';
$txt['puzzle_7'] = 'SETE';
$txt['puzzle_8'] = 'OITO';
$txt['puzzle_9'] = 'NOVE';
$txt['puzzle_10'] = 'DEZ';
$txt['puzzle_11'] = 'ONZE';
$txt['puzzle_12'] = 'DOZE';
$txt['puzzle_13'] = 'TREZE';
$txt['puzzle_14'] = 'CATORZE';
$txt['puzzle_15'] = 'QUINZE';
$txt['puzzle_16'] = 'DEZASEIS';
$txt['puzzle_17'] = 'DEZASETE';
$txt['puzzle_18'] = 'DEZOITO';
$txt['puzzle_19'] = 'DEZENOVE';
]]></add>
    </operation>
</file>
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Cal O'Shaw on November 13, 2008, 08:20:31 PM
Will this work with 1.1.7? 

We've started getting attacked by Russian/Ukraine porn IPs that seem to have gotten through the basic SMF registration system.  Fortunately we require approval but it's a bother zapping them and having them successfully reapply a few hours later.

Grazie,

Cal
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Cal O'Shaw on November 13, 2008, 09:09:52 PM
Grazie!
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: cr33p on November 14, 2008, 04:54:05 AM
First of all, hello everybody.
I'm having a bit of trouble with this mod:
I'm using smf 1.1.5, with the standard image check. The template I use doesn't have Register.Template.php so I guess the default register.template.php is used instead and the tests before the install went well, with no errors.
Still, when I try to register I can't see anything except the box where I have to type the.. answer.
Maybe the attached prints can explain it better than I can.

Sorry if there are any typos, english is not my first language.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: cr33p on November 14, 2008, 01:07:32 PM
I haven't translated anything. I'm using the original english files. I'll try your solution anyway (maybe replace with the original language files - I hope that it doesn't mess with my other installed packages) and post back here with a conclusion. Thanks for your answer.

Later Edit: I forgot to mention that if I set the default theme, it all works fine (same config, same language).
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: ghaddink on November 14, 2008, 04:45:37 PM
Hi, I was wondering if there is an easy way to use your registration puzzles as a verification when guests post messages?

Thanks in advance
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: ghaddink on November 14, 2008, 04:55:44 PM
Too bad. Do you have any advice/ideas on other mods I can use to prevent spamming through guest posting with the new smf 1.1.7?
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: ghaddink on November 14, 2008, 05:37:49 PM
Ok, thanks for the advice :)
Title: Re: Anti-Bot Registration Puzzles v1.2 - bug
Post by: rolygate on November 15, 2008, 02:44:44 PM
I got a weird fault with this mod: somehow it jams up the core captcha test, so that it always stays on the same test letters.

Uninstall the mod - problem solved. Very strange. Shame, because I'm being hit by the wave of botspam and I need a fix.

using SMF 1.1.5
default template

Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on November 15, 2008, 03:08:38 PM
Quote from: ghaddink on November 14, 2008, 04:55:44 PM
Too bad. Do you have any advice/ideas on other mods I can use to prevent spamming through guest posting with the new smf 1.1.7?

[THIS] (http://custom.simplemachines.org/mods/index.php?mod=369) mod will prevent guests from posting links.
Its a start ??  lol  ;)

Quote from: rolygate on November 15, 2008, 02:44:44 PM
I got a weird fault with this mod: somehow it jams up the core captcha test, so that it always stays on the same test letters.

You could replace that captcha with [THIS] (http://custom.simplemachines.org/mods/index.php?mod=1044) mod.
I use that and this mod to compliment each other.
Just a suggestion, and it will solve this  "jamming"  issue youre having. :)
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Kolya on November 16, 2008, 05:10:25 PM
rolygate: It only seems to repeat the captcha. Ask someone else to look at your registration page and you'll see they get a different captcha.

Sabre: The reCaptcha mod you linked can't protect guest posts either. The mods you are using aren't complementing each other, they're redundant. I guess that's okay for a one time registration, but doesn't help with guest posting at all.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on November 16, 2008, 07:03:42 PM
@ Kolya
What are you talking about?
Both suggestions assist both peoples needs.

If the bots are posting links, the  "No Spam by Guests!"  mod stops this. Or over all, you can deny guest posting.

Some bots try to sign up to your site, in which case the reCaptcha mod helps to defend against that, like the original captcha.
I mentioned it because he was having problems with his original capture.
Please read the posts carefully, and dont get them mixed up. This can confuse people that are genuinely asking for assistance.
So anything working against bots, DO compliment each other.


If you do not want bots on your forum, then learn about robots.txt.

eg.
User-agent: *
Disallow: /admin/
Disallow: /adsystem/

useragent is the bot....   
*   is a wild card basically meaning all bots
and disallow into  those areas etc etc etc

google is your friend

Good luck :)
Title: Re: Anti-Bot Registration Puzzles / Sabre
Post by: rolygate on November 16, 2008, 08:03:30 PM
Thanks Sabre.

Have installed the reCaptcha challenge and no bots since then. So possibly they have a script to defeat the core catcha now, which shouldn't really be a surprise.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on November 16, 2008, 10:16:24 PM
Quote from: Deprecated on November 16, 2008, 09:06:07 PM
Sadly, spammers don't even bother reading robots.txt. The robots.txt file is an agreement among gentlemen. Spammers do not honor this agreement. This is no solution.

Yes I understand that there are bots that ignore the bot.txt.
I must be lucky, as I use the before mentioned mods, and a bot.txt, and have never had spam.

name change to lucky_me I think


Quote from: rolygate on November 16, 2008, 08:03:30 PM
Thanks Sabre.

Have installed the reCaptcha challenge and no bots since then. So possibly they have a script to defeat the core catcha now, which shouldn't really be a surprise.

My pleasure buddy, glad it works for you also :)
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: babylon on November 26, 2008, 07:13:27 PM
hi, i tried it with 1.1.7 and used the installer and did the edit in the default theme im using but nothing shows at all..
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: babylon on November 26, 2008, 07:36:53 PM
well i double , double checked everything.
it should show but it doesnt show anything...
absolutely nothing.
so whoever said it work,probably after 30 edits .
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: igforum on December 07, 2008, 02:00:27 PM
Question: I am trying to install this mod and am very new to the process. How do I get it to install (am running 1.1.7 with classic theme..) I am using Dreamweaver and Filezilla... I have uploaded the files successfully to my remote server, but I was not sure which file to place the mod into. 

When it says to run the install on Core theme only... do I do that first, and if so how do I 'run the install'?

I am aware that manual changes are needed, but getting it to initially install is confusing me, and I cannot find the register.template.php file... it does not appear to exist.

I have no problem hunting down the manual codes and updating the files but I need to locate the register.template.php file in order to do so.

Any help would be truly appreciated.

Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: jolanda on December 07, 2008, 02:24:49 PM
im still getting replies on this f.u.c.k.i.n.g topic.
any f.u.c.k.i.n.g admin / mod that can do something about this f.u.c.k.i.n.g crap?
jeez..
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on December 07, 2008, 03:50:03 PM
@ babylon
Do you still need assistance mate?

@ igforum
Your site is up n running yeah, so it is visible?
Go to your packages section in your admin panel on your site.
Click on download packages, browse for it on your desktop, then click upload.
[THIS] (http://docs.simplemachines.org/) may be of use.

@ jolanda
Since this is your first post in this thread, the only way you will receive replies from it, is if you chose to receive them!
If replies are coming by way of email, you have an unsubscribe link in it too.
Click that, and follow the couple of steps needed.
Or, you could go into your profile, click Notifications, and then unsubscribe there.
Sorry about your turrets also. :)
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: igforum on December 07, 2008, 05:05:49 PM
I got the puzzle feature up and running Thank you anyway.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on December 07, 2008, 05:13:23 PM
Good work mate, enjoy :)
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: dreamx on December 11, 2008, 04:02:31 PM
Tell me please how it should work?

return array(\'colors\', $d, md5(strtolower($txt[\'puzzle_\'.$c])));

$txt['puzzle_red'] = 'Red';
$txt['puzzle_orange'] = 'Orange';
$txt['puzzle_yellow'] = 'Yellow';
$txt['puzzle_green'] = 'Green';
$txt['puzzle_blue'] = 'Blue';
$txt['puzzle_purple'] = 'Purple';
$txt['puzzle_pink'] = 'Pink';
$txt['puzzle_black'] = 'Black';
$txt['puzzle_grey'] = 'Grey';

Wrong language file or?
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on December 11, 2008, 05:27:28 PM
Whats the question?
What version of smf are you running?
What errors are you getting if any.
Why is my watch 5 mins too fast?
But on a better note, whats the question?
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: dreamx on December 12, 2008, 02:42:52 PM
The version of smf does not matter in this case.
The question is that colors checking does not working in ANTI-BOT REGISTRATION PUZZLES v1.2 mod.
Please check it and change code in ./Sources/Register.php or ./Themes/default/languages/Modifications.<language>.php
It will be great for newbies like me :)
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on December 12, 2008, 03:33:06 PM
Quote from: dreamx on December 12, 2008, 02:42:52 PM
The version of smf does not matter in this case.

Yeah, I like to get new members in that habit of providing as much information as possible, as the more info given, the easier/faster it will be to for others to assist them.

I nolonger use this mod, as [THIS] (http://custom.simplemachines.org/mods/index.php?mod=1516) mod seems to have solved many peoples spam problems.
But I installed it just to test it.

It is working fine for me buddy.
I tested to see if I chose the correct colour, would it work, and it did.
The second test, I chose the wrong colour to see if it wouldnt allow me to register, and it didnt.

Maybe Im misunderstanding you.

What exactly isnt working, when isnt it working for you?
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: dreamx on December 12, 2008, 05:05:33 PM
In case when you will use not english language the results for colors checking will always wrong.

It will work then for example:
$txt['puzzle_red'] = 'Red';

will replaced on:
$txt['puzzle_red'] = 'red';

I do not know why :(

P.S. Ok. I will test it deeply with different languages and will inform you ASAP.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: voy-tech on December 20, 2008, 04:01:41 PM
Good mod  :)

Polish translate:
polish-utf8:

<file name="$themedir/languages/Modifications.polish-utf8.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['puzzle_colors'] = 'Które ze słów ma odpowiedni kolor?';
$txt['puzzle_math'] = 'Wpisz wynik działania (cyframi)';
$txt['puzzle_shapes'] = 'Ile %s ma %s ?';
$txt['puzzle_shapes2'] = 'Ile %s ma %s ?';
$txt['puzzle_sides'] = 'boków';
$txt['puzzle_corners'] = 'kątów';
$txt['puzzle_incomplete'] = 'Nie odpowiedziałeś/aś na pytanie. Spróbuj jeszcze raz.';
$txt['puzzle_incorrect'] = 'Nie odpowiedziałeś/aś poprawnie na pytanie. Spróbuj jeszcze raz.';
$txt['puzzle_antibot'] = 'Odpowiedz poprawnie na poniższe pytanie (zabezpieczenie przed botami):';
$txt['puzzle_red'] = 'Czerwony';
$txt['puzzle_orange'] = 'Pomarańczowy';
$txt['puzzle_yellow'] = 'Żółty';
$txt['puzzle_green'] = 'Zielony';
$txt['puzzle_blue'] = 'Niebieski';
$txt['puzzle_purple'] = 'Fioletowy';
$txt['puzzle_pink'] = 'Różowy';
$txt['puzzle_black'] = 'Czarny';
$txt['puzzle_grey'] = 'Szary';
$txt['puzzle_triange'] = 'Trójkąt';
$txt['puzzle_square'] = 'Kwadrat';
$txt['puzzle_rectangle'] = 'Prostokąt';
$txt['puzzle_pentagon'] = 'Pięciobok (pentagon)';
$txt['puzzle_hexagon'] = 'Sześciobok (hexagon)';
$txt['puzzle_heptagon'] = ' Siedmiobok (heptagon)';
$txt['puzzle_octagon'] = 'Ośmiobok (octagon)';
$txt['puzzle_1'] = 'JEDEN';
$txt['puzzle_2'] = 'DWA';
$txt['puzzle_3'] = 'TRZY';
$txt['puzzle_4'] = 'CZTERY';
$txt['puzzle_5'] = 'PIĘĆ';
$txt['puzzle_6'] = 'SZEŚĆ';
$txt['puzzle_7'] = 'SIEDEM';
$txt['puzzle_8'] = 'OSIEM';
$txt['puzzle_9'] = 'DZIEWIĘĆ';
$txt['puzzle_10'] = 'DZIESIĘĆ';
$txt['puzzle_11'] = 'JEDENAŚCIE';
$txt['puzzle_12'] = 'DWANAŚCIE';
$txt['puzzle_13'] = 'TRZYNAŚCIE';
$txt['puzzle_14'] = 'CZTERNAŚCIE';
$txt['puzzle_15'] = 'PIĘTNAŚCIE';
$txt['puzzle_16'] = 'SZESNAŚCIE';
$txt['puzzle_17'] = 'SIEDEMNAŚCIE';
$txt['puzzle_18'] = 'OSIEMNAŚCIE';
$txt['puzzle_19'] = 'DZIEWIĘTNAŚCIE';
]]></add>
</operation>
</file>


polish

<file name="$themedir/languages/Modifications.polish.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['puzzle_colors'] = 'Które ze słów ma odpowiedni kolor?';
$txt['puzzle_math'] = 'Wpisz wynik działania (cyframi)';
$txt['puzzle_shapes'] = 'Ile %s ma %s ?';
$txt['puzzle_shapes2'] = 'Ile %s ma %s ?';
$txt['puzzle_sides'] = 'boków';
$txt['puzzle_corners'] = 'kątów';
$txt['puzzle_incomplete'] = 'Nie odpowiedziałeś/aś na pytanie. Spróbuj jeszcze raz.';
$txt['puzzle_incorrect'] = 'Nie odpowiedziałeś/aś poprawnie na pytanie. Spróbuj jeszcze raz.';
$txt['puzzle_antibot'] = 'Odpowiedz poprawnie na poniższe pytanie (zabezpieczenie przed botami):';
$txt['puzzle_red'] = 'Czerwony';
$txt['puzzle_orange'] = 'Pomarańczowy';
$txt['puzzle_yellow'] = 'Żółty';
$txt['puzzle_green'] = 'Zielony';
$txt['puzzle_blue'] = 'Niebieski';
$txt['puzzle_purple'] = 'Fioletowy';
$txt['puzzle_pink'] = 'Różowy';
$txt['puzzle_black'] = 'Czarny';
$txt['puzzle_grey'] = 'Szary';
$txt['puzzle_triange'] = 'Trójkąt';
$txt['puzzle_square'] = 'Kwadrat';
$txt['puzzle_rectangle'] = 'Prostokąt';
$txt['puzzle_pentagon'] = 'Pięciobok (pentagon)';
$txt['puzzle_hexagon'] = 'Sześciobok (hexagon)';
$txt['puzzle_heptagon'] = ' Siedmiobok (heptagon)';
$txt['puzzle_octagon'] = 'Ośmiobok (octagon)';
$txt['puzzle_1'] = 'JEDEN';
$txt['puzzle_2'] = 'DWA';
$txt['puzzle_3'] = 'TRZY';
$txt['puzzle_4'] = 'cZTERY';
$txt['puzzle_5'] = 'PIĘĆ';
$txt['puzzle_6'] = 'SZEŚĆ';
$txt['puzzle_7'] = 'SIEDEM';
$txt['puzzle_8'] = 'OSIEM';
$txt['puzzle_9'] = 'DZIEWIĘĆ';
$txt['puzzle_10'] = 'DZIESIĘĆ';
$txt['puzzle_11'] = 'JEDENAŚCIE';
$txt['puzzle_12'] = 'DWANAŚCIE';
$txt['puzzle_13'] = 'TRZYNAŚCIE';
$txt['puzzle_14'] = 'CZTERNAŚCIE';
$txt['puzzle_15'] = 'PIĘTNAŚCIE';
$txt['puzzle_16'] = 'SZESNAŚCIE';
$txt['puzzle_17'] = 'SIEDEMNAŚCIE';
$txt['puzzle_18'] = 'OSIEMNAŚCIE';
$txt['puzzle_19'] = 'DZIEWIĘTNAŚCIE';
]]></add>
</operation>
</file>
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: trebul on January 09, 2009, 06:54:20 PM
Thanks for this mod. I just installed this the other day and so far it's doing its job. No new spambots!
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: The Gimp Pimp on January 10, 2009, 04:49:59 AM
Hello, I'm trying to install the package but don't have zlib so that wasn't possible. To get around this I looked in the package-info.xml and added the code by hand, a little time consuming but I followed it properly. In the end I didn't have the questions show up visually but I did end up having the notification "You did not solve the anti-bot puzzle" (or something like that) pop up after a register attempt. Do you know why this might be? Also, I was wondering why you say we should add the line of code mentioned here (http://custom.simplemachines.org/mods/index.php?mod=1078) BEFORE and then in the xml it is added AFTER.

Maybe I did something silly. Thanks for reading, I might have zlib installed to get around this issue.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: LG on February 11, 2009, 08:03:50 AM
Croatian :
Modifications.croatian-utf8.php
---------------------------------------

$txt['puzzle_colors'] = 'Koja je rije&#269; ista kao i njena boja:';
$txt['puzzle_math'] = 'Koji broj je rje&#353;enje: (napi&#353;i broj, ne tekst)';
$txt['puzzle_shapes'] = 'Koliko %s ima %s ?';
$txt['puzzle_shapes2'] = 'Koliko %s ima %s ?';
$txt['puzzle_sides'] = 'stranica';
$txt['puzzle_corners'] = 'kuteva';
$txt['puzzle_incomplete'] = 'Nisi rije&#353;io/la zagonetku. Probaj ponovo.';
$txt['puzzle_incorrect'] = 'Krivo si rije&#353;io/la zagonetku. Probaj ponovo.';
$txt['puzzle_antibot'] = 'Anti-robot zagonetka';
$txt['puzzle_red'] = 'Crvena';
$txt['puzzle_orange'] = 'Narancasta';
$txt['puzzle_yellow'] = 'Zuta';
$txt['puzzle_green'] = 'Zelena';
$txt['puzzle_blue'] = 'Plava';
$txt['puzzle_purple'] = 'Ljubicasta';
$txt['puzzle_pink'] = 'Roza';
$txt['puzzle_black'] = 'Crna';
$txt['puzzle_grey'] = 'Siva';
$txt['puzzle_triange'] = 'Trokut';
$txt['puzzle_square'] = 'Kvadrat';
$txt['puzzle_rectangle'] = 'Pravokutnik';
$txt['puzzle_pentagon'] = 'Peterokut';
$txt['puzzle_hexagon'] = '&#353;esterokut';
$txt['puzzle_heptagon'] = 'Sedmerokut';
$txt['puzzle_octagon'] = 'Osmerokut';
$txt['puzzle_1'] = 'JEDAN';
$txt['puzzle_2'] = 'DVA';
$txt['puzzle_3'] = 'TRI';
$txt['puzzle_4'] = '&#269;ETRI';
$txt['puzzle_5'] = 'PET';
$txt['puzzle_6'] = '&#353;EST';
$txt['puzzle_7'] = 'SEDAM';
$txt['puzzle_8'] = 'OSAM';
$txt['puzzle_9'] = 'DEVET';
$txt['puzzle_10'] = 'DESET';
$txt['puzzle_11'] = 'JEDANAEST';
$txt['puzzle_12'] = 'DVANAEST';
$txt['puzzle_13'] = 'TRINAEST';
$txt['puzzle_14'] = '&#269;ETRNAEST';
$txt['puzzle_15'] = 'PETNAEST';
$txt['puzzle_16'] = '&#353;ESNAEST';
$txt['puzzle_17'] = 'SEDAMNAEST';
$txt['puzzle_18'] = 'OSAMNAEST';
$txt['puzzle_19'] = 'DEVETNAEST';


-----------------------
Lara
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Chandy on February 14, 2009, 06:04:57 PM
Hello Karlbenson,thx for this great work :) !

I have a question:

It is possible to place images of confirmation, like vBulletin mod?

Example in attatch.

Thx man.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: mikedown on February 20, 2009, 01:54:10 AM
tried using with the HIHA theme sometimes the puzzle doesnt completely load.. help please..
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: mikedown on February 20, 2009, 02:08:53 AM
also mine only shows the equation part...
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: mikedown on February 24, 2009, 10:25:02 AM
anyone?
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: allymcbeal on February 27, 2009, 05:07:35 PM
Hi, I don't have Register.template.php in my new theme, I have to create it? I copy and past from default theme?
Thanks.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Rasyr on March 13, 2009, 09:39:31 AM
Quote from: allymcbeal on February 27, 2009, 05:07:35 PM
Hi, I don't have Register.template.php in my new theme, I have to create it? I copy and past from default theme?
Thanks.

If you do not have a file in a specific Theme, the forum will use the version of the file from the Default Theme. Thus, not having register.template.php in your new theme will not hurt the new theme because the forums will use the default version of that file.

No need to copy it to the new theme.


Onwards!

Great Mod! I like it.

May I may a request for future versions? I would really like to see questions on abbreviations be added or even custom questions.

For example, I run a site for a tabletop rpg company, and being able to include/use questions regarding our products would be of enormous benefit.

Thanks again for the mod!!
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Marcus Forsberg on April 15, 2009, 12:49:14 AM
Okey, guys. Just wanted to let you all know that I've taken over this mod.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: 0bscuridad on April 18, 2009, 12:19:57 AM
Great Works. im sure everyone agrees that this is way better than the human and probably all "anti spammer" modz in here.

But ...
How could i make it so only math (numbers only, no letters) questions/puzzles will be asked. Leave to color and sides puzzles out.

I tryed but i cant find the exact place where puzzle is called.

I have at the moment, quite several users that speak different languages, i think the math puzzle ( numbers only ) would be most friendly on a forum with a diversity of languages.

Any help on this will be greatly apreciated.

I will soon post a Spanish Translated Version for this Puzzle mod.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Qudus on May 02, 2009, 07:10:48 AM
Hi

this is a great mod. But something is a little strange. It works, if I just install the mod, but don't apply it. If I apply it, the textfield to type in the captcha is added a second time to the registration page and no registration is possible anymore, since an error without description is reported.

And the captcha image always contains the same sequence of characters, no matter how often I click the "request new image" link.

I am using SMF 1.1.8 and ABRP 1.2.

Marvin
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Jrdpa on May 21, 2009, 01:58:01 PM
I installed this on version 1.1.9 with the Abc theme (with mods installed) and got this as soon as I clicked register:

An Error Has Occurred!
The letters you typed don't match the letters that were shown in the picture.


I never got a puzzle to try. Any ideas?

Jrdpa
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Jrdpa on May 21, 2009, 02:16:59 PM
Ok so I took out the code you had to enter (posted below), and I am still seeing the same error message. It seems to have broken my registration. What can I do?

Jrdpa

// Start of Anti-bot Registration Puzzles Mod
   echo '<tr valign="top">
            <td width="40%" valign="top">
               <b>'.$txt['puzzle_'.$context['puzzle'][0]].'</b><br />
               '.$txt['puzzle_antibot'].'
            </td>
            <td>
               '. ( empty($context['puzzle'][1]) ? '' : $context['puzzle'][1].'<br />' ) .'
               <input type="text" name="'.$context['puzzle'][2].'" size="30" value="" tabindex="', $context['tabindex']++, '" />
            </td>
      </tr>';
   // End of Anti-bot Registration Puzzles Mod
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Jrdpa on May 21, 2009, 03:08:55 PM
I tried doing the package thing and am being told that it isn't compatible or is corrupted. I'm running 1.1.9. I have other posts in this thread about issues with this mod. It broke my registration.

Jrdpa

Quote from: Sabre™ on December 07, 2008, 03:50:03 PM
@ babylon
Do you still need assistance mate?

@ igforum
Your site is up n running yeah, so it is visible?
Go to your packages section in your admin panel on your site.
Click on download packages, browse for it on your desktop, then click upload.
[THIS] (http://docs.simplemachines.org/) may be of use.

@ jolanda
Since this is your first post in this thread, the only way you will receive replies from it, is if you chose to receive them!
If replies are coming by way of email, you have an unsubscribe link in it too.
Click that, and follow the couple of steps needed.
Or, you could go into your profile, click Notifications, and then unsubscribe there.
Sorry about your turrets also. :)
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Jrdpa on May 23, 2009, 08:53:41 AM
Quote from: karlbenson on May 15, 2008, 06:00:21 PM
Put the mod package (the version you've got in the packages folder on your site) through a package parser
http://www.adrevenueshare.com/parser

This link isn't working.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: .Vapor on May 25, 2009, 10:20:12 PM
Great mod man, thanks
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: CloFan on May 27, 2009, 04:32:50 PM
Having some issues.

Before 1.1.9, this mod worked great; however, ever since the update, I get a bunch of plaintext before anything else in my index.php, which makes it look like the attachment.  I've tried copying over a clean version of index.php, but the text still shows up, so there's something else going on, and it isn't actually in index.php, it just show up there.  Any help?

Edit- Actually, it seems like all mods are doing this- just reimplemented AJAX chat and same thing happens.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: M-DVD on May 27, 2009, 08:59:56 PM
Quote from: CloFan on May 27, 2009, 04:32:50 PM
Having some issues.

Before 1.1.9, this mod worked great; however, ever since the update, I get a bunch of plaintext before anything else in my index.php, which makes it look like the attachment.  I've tried copying over a clean version of index.php, but the text still shows up, so there's something else going on, and it isn't actually in index.php, it just show up there.  Any help?

Edit- Actually, it seems like all mods are doing this- just reimplemented AJAX chat and same thing happens.

Edit your Modifications.languaje.php and move ?> at the end of the file.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: karls on June 04, 2009, 02:55:24 AM
Hi,

I am seeing the same question twice, is this normal please?

So for example:

A square has four sides?
A square has four sides?

Question is repeated...

Karl
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on June 04, 2009, 08:27:04 AM
@ Jrdpa
Do you still require assistance?
If so, could you attach your Register.php located in your sources folder, and your Register.template.php from your default themes folder.
Could you also check if your custom theme has its own Register.template.php.

@ karls
You have duplicate code in your files. You will need to remove the extra code from those files.
Check your Register.template.php, Register.php and Modifications.english.php.

You can see what code to look for, by using the parser on the mods download page, where it states "Manual Install Instructions"
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: karls on June 06, 2009, 02:10:03 AM
Hi,

Ok, I cannot see the files you mention apart from:
Register.template.php and there's also this:
Recent.template.php~

I've added the code to both files.

(in the default theme)

My forum theme was installed by a person... forum is here: http://forum.linkbuilderexpert.com At footer it says:
Theme Green FS however in ftp (/www/forum/Themes) I only see these folders:
babylon
classic
default
display

And no folder has the three files you mention.

Any idea please?

Karl


Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on June 06, 2009, 03:10:14 AM
The Fussilet theme is located [HERE] (http://custom.simplemachines.org/themes/index.php?lemma=910) for future reference and if you have any theme related questions for the author.

Those four folders are all you see in your themes folder?
What is within the display folder?

In any case, your Register.php file is located in your Sources folder, where your packages, themes etc folders are located.
Your Modifications.english.php file is located in your default themes languages folder.

When you locate your Green themes files, check if it has a register.template.php and/or Modifications.english.php within it.
If so, make the necessary changes to them. If it doesnt, then you needn't worry, as it will use the changes you made to the files in your default theme.

If you need further assistance, just post back.

Good luck :)

p.s
you needn't make any changes to the "Recent.template.php~", it has nothing to do with this mod.
Any file that has this at the end of it    ~    is merely a copy of the file of the same name, that doesn't have this   ~
The copy is made before the last edit to the original. You will see others with that squiggle thing after it also.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: linette97 on June 21, 2009, 01:07:18 AM
Thanks for this mod!

I use Dilber theme & I manually had to add the code into the default theme Register.template.php  for some reason the installer failed to install it.  Dilber does not have it's own. But after doing that it works fine!

Type  Action  Description
1. Execute Modification ./Sources/Register.php Test successful
2. Execute Modification ./Themes/default/Register.template.php Test failed
3. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
4. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
5. Execute Modification ./Themes/default/languages/Modifications.english_british.php Test successful
6. Execute Modification ./Themes/default/languages/Modifications.english_british-utf8.php Test successful
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: DreaMTurK on June 24, 2009, 11:05:58 AM
I Need Turkish translation.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: CesarManara on July 27, 2009, 01:10:11 PM
Language portuguese_brazilian on SMF 1.1.10.

Modifications.portuguese_brazilian.php
$txt['puzzle_colors'] = 'Qual palavra é a mesma que a sua cor';
$txt['puzzle_math'] = 'Qual é a soma de (resposta em números)';
$txt['puzzle_shapes'] = 'Quantos %s um %s tem?';
$txt['puzzle_shapes2'] = 'Quantos %s um %s tem?';
$txt['puzzle_sides'] = 'lados';
$txt['puzzle_corners'] = 'cantos';
$txt['puzzle_incomplete'] = 'Você não completou o sistema anti-bot, tente novamente.';
$txt['puzzle_incorrect'] = 'Você respondeu incorretamente ao sistema anti-bot, tente novamente.';
$txt['puzzle_antibot'] = 'Sistema Anti-Bot';
$txt['puzzle_red'] = 'Vermelho';
$txt['puzzle_orange'] = 'Laranja';
$txt['puzzle_yellow'] = 'Amarelo';
$txt['puzzle_green'] = 'Verde';
$txt['puzzle_blue'] = 'Azul';
$txt['puzzle_purple'] = 'Roxo';
$txt['puzzle_pink'] = 'Rosa';
$txt['puzzle_black'] = 'Preto';
$txt['puzzle_grey'] = 'Cinza';
$txt['puzzle_triange'] = 'Triângulo';
$txt['puzzle_square'] = 'Quadrado';
$txt['puzzle_rectangle'] = 'Retângulo';
$txt['puzzle_pentagon'] = 'Pentágono';
$txt['puzzle_hexagon'] = 'Hexágono';
$txt['puzzle_heptagon'] = 'Heptágono';
$txt['puzzle_octagon'] = 'Octógono';
$txt['puzzle_1'] = 'UM';
$txt['puzzle_2'] = 'DOIS';
$txt['puzzle_3'] = 'TRÊS';
$txt['puzzle_4'] = 'QUATRO';
$txt['puzzle_5'] = 'CINCO';
$txt['puzzle_6'] = 'SEIS';
$txt['puzzle_7'] = 'SETE';
$txt['puzzle_8'] = 'OITO';
$txt['puzzle_9'] = 'NOVE';
$txt['puzzle_10'] = 'DEZ';
$txt['puzzle_11'] = 'ONZE';
$txt['puzzle_12'] = 'DOZE';
$txt['puzzle_13'] = 'TREZE';
$txt['puzzle_14'] = 'CATORZE';
$txt['puzzle_15'] = 'QUINZE';
$txt['puzzle_16'] = 'DEZESSEIS';
$txt['puzzle_17'] = 'DEZESSETE';
$txt['puzzle_18'] = 'DEZOITO';
$txt['puzzle_19'] = 'DEZENOVE';
Title: Re: Not seeing Anti-Bot Registration Puzzles v1.2
Post by: philesq on August 15, 2009, 01:50:42 AM
I uploaded the zip file and then clicked on Apply, but I do not see the anti-bot question on the registration page.  I tried turning off the captcha, but I still don't see the question.  I and using the default template on a brand-new install without any other mods.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: marko_andres on August 19, 2009, 03:57:24 PM
version 1.1.10 ?
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: philesq on August 19, 2009, 07:19:43 PM
Quote from: marko_andres on August 19, 2009, 03:57:24 PM
version 1.1.10 ?

Yes, but I just figured out the problem.  I changed the permissions to be writable for all files; reinstalled; and then changed the permissions back to important files.

I wish I could make my own questions.  I have a similar mod on phpBB which allows the admin to create two different questions.  I prefer simple math or color questions.  With every admin creating his or her own questions, every board will have different questions.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Sabre™ on August 19, 2009, 11:52:15 PM
For your own questions, you could look at [THIS] (http://custom.simplemachines.org/mods/index.php?mod=1516) mod for smf 1.1.x
That feature is standard in smf2
Title: Re: Anti-Spam Verification Questions for SMF 1.1.7
Post by: philesq on August 20, 2009, 01:14:44 AM
Thanks!

SMF should use this mod on their own forum.  I can rarely get the captcha right.
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: simon36 on November 14, 2009, 08:13:19 PM
Shame this does not seem to work with 2 RC2
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: lycan.v on December 20, 2009, 03:07:26 AM
yup not working on smf 2rc2.... any chance of getting it work on it...?
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: lycan.v on December 27, 2009, 10:09:43 PM
@mod author: i've rewritten the mod for SMF 2 RC2... its working fine... i was wondering if i can post it... just wanna know the views of mod owner...
Title: Re: Anti-Bot Registration Puzzles v1.2
Post by: Marcus Forsberg on December 28, 2009, 04:25:22 AM
lycan.v, do feel free to send it to me in a PM. I was going to update this in the coming two or so weeks, but I'd love to take a look at yours too. :)
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: Marcus Forsberg on January 01, 2010, 08:00:33 AM
Okay, I've updated this for RC2 myself now. The new package is uploaded to the mod site, tested on a fresh installation of SMF 2.0 RC2.

Changelog (Nothing fancy)


1.2.0.1 (2 entries)                                                          January 1 2010
============================================================================================
January 2010
---------------------------------------------------------------------------------
   * Added support for SMF 2.0 RC2 (Tweaks: Register.php, Register.template.php)
   - Removed support for older versions of SMF 2.0.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: leethepee on January 01, 2010, 08:40:45 AM
Hey just tried to install this on a 1.1.11 version and its coming up: Modification parse error?

Any ideas? Btw it does state it will work on a 1.1.11  :-\
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: Marcus Forsberg on January 01, 2010, 09:53:09 AM
Sorry about that, try the new package, please (I'm not able to test it live ATM but it should work).
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: leethepee on January 01, 2010, 12:30:46 PM
No change  :(
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: Apllicmz on June 20, 2010, 03:47:22 AM
when update dont forget portuguese


<file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">
    <operation>
        <search position="end" />
            <add><![CDATA[
$txt['puzzle_colors'] = 'Que palavra &eacute; a mesma que a sua cor';
$txt['puzzle_math'] = 'Qual &eacute; a sua soma de (como um n&uacute;mero)';
$txt['puzzle_shapes'] = 'Quantos %s voc&ecirc; %s tem?';
$txt['puzzle_shapes2'] = 'Quantos %s voc&ecirc; %s tem?';
$txt['puzzle_sides'] = 'lados';
$txt['puzzle_corners'] = 'cantos';
$txt['puzzle_incomplete'] = 'Voc&ecirc; n&atilde;o completou o anti-bot puzzle. Por favor, tente novamente.';
$txt['puzzle_incorrect'] = 'Voc&ecirc; respondeu incorretamente o anti-bot puzzle. Por favor, tente novamente.';
$txt['puzzle_antibot'] = 'Anti-bot a sua  medida';
$txt['puzzle_red'] = 'Vermelho';
$txt['puzzle_orange'] = 'Laranja';
$txt['puzzle_yellow'] = 'Amarelo';
$txt['puzzle_green'] = 'Verde';
$txt['puzzle_blue'] = 'Azul';
$txt['puzzle_purple'] = 'Roxo';
$txt['puzzle_pink'] = 'Rosa';
$txt['puzzle_black'] = 'Preto';
$txt['puzzle_grey'] = 'Grey';
$txt['puzzle_triange'] = 'Tri&acirc;ngulo';
$txt['puzzle_square'] = 'Quadrado';
$txt['puzzle_rectangle'] = 'Ret&acirc;ngulo';
$txt['puzzle_pentagon'] = 'Pent&aacute;gono';
$txt['puzzle_hexagon'] = 'Hex&aacute;gono';
$txt['puzzle_heptagon'] = 'Hept&aacute;gono';
$txt['puzzle_octagon'] = 'Octógono';
$txt['puzzle_1'] = 'UM';
$txt['puzzle_2'] = 'DOIS';
$txt['puzzle_3'] = 'TRES';
$txt['puzzle_4'] = 'QUATRO';
$txt['puzzle_5'] = 'CINCO';
$txt['puzzle_6'] = 'SEIS';
$txt['puzzle_7'] = 'SETE';
$txt['puzzle_8'] = 'OITO';
$txt['puzzle_9'] = 'NOVE';
$txt['puzzle_10'] = 'DEZ';
$txt['puzzle_11'] = 'ONZE';
$txt['puzzle_12'] = 'DOZE';
$txt['puzzle_13'] = 'TREZE';
$txt['puzzle_14'] = 'QUATORZE';
$txt['puzzle_15'] = 'QUINZE';
$txt['puzzle_16'] = 'DEZESSEIS';
$txt['puzzle_17'] = 'DEZESSETE';
$txt['puzzle_18'] = 'DEZOITO';
$txt['puzzle_19'] = 'DEZENOVE';
]]></add>
    </operation>
</file>

<file name="$themedir/languages/Modifications.portuguese_pt-utf8.php" error="skip">
    <operation>
        <search position="end" />
            <add><![CDATA[
$txt['puzzle_colors'] = 'Que palavra &eacute; a mesma que a sua cor';
$txt['puzzle_math'] = 'Qual &eacute; a sua soma de (como um n&uacute;mero)';
$txt['puzzle_shapes'] = 'Quantos %s voc&ecirc; %s tem?';
$txt['puzzle_shapes2'] = 'Quantos %s voc&ecirc; %s tem?';
$txt['puzzle_sides'] = 'lados';
$txt['puzzle_corners'] = 'cantos';
$txt['puzzle_incomplete'] = 'Voc&ecirc; n&atilde;o completou o anti-bot puzzle. Por favor, tente novamente.';
$txt['puzzle_incorrect'] = 'Voc&ecirc; respondeu incorretamente o anti-bot puzzle. Por favor, tente novamente.';
$txt['puzzle_antibot'] = 'Anti-bot a sua  medida';
$txt['puzzle_red'] = 'Vermelho';
$txt['puzzle_orange'] = 'Laranja';
$txt['puzzle_yellow'] = 'Amarelo';
$txt['puzzle_green'] = 'Verde';
$txt['puzzle_blue'] = 'Azul';
$txt['puzzle_purple'] = 'Roxo';
$txt['puzzle_pink'] = 'Rosa';
$txt['puzzle_black'] = 'Preto';
$txt['puzzle_grey'] = 'Grey';
$txt['puzzle_triange'] = 'Tri&acirc;ngulo';
$txt['puzzle_square'] = 'Quadrado';
$txt['puzzle_rectangle'] = 'Ret&acirc;ngulo';
$txt['puzzle_pentagon'] = 'Pent&aacute;gono';
$txt['puzzle_hexagon'] = 'Hex&aacute;gono';
$txt['puzzle_heptagon'] = 'Hept&aacute;gono';
$txt['puzzle_octagon'] = 'Octógono';
$txt['puzzle_1'] = 'UM';
$txt['puzzle_2'] = 'DOIS';
$txt['puzzle_3'] = 'TRES';
$txt['puzzle_4'] = 'QUATRO';
$txt['puzzle_5'] = 'CINCO';
$txt['puzzle_6'] = 'SEIS';
$txt['puzzle_7'] = 'SETE';
$txt['puzzle_8'] = 'OITO';
$txt['puzzle_9'] = 'NOVE';
$txt['puzzle_10'] = 'DEZ';
$txt['puzzle_11'] = 'ONZE';
$txt['puzzle_12'] = 'DOZE';
$txt['puzzle_13'] = 'TREZE';
$txt['puzzle_14'] = 'QUATORZE';
$txt['puzzle_15'] = 'QUINZE';
$txt['puzzle_16'] = 'DEZESSEIS';
$txt['puzzle_17'] = 'DEZESSETE';
$txt['puzzle_18'] = 'DEZOITO';
$txt['puzzle_19'] = 'DEZENOVE';
]]></add>
    </operation>
</file>
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: MoreBloodWine on August 27, 2010, 08:09:56 PM
Going by the pics on the mod page, would it be to much to ask to add an option that would show all three of the bot questions instead of having to choose just one of them ?
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: iPhoneDestek on September 07, 2010, 06:21:21 PM
translation in turkisch



<file name="$languagedir/Modifications.turkish.php">
<operation>
  <search position="end" />
   <add><![CDATA[
//Anti-Bot-Registration Mod  translation by SirtLanvadisi.net
$txt['puzzle_colors'] = 'Hangi kelime rengi aynıdır';
$txt['puzzle_math'] = 'Toplam sonuc nedir (sayı olarak)';
$txt['puzzle_shapes'] = 'How many %s does a %s have?';
$txt['puzzle_shapes2'] = 'How many %s does an %s have?';
$txt['puzzle_sides'] = 'taraf';
$txt['puzzle_corners'] = 'köşe';
$txt['puzzle_incomplete'] = 'Anti-Bot bulmacası tamamlanmadı. Lütfen yeniden deneyiniz.';
$txt['puzzle_incorrect'] = 'Yanlış Anti-Bot bulmaca yanıtladınız. Lütfen yeniden deneyiniz.';
$txt['puzzle_antibot'] = 'Anti-bot önlemi';
$txt['puzzle_red'] = 'Kırmızı';
$txt['puzzle_orange'] = 'Portagal';
$txt['puzzle_yellow'] = 'Sarı';
$txt['puzzle_green'] = 'Yeşil';
$txt['puzzle_blue'] = 'Mavi';
$txt['puzzle_purple'] = 'Mor';
$txt['puzzle_pink'] = 'Pink';
$txt['puzzle_black'] = 'Siyah';
$txt['puzzle_grey'] = 'Gri';
$txt['puzzle_triange'] = 'Üçgen';
$txt['puzzle_square'] = 'Kare';
$txt['puzzle_rectangle'] = 'Dik Dörtgen';
$txt['puzzle_pentagon'] = 'Beşgen';
$txt['puzzle_hexagon'] = 'Altıgen';
$txt['puzzle_heptagon'] = 'Yedigen';
$txt['puzzle_octagon'] = 'Sekizgen';
$txt['puzzle_1'] = 'BİR';
$txt['puzzle_2'] = 'İKİ';
$txt['puzzle_3'] = 'ÜÇ';
$txt['puzzle_4'] = 'DÖRT';
$txt['puzzle_5'] = 'BEŞ';
$txt['puzzle_6'] = 'ALTI';
$txt['puzzle_7'] = 'YEDİ';
$txt['puzzle_8'] = 'SEKİZ';
$txt['puzzle_9'] = 'DOKUZ';
$txt['puzzle_10'] = 'ON';
$txt['puzzle_11'] = 'ONBİR';
$txt['puzzle_12'] = 'ONİKİ';
$txt['puzzle_13'] = 'ONÜÇ';
$txt['puzzle_14'] = 'ONDÖRT';
$txt['puzzle_15'] = 'ONBEŞ';
$txt['puzzle_16'] = 'ONALTI';
$txt['puzzle_17'] = 'ONYEDİ';
$txt['puzzle_18'] = 'ONSEKİZ';
$txt['puzzle_19'] = 'ONDOKUZ';
// End Anti-Bot-Registration Mod by SirtLanVadisi.net
   ]]></add>
</operation>
</file>




translation in german




<file name="$languagedir/Modifications.german.php">
<operation>
  <search position="end" />
   <add><![CDATA[
//Anti-Bot-Registration Mod  translation by SirtLanvadisi.net
$txt['puzzle_colors'] = 'Welches Wort hat die gleiche Farbe';
$txt['puzzle_math'] = 'Was ist der Summe der (als Zahl)';
$txt['puzzle_shapes'] = 'How many %s does a %s have?';
$txt['puzzle_shapes2'] = 'How many %s does an %s have?';
$txt['puzzle_sides'] = 'Seiten';
$txt['puzzle_corners'] = 'Ecken';
$txt['puzzle_incomplete'] = 'Sie haben nicht die komplette Anti-Bot-Puzzle. Bitte versuchen Sie es erneut.';
$txt['puzzle_incorrect'] = 'Sie haben falsch beantwortet die Anti-Bot-Puzzle. Bitte versuchen Sie es erneut..';
$txt['puzzle_antibot'] = 'Anti-Bot Massnahme';
$txt['puzzle_red'] = 'Rot';
$txt['puzzle_orange'] = 'Orange';
$txt['puzzle_yellow'] = 'Gelb';
$txt['puzzle_green'] = 'Grün';
$txt['puzzle_blue'] = 'Blau';
$txt['puzzle_purple'] = 'Lila';
$txt['puzzle_pink'] = 'Rosa';
$txt['puzzle_black'] = 'Schwarz';
$txt['puzzle_grey'] = 'Grau';
$txt['puzzle_triange'] = 'Dreieck';
$txt['puzzle_square'] = 'Quadrad';
$txt['puzzle_rectangle'] = 'Rechtseck';
$txt['puzzle_pentagon'] = 'Fünfeck';
$txt['puzzle_hexagon'] = 'Sechseck';
$txt['puzzle_heptagon'] = 'Siebeneck';
$txt['puzzle_octagon'] = 'Achteck';
$txt['puzzle_1'] = 'EINS';
$txt['puzzle_2'] = 'ZWEI';
$txt['puzzle_3'] = 'DREI';
$txt['puzzle_4'] = 'VIER';
$txt['puzzle_5'] = 'FÜNF';
$txt['puzzle_6'] = 'SECHS';
$txt['puzzle_7'] = 'SIEBEN';
$txt['puzzle_8'] = 'ACHT';
$txt['puzzle_9'] = 'NEUN';
$txt['puzzle_10'] = 'ZEHN';
$txt['puzzle_11'] = 'ELF';
$txt['puzzle_12'] = 'ZWÖLF';
$txt['puzzle_13'] = 'DREIZEHN';
$txt['puzzle_14'] = 'VIERZEHN';
$txt['puzzle_15'] = 'FÜNFZEHN';
$txt['puzzle_16'] = 'SECHSZEHN';
$txt['puzzle_17'] = 'SIEBZEHN';
$txt['puzzle_18'] = 'ACHTZEHN';
$txt['puzzle_19'] = 'NEUNZEHN';
// End Anti-Bot-Registration Mod by SirtLanVadisi.net
   ]]></add>
</operation>
</file>

Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: parsa on September 18, 2010, 11:00:47 PM
This is the type of mod I need to battle bots that continually try to register, and the screen shots look great. Unfortunately, when I added the zip package to my SM forum, I get quirky registration boxes. The shapes and colors don't show up at all, just a blank box under the SMF letter captcha entry box. The math equations sometimes look OK, but others are like 3+-= or -+2=
I looked at the files on my server, and they seem identical to the manual installation instructions, so I'm not sure what's wrong.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: parsa on September 26, 2010, 12:22:06 AM
I'm having problems getting this to work. Some of the math equations look fine, such as: 14 - 12 - 1 =
However, sometimes I get:   - 1 - =
or: + + 7 =

The other two puzzles just give an entry box with no puzzle at all.

I'm using 1.1.11

americanroads.us/forum/
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: Neo_TE on November 07, 2010, 03:56:44 AM
Quote from: parsa on September 26, 2010, 12:22:06 AM
I'm having problems getting this to work. Some of the math equations look fine, such as: 14 - 12 - 1 =
However, sometimes I get:   - 1 - =
or: + + 7 =

The other two puzzles just give an entry box with no puzzle at all.

I'm using 1.1.11

americanroads.us/forum/
i think it was programmed in that way to confuse bots.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: parsa on November 08, 2010, 03:37:07 PM
I doubt that it's intended to also be confusing to humans. Some of the puzzles (such as the color ones) are just blank, and you have to refresh the thing to even see one of the mathematical puzzles.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: Anglis on November 20, 2010, 02:38:07 PM
Hi,

What do I have to do to get it work on different theme and my forum is on  different language, will this cause any problems?

Thanks in advance,

A.

Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: hcfwesker on December 08, 2010, 09:01:54 PM
Any chance for an smf 2 RC4 update? :)
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: impreza on December 17, 2010, 11:25:49 AM
Did you manually install the operating manual for fashion to 1.1.12. Me after a manual installation of the mod does not work does not show up question on the registration page when you install it manually.

Maybe something is wrong in this - in the code to manually install for 1.1.12

Does anyone have something like it, tested it several times and each time is the same.

Please help


Edited:

But I made a mistake manually adding work - to clean a forum to present my have some problems. But I think it stems from my forum. As something that I will know here.

Sorry for the confusion
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: italo_anonimo on March 26, 2011, 05:15:41 PM
thans for mod, its very necessary, personally recommend removing (for admins forum)  'shapes'  function (confuses users)

smf 2.0 rc4

thanks again...
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: pikeman on April 27, 2011, 02:51:57 PM
Srpski - Serbian:

// Anti-Bot Registration Puzzles
$txt['puzzle_colors'] = 'Koja je re&#269; ista kao i njena boja:';
$txt['puzzle_math'] = 'Koji broj je re&#353;enje: (napi&#353;i broj, ne tekst)';
$txt['puzzle_shapes'] = 'Koliko %s ima %s ?';
$txt['puzzle_shapes2'] = 'Koliko %s ima %s ?';
$txt['puzzle_sides'] = 'stranica';
$txt['puzzle_corners'] = 'uglova';
$txt['puzzle_incomplete'] = 'Nisi re&#353;io/la zagonetku. Probaj ponovo.';
$txt['puzzle_incorrect'] = 'Pogre&#353;no si re&#353;io/la zagonetku. Probaj ponovo.';
$txt['puzzle_antibot'] = 'Anti-bot zagonetka';
$txt['puzzle_red'] = 'Crvena';
$txt['puzzle_orange'] = 'Narandzasta';
$txt['puzzle_yellow'] = 'Zuta';
$txt['puzzle_green'] = 'Zelena';
$txt['puzzle_blue'] = 'Plava';
$txt['puzzle_purple'] = 'Ljubicasta';
$txt['puzzle_pink'] = 'Roza';
$txt['puzzle_black'] = 'Crna';
$txt['puzzle_grey'] = 'Siva';
$txt['puzzle_triange'] = 'trougao';
$txt['puzzle_square'] = 'kvadrat';
$txt['puzzle_rectangle'] = 'pravougaonik';
$txt['puzzle_pentagon'] = 'petougao';
$txt['puzzle_hexagon'] = '&#353;estougao';
$txt['puzzle_heptagon'] = 'sedmougao';
$txt['puzzle_octagon'] = 'osmougao';
$txt['puzzle_1'] = 'jedan';
$txt['puzzle_2'] = 'dva';
$txt['puzzle_3'] = 'tri';
$txt['puzzle_4'] = '&#269;etiri';
$txt['puzzle_5'] = 'pet';
$txt['puzzle_6'] = '&#353;est';
$txt['puzzle_7'] = 'sedam';
$txt['puzzle_8'] = 'osam';
$txt['puzzle_9'] = 'devet';
$txt['puzzle_10'] = 'deset';
$txt['puzzle_11'] = 'jedanaest';
$txt['puzzle_12'] = 'dvanaest';
$txt['puzzle_13'] = 'trinaest';
$txt['puzzle_14'] = '&#269;etrnaest';
$txt['puzzle_15'] = 'petnaest';
$txt['puzzle_16'] = '&#353;esnaest';
$txt['puzzle_17'] = 'sedamnaest';
$txt['puzzle_18'] = 'osamnaest';
$txt['puzzle_19'] = 'devetnaest';
// End of Anti-Bot Registration Puzzles
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: yankeestonk on April 30, 2011, 10:57:45 AM
will this work on 1.1.13 ? with PHP4?  and can I auto install? Not up to speed on the manual installation yet.

Thanks!
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: Chris K on June 14, 2011, 10:35:28 AM
When I try and install this mod on my newly upgraded SMF 1.14 to 2.0 I get this error:
2.    Execute Modification    .\Themes\default/Register.template.php    Test failed
1.    Replace    .\Themes\default/Register.template.php    Test failed1

The mod was working fine on 1.13/1.14 ? 
Is this just a security / permissions bug ?
This is installed on my server at home (running Windows Server 2003), how do I do permissions under Windows O/S -0 cant really FTP to it, as its local
Seem to get the same errors when I apply any other anti-bot mods too :( (all worked under 1.14.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: rad1701 on June 20, 2011, 04:34:19 PM
Yeah, I'm looking for a good anti-bot registration mod too for 2.0.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: Chris K on June 20, 2011, 07:51:21 PM
Keycaptcha has now been upgraded for SMF 2.0 (Gold)
I tried the SMF 2. RC5 edition they had and it wouldnt work, so I spent 4 days working with them to get it sorted, it now works fine, their mod is free and and has no fees or charges to use.
You can check their site here: https://www.keycaptcha.com/ - also listed under this site under Mods for Anti-Spam, or if you want to see it working on SMF 2.0 Gold, you can test drive it on my site.

Access is free on my site - but no posting allowed until I upgrade access, so all you can do is register and activate your account - I will delete it after:
http://www.energize-group.co.uk/smf

Let me know if you do test drive my site, its a slow server but then its old and only used for friends I know so no traffic if any - plus its good for me to use as a test box to customise it before I do my main sites.

Chris

Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: Jessica. on July 04, 2011, 08:42:08 PM
update for 2.0 final please?
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: ROTFLMAO on August 12, 2011, 03:08:45 AM
Quote from: Chris K on June 20, 2011, 07:51:21 PMtheir mod is free and and has no fees or charges to use.
You can check their site here: https://www.keycaptcha.com/
Magic
Check it now - "Any sufficiently advanced technology is indistinguishable from magic"

It is "free" only if you do not mind it serving advertising puzzles + ads link thru
If you mind, you have to pay or uninstall plugin
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: KeyCAPTCHA on August 14, 2011, 07:44:18 AM
Quote from: ROTFLMAO on August 12, 2011, 03:08:45 AM
It is "free" only if you do not mind it serving advertising puzzles + ads link thru
If you mind, you have to pay or uninstall plugin
It's a lie.
Each webmaster is able to deactivate an advertisement in KeyCAPTCHA on his or her website.
Our screenshot illustrates this option.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: richardwbb on March 12, 2012, 07:53:07 PM
Quote from: Jessica. on July 04, 2011, 08:42:08 PM
update for 2.0 final please?

Issue is only Register.template.php, this php file from 2.0 RC2 to 2.0.2 looks totally different now.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: KeyCAPTCHA on March 12, 2012, 11:59:02 PM
Quote from: richardwbb on March 12, 2012, 07:53:07 PM

Issue is only Register.template.php, this php file from 2.0 RC2 to 2.0.2 looks totally different now.

Hello,

Do you need our help to install KeyCAPTCHA on your SMF 2.0 RC2?

If so please open a support ticket at https://www.keycaptcha.com

Best regards,
KeyCAPTCHA
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: sildenafil on March 13, 2012, 01:45:09 AM
This installed flawlessly, and works correctly.

Thanks.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: richardwbb on March 13, 2012, 06:01:52 PM
Yeah I was even able to use the Register.template.php from 2.0 RC2 on a 2.0.2 install and tested it succesfully, but my PHP knowledge isn't very good so I don't know how to implement it in a Register.template.php from a 2.0.2 installation, it all is way different written.

But I find the ABRP quite good and reliable.

For the Captcha, that looks just great, but I administer a non profit site.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: KeyCAPTCHA on March 14, 2012, 01:25:05 AM
Quote from: richardwbb on March 13, 2012, 06:01:52 PM
Yeah I was even able to use the Register.template.php from 2.0 RC2 on a 2.0.2 install and tested it succesfully, but my PHP knowledge isn't very good so I don't know how to implement it in a Register.template.php from a 2.0.2 installation, it all is way different written.

But I find the ABRP quite good and reliable.

KeyCAPTCHA mod may be installed on SMF 2.0.2 without any tricks.
If you need our help please open a support ticket on our official website.

Best regards,
KeyCAPTCHA
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: richardwbb on March 14, 2012, 07:38:47 PM
You are correct Keycaptcha, but you are hijacking.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: KeyCAPTCHA on March 15, 2012, 02:38:56 AM
Quote from: richardwbb on March 14, 2012, 07:38:47 PM
You are correct Keycaptcha, but you are hijacking.

What did you mean by hijacking?

Best regards,
KeyCAPTCHA
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: richardwbb on March 15, 2012, 11:32:04 PM
This topic is about the ABRP, not your commercial product.
Title: Re: Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)
Post by: KeyCAPTCHA on March 16, 2012, 12:32:34 AM
Quote from: richardwbb on March 15, 2012, 11:32:04 PM
This topic is about the ABRP, not your commercial product.

Ouch. I thought that the dialog is about our service after that post http://www.simplemachines.org/community/index.php?topic=219439.msg3082873#msg3082873

My apologies to the author of ABRP.