Registration Quiz
by Milad on Jan.01, 2009, under Hacks & Modifications
Nik asked for a hack that examines the knowledge of guests who’s trying to register at his forum. the main reason is to make sure that the new members are familiar with the website purpose.
Mainly, he wanted to show 4 questions from overall of 8 questions rotated randomly. but I thought it could be better, so I built the hack to accept unlimited number of questions. still showing 4 of them randomly.
Here is the adding question page, the editing page has the same look too:
Also the main page looks like this:
When a guest access the registration page, he will have to solve a quiz of 4 questions, all answers must be correct, the quiz looks like this:
The questions are rotated randomly on every new quiz, even the answers are randomized!
If the guest failed to solve the quiz, he will face this error message:
And if she / he failed X number of attempts, he will not be able to take the quiz or register again, and will face this error message:
The X number of attempts can be set in the AdminCP settings:
One hour ago, I received an email from Nik stating that there is a bug where users can register multiple accounts once they pass the quiz, a newer version has been supplied within 24 minutes since the moment the email had been sent. luckily, I was online.
The final result is a satisfied client, will come again.


January 30th, 2009 on 22:32
Very interesting. I may need something similar in the near future.