Anti-Spam Verification Questions for SMF 1.1.x

Started by Deprecated, November 23, 2008, 01:37:46 PM

Previous topic - Next topic

Neons

Howdy!

This looks like a great mod! I've been having a lot of trouble with spammers. I have guest posting enabled in my "Recruitment" forum, but it attracts a lot of spammers.
Can't wait for release of 2.0.

I'll be happy to help out with any testing once I get home from work.

Keep it up! :)

cellax

Code (Italian translation) Select

$txt['anti_spam_ver_ans_col'] = 'Risposta';
$txt['anti_spam_ver_coppa'] = 'COPPA';
$txt['anti_spam_ver_descr'] = 'Se vuoi che gli utenti rispondano a delle domande di verifica per fermare gli spam bot dovresti impostare un numero di domande nella tabella sotto. Dovresti scegliere delle domande relativamente facili. Le risposte non sono sensibili al maiuscolo. Puoi usare il BBC nelle domande per formattarle. Per rimuovere na domanda semplicemente cancella il contenuto della linea.';
$txt['anti_spam_ver_enable'] = 'Attiva domande di verifica';
$txt['anti_spam_ver_failed'] = 'Non hai risposto correttamente alle domande di verifica.';
$txt['anti_spam_ver_ques_col'] = 'Domanda';
$txt['anti_spam_ver_title'] = 'Domande di verifica';


Nice mod, I hate spam bot.

thx

hanzie

#82
Nice mod, install went smooth and easy, no errors.
I added 4 questions and tested it. It all seems to work.

Only now i have this error in my log:


8: Undefined index: anti_spam_ver_ans_2
forum/Sources/Register.php
Line: 165


I prefer a clean error log, so do you have an idea how to fix this error?

Thanks in advance!

EDIT: It seems like the mod doesn't like blank answers in my questions ( i used your 3 example questions). I guess that went wrong.  :)

Sabre™

#83
hahaa
Im not sure if you are aware or not, but you have just answered [THIS] for me.
Thanks mate :)
I was thinking I carried over the bug from the first installation/version of this.
It is recommended to have an answer for each question anyway.

@ coffee
Sorry for the delay, I had my mates show up with a shhhh load of beer and we went sk8n at our local.  My thumping head is regretting it lol ;)
Anyho...  there is nothing wrong with your file.
By what I see, this mod should be functioning as normal.
So to cover all avenues, you see nothing at all of this mod?
I mean there are no text boxes to type in?
Or there are, but there is no text?

Could you take a screeny of your settings page please?
Admin >> Registration >> Settings

I understand youve explained this, but before I hand you to the MA(mod author) I want to make sure we've covered everything, and he can refer to our notes/posts
Cheers :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


nstarz

Hello,

I have followed the instructions at http://custom.simplemachines.org/mods/index.php?action=parse and modified 5 files. Also I ran the last program and got "Database settings successfully made!"

But when I register at hxxp:pangya.nu/forum/index.php?action=register [nonactive] I get a

QuoteBots are not allowed to register. Please confirm that you are human in order to register

I put 'YES' for the answer "Are You Human?:" question.

I have attach the file that I modified.

Is there a step I forgot?

Thank you for any help.

segrob

#85
Translation  Portuguese

$txt['anti_spam_ver_ans_col'] = 'Resposta';
$txt['anti_spam_ver_coppa'] = 'Valor';
$txt['anti_spam_ver_descr'] = 'Se você quiser que os usuários respondão as perguntas de verificação, a fim de parar os spam bots você deverá configurar uma série de questões no quadro abaixo. Você deve escolher questões relativamente simples. Respostas não são case sensitive. Você pode usar a BBC em questões de formatação. Para remover uma questão simplesmente apagar o conteúdo dessa linha.';
$txt['anti_spam_ver_enable'] = 'Permitir uma verificação de perguntas';
$txt['anti_spam_ver_failed'] = 'Você não respondeu as perguntas corretamente verifique.';
$txt['anti_spam_ver_ques_col'] = 'Pergunta';
$txt['anti_spam_ver_title'] = 'Verificação Perguntas';


Thanks  Deprecated  for the MOD


coffee

#86
Quote from: Sabre™ on November 27, 2008, 05:27:11 PM
Could you take a screeny of your settings page please?
Admin >> Registration >> Settings

