Milad's vBulletin Services

Registration Quiz

by 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:

Add Question

Add Question

Also the main page looks like this:

Main Page

Main Page

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:

Registration Quiz

Registration Quiz

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:

Error message on failure!

Error message on failure!

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:

Final failure

Final failure

The X number of attempts can be set in the AdminCP settings:

Number Of Allowed Quiz Failures

Number Of Allowed Quiz Failures

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.

:, ,
1 comment for this entry:
  1. Alfa1

    Very interesting. I may need something similar in the near future.

Leave a Reply

 

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!