Set own checking question & answer (KEY) in registration (General)

by M8, Thursday, November 29, 2018, 14:53 (1973 days ago)

Set own checking question and answer (KEY) in registration and guest posting

Hi
The most wanted thing that I need to do.
Please if it is not hard for you, help me : )
How can I set at least one of my own question and the answer to it, instead of a mathematical question when registering and sending a post as a guest?
Please tell me which files to edit. If you can specify everything how to do it.
Sorry for my English.

This is necessary to protect against bots, some can bypass the math question and send messages as a guest.
A picture with characters too difficult for guests to edit every time.

And most importantly, to be able to automatically register a group of people by handing out a key to them, by mail.
And guests could only read.
Please!!!
: ) I tried to edit some files, but it is hard for me.

Ideally in future, release the option of several questions and with the ability to write several possible answers for each. (europe, europ)
Not case sensitive.

Thank you very much for this great forum. Release ...14 !

Avatar

Set own checking question & answer (KEY) in registration

by Auge ⌂, Friday, November 30, 2018, 12:18 (1973 days ago) @ M8

Hello

Set own checking question and answer (KEY) in registration and guest posting

How can I set at least one of my own question and the answer to it, instead of a mathematical question when registering and sending a post as a guest?

This is impossible in the current captcha class. Especially your last idea to have more than one answer (for misspelling and/or different languages?) would be far from easy to implement. And it would be a mess to maintain by a forum admin/a forum operator.

And most importantly, to be able to automatically register a group of people by handing out a key to them, by mail.

I don't know, if it is a good idea to register users without their will. To be able to invite further people could be a nice feature. This would make the people aware of the instance and it encourages them to follow the invitation or not by their own will.

And guests could only read.

This is already possible by setting the access to a forum to all (setting access_for_users_only = 0) and the right to write postings to registered users only (setting entries_by_users_only = 1).

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

Set own checking question & answer (KEY) in registration

by M8, Friday, November 30, 2018, 18:14 (1972 days ago) @ Auge

Thank you

To be able to invite further people could be a nice feature.

I mean that. We can make GROUPS. I especially invite people who wants to get key. I can invite people that already being in forum. I can do groups in one click by sending them key.
There are people who do not follow the rules in some projects. For example, projects about astrology and predictions have a lot of inappropriate people. I can give them a separate open access forum.

KEY only in english and numbers.

So, second question is, if I can (and how?) easily check users passwords for last 6 (or more) digits if they similar for key 123456 ? And it will be secure and simple. Example user enters password "mlvjjk1234" - false. "vhjkl123456" - true. But in database we have passwords without key. So in login page we dont need to enter key.


I solved my problem by this: (but have some problems, read after)

In Modules - Captcha - Captcha.php
Find this and add *12345;//* where I did here but without "*"
______________
// for math CAPTCHA:
function generate_math_captcha($number1from=1,$number1to=10,$number2from=0,$number2to=10)
{
$number[0] = rand($number1from,$number1to);
$number[1] = rand($number2from,$number2to);
$number[2] = *12345;//* number[0] + $number[1];
return $number;
}
_______________


So we have KEY. But only numbers. It is ok.
Question, is it secure? Can someone of visitors get it without permision easily?

But problem here, I dont find where (file and line) I can change text in front of entering field for numbers. To tell people "Enter key" and delete the mathematics question. Please help.

About more than one answer. We can compare answer to several variables.

Your forum for today is maybe the best.
So I have one question, if your forum have strong security? In comparison with phpbb. What is difference.

RSS Feed of thread