thanks! i was busy doing the thanksgiving thing anyway. appreciate your help. screenshot attached. thank you : )

gos


hi,

I just installed this mod and works great but I can't find settings under Admin -> Members -> Registration -> Settings when logged in as admin (i did get an admin page for this mod while installing though).  I checked  ManageRegistration.php and the settings function is there with antispam code etc. ? 

best regards, gos

Simple Machinist

#88
Hooray for Deprecated, you are the SMF Knight In Shining Armor!

Anyway, I tried to install it (automatically) and the install was sucessful, but the settings never showed up under Registraiton > Settings. As a result, I have taken the Mod out for now since I can't seem to configure it.

I am not sure though if this is a theme issue and if I need to add some additional code to some of my theme's templates?

I am running Themis and SMF 1.1.7

Any thoughts please?

forumite

#89
The mod only affects the Default theme. The mod page will show you what code to change in the template(s) unique to your theme.

Simple Machinist

Thank you forumite. Marvelous. I got it working now and works great. Goodbye Spambots!!!!

Love it!

forumite


Sabre™

Quote from: Marc Marc on November 29, 2008, 11:17:28 AM
Thank you forumite. Marvelous. I got it working now and works great. Goodbye Spambots!!!!

What did you do differently, as others are experiencing the same problem.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


villasg

Hello i receive error in 1.1.7 in Register.php



Maybe the prob is from " Are You Human? Anti-Bot Registration Check      1.3  "
This is allready installed in my forum.

This the others mod in my forum


And this is my Register.php

Sabre™

You got the error because another mod has touched that area first.
No big problem :)
Just install the mod even though it has displayed the error, then upload the attached template.

Let us know how it went.

Cheers
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Sabre™

@ nstarz

That error has nothing to do with this mod package.
Please direct your question to the correct thread, which is located [HERE]

Cheers, n see ya there  ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


forumite

#96
Quote from: SabreWhat did you do differently...

Marc manually edited the code in the Register.template.php template in his custom theme. The other templates changed by the mod are common to all themes. The mod installs to the default theme, and therefore changes the "wrong" Register.template.php template if you have a custom theme.

The mod page has instructions on what code needs to be added or replaced in which template. The same information is in the modification.xml file included with the mod although, in this case, the mod author switched the syntax in the instructions on the mod page - see this message.

Sabre™

Quote from: Marc Marc on November 29, 2008, 10:54:29 AM
...but the settings never showed up under Registraiton > Settings.

Yes, I understand quite well the workings of custom themes etc.
I'm referring to the quoted statement, as  Register.php  is located inside of the sources folder, and is therefore called for by any theme.
I don't see how modifying the  Register.template.php  of a custom theme fixes this, so I am asking how it was achieved.

What does your link have to do with my question?
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


forumite

#98
Sabre,

Sorry if I inadvertently stepped on your toes.

The discussion went like this:


  • Marc reported his problem here

  • I responded with what I thought was his problem and the solution here. It wasn't rocket science since Marc mentioned he was using a custom theme, and the mod changed the Register.template.php in the default theme, not in marc's custom theme.

  • Marc thanked me and said it worked here.

  • You asked what Marc did differently here.

  • I explained what he did (assuming he followed my suggestion, which he apparently did).


QuoteI'm referring to the quoted statement, as  Register.php  is located inside of the sources folder, and is therefore called for by any theme. I don't see how modifying the  Register.template.php  of a custom theme fixes this, so I am asking how it was achieved.

I didn't see Register.php mentioned in any of the messages I responded to.

QuoteWhat does your link have to do with my question?

Nothing, but it does have relevance to my suggested solution which Marc used and for which you asked for an explanation.

Sabre™

Mate, I'm simply asking a question and youre not stepping on anyones toes :)

Anyway.. back to his original problem that has been sorted.

Did you read his comment I quoted?
That is a problem many people have been experiencing, and you will see that by reading the last couple of pages, so there is no need for me to link you to them.

Now Im asking how, as I have thought for that area to be modified from the Register.php, but I may be wrong.  :-\
To make it clear, it is the area in your  admin panel >> Registration >> Settings  that people are having problems with.
As Marc had previously stated, and I had quoted.
Here it is again, incase somehow you missed it

Quote from: Marc Marc on November 29, 2008, 10:54:29 AM....the settings never showed up under Registraiton > Settings.

Anyways, I'll have a proper look when I have time.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Advertisement: