Anti-Spam Verification Questions for SMF 1.1.x

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

Previous topic - Next topic

coffee

i just have to say thanks again to Depracated and Sabre.
today was the first day i didn't have 50+ new members attempting to join.
all it took was one simple question in the registration field.
it really works! and i am so happy.

this should be included standard in all future smf versions!

danishj

Hello

I want to say Thanks to Depracated for this amazing anti-spam bots.

I have a suggestion. You should add a function to this mod. there should be 8-10 questions options and it should randomly choose 3 questions for registrations. it'll create more trouble for spambot.

and I want to tell you that BBC codes are not working in questions, what should I do?

Sabre™

Quote from: danishj on December 09, 2008, 07:04:39 AMI have a suggestion. You should add a function to this mod. there should be 8-10 questions options and it should randomly choose 3 questions for registrations. it'll create more trouble for spambot.

Reply =

Quote from: Deprecated on November 25, 2008, 01:40:08 PM
I guess you're asking for rotating questions or random N out of M questions. I'm sorry but that would be very complicated in terms of coordinating the template and execution files, and I don't feel that the added complexity would present any additional barrier against spambots.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Luka.P.

Hi there!

Many thanks for the mod!
Running SMF 1.1.7 with language "German" I encounter just one problem with the mod: In the settings no settings labels are shown. Can I fix this somehow myself?

Cheers,
Luka

JimM

@Luka.P. - most likely you will need to translate these text strings from ./Themes/default/languages/Modifications.english.php into German.


$txt['anti_spam_ver_ans_col'] = 'Answer';
$txt['anti_spam_ver_coppa'] = 'COPPA';
$txt['anti_spam_ver_descr'] = 'If you want users to answer verification questions in order to stop spam bots you should setup a number of questions in the table below. You should pick relatively simple questions. Answers are not case sensitive. You may use BBC in the questions for formatting. To remove a question simply delete the contents of that line.';
$txt['anti_spam_ver_enable'] = 'Enable verification questions';
$txt['anti_spam_ver_failed'] = 'You did not answer the verification questions correctly.';
$txt['anti_spam_ver_ques_col'] = 'Question';
$txt['anti_spam_ver_title'] = 'Verification Questions';
Jim "JimM" Moore
Former Support Specialist

Freederic

Hello,
I use this Mod and no problem for installation.
Mainly ... everything is OK , but

But BBcode not used on the questions themselves.
I can use <u> but <color=red> don't display the word in red :(

Some idea to fix ?
Thanks

Flapman

I am having trouble installing it.  I can't seem to get it to work.

Sabre™

A little more information please mate :)

Did you have any errors when installing it?
Are you using SMFs default theme, or another(custom)?
Is it only a certain area where you do not see any change?
etc... etc...

The more information you provide, the easier it is to assist you.
Use [THIS] as a guide :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


gypsydust

I installed it but got code errors at the top of every page!

Actually, every page now reads:

$txt['anti_spam_ver_ans_col'] = 'Answer'; $txt['anti_spam_ver_coppa'] = 'COPPA'; $txt['anti_spam_ver_descr'] = 'If you want users to answer verification questions in order to stop spam bots you should setup a number of questions in the table below. You should pick relatively simple questions. Answers are not case sensitive. You may use BBC in the questions for formatting. To remove a question simply delete the contents of that line.'; $txt['anti_spam_ver_enable'] = 'Enable verification questions'; $txt['anti_spam_ver_failed'] = 'You did not answer the verification questions correctly.'; $txt['anti_spam_ver_ques_col'] = 'Question'; $txt['anti_spam_ver_title'] = 'Verification Questions';

Somehow, even after I uninstalled it, it still reads this.

It got inserted above the HTML code.

Could someone tell me where to find this to remove it?


We were really hoping this would solve our recent Spam problem. We were hacked last week and fully restored.

Now, we have this.

I appreciate any suggestions or help. Thanks so much!

The Daily Appreciations Team

Sabre™

So the mod is uninstalled yes?

Then go into your Modifications.english.php in your languages file.
Themes/default/languages/Modifications.english.php

Right at the bottom you will see this
$txt['anti_spam_ver_ans_col'] = 'Answer';
$txt['anti_spam_ver_coppa'] = 'COPPA';
$txt['anti_spam_ver_descr'] = 'If you want users to answer verification questions in order to stop spam bots you should setup a number of questions in the table below. You should pick relatively simple questions. Answers are not case sensitive. You may use BBC in the questions for formatting. To remove a question simply delete the contents of that line.';
$txt['anti_spam_ver_enable'] = 'Enable verification questions';
$txt['anti_spam_ver_failed'] = 'You did not answer the verification questions correctly.';
$txt['anti_spam_ver_ques_col'] = 'Question';
$txt['anti_spam_ver_title'] = 'Verification Questions';


Remove it, then reinstall the mod.

If it occurs again, go into that same template, and you will see the above code is placed before  ?>...
move the  ?>  to the bottom of the page.

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


gypsydust

That worked like a charm SABRE!

Thanks so much for your help! It is invaluable!

The Daily Appreciations Team! ;D

Sabre™

Anytime, and my pleasure :)

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


Freederic

Quote from: Frederic on December 29, 2008, 05:38:55 AM
Hello,
I use this Mod and no problem for installation.
Mainly ... everything is OK , but

But BBcode not used on the questions themselves.
I can use <u> but <color=red> don't display the word in red :(

Some idea to fix ?
Thanks
So, some more details:

On the registration page, anti-spam question could be "make-up" with BBcodes !
On this first image, there is my setup screen. Question are, of course changed for simplest sample and english readable :)


The result is not as I expected :


All the installation I made was really step by step as the 'howto' installation process.
The add I made is copy the 'English modification file' to 'French' copy/paste and rename it anything else.

So, please, where is my error?

Freederic


Sabre™

Hi mate.
This is a problem noone has addressed yet, and I havent even looked at why it wont parse.
Someone with more knowledge may look into it, but since its of no priority for myself, I wont even nurture the headache lol ;)

But until then, Im afraid there is no answer for you...... yet
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


william777

Just installed the mod and everything went smoothly.
Although I had quite a number of themes on my site, I need only to edit the register.template.php and modifications.english.php files of just a couple.
Thanks to Deprecated for such a fine mod.

sheryltoo

I just tried to install this mod and got this message:

Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I have no idea what that means or what I'm suppose to do.

If I wanted to do this all manually, would I just put the codes in my files in the places the manual instructions point to?
And where do I ask my questions?
Sheryl

Freederic

Quote from: Frederic on January 03, 2009, 05:00:56 AM
Quote from: Frederic on December 29, 2008, 05:38:55 AM
Hello,
I use this Mod and no problem for installation.
Mainly ... everything is OK , but

But BBcode not used on the questions themselves.
I can use <u> but <color=red> don't display the word in red :(

Some idea to fix ?
Thanks
So, some more details:

On the registration page, anti-spam question could be "make-up" with BBcodes !
On this first image, there is my setup screen. Question are, of course changed for simplest sample and english readable :)


The result is not as I expected :


All the installation I made was really step by step as the 'howto' installation process.
The add I made is copy the 'English modification file' to 'French' copy/paste and rename it anything else.

So, please, where is my error?
up

sheryltoo

I finally figured out how to install this on my test forum, but want to install it on a forum for my sub domain but I keep getting this error message:
The package you tried to upload either is not a valid package or has become corrupted.

I tried downloading a new zip file but got the same error message?
Sheryl

Kenny01

I'm getting this errors while trying to install the mod.

1.     Execute Modification     modification.xml     Modification parse error
2.    Execute Modification    -               Modification parse error
3.    Execute Code    add_default_settings.php

I believe it's because i just moved from a share hosting to a dedicated server and the settings aren't the same.

Any idea?

Advertisement: