Anti-Bot Registration Puzzles v1.2.0.1 (Updated for SMF 2.0 RC2)

Started by Marcus Forsberg, January 28, 2008, 07:52:11 PM

Previous topic - Next topic

Jrdpa

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

Jrdpa

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

Jrdpa

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] 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. :)

Jrdpa

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 [nofollow]

This link isn't working.

.Vapor


CloFan

#105
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.

M-DVD

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.

karls

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

Sabre™

@ 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"
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


karls

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 [nofollow] 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



Sabre™

#110
The Fussilet theme is located [HERE] 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.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


linette97

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
Watch Documentaries Online!


Yesterday is history,
Tomorrow is a mystery,
Today is a gift,
That's why it's called the Present.

DreaMTurK

є¢єℓ тαяℓαм σℓѕαη güℓüмѕєя вαнçєη∂є güℓ вιтєяιм ..!



"qeceYe seLam YaLNızLıqa Devamm"

DreaMTurK

CesarManara

#113
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';

philesq

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.

marko_andres


Version SMF: 2.0 RC3
Theme        : Inferno
Portal          : Simple Portal 2.3.2


Por un cambio de conciencia --> http://thezeitgeistmovement.com/

philesq

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.

Sabre™

For your own questions, you could look at [THIS] mod for smf 1.1.x
That feature is standard in smf2
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


philesq

Thanks!

SMF should use this mod on their own forum.  I can rarely get the captcha right.

simon36

Shame this does not seem to work with 2 RC2

Advertisement: