View Full Version : Registration Quiz To Determine Usergroup v1.0
g-force2k2
08-09-2003, 10:00 PM
Well its been a while since i've released a hack and i've decided to come back to vbulletin.org and share some work :)
regardless i don't remember the users that inspired me to create this hack but i know a couple of members were asking for a hack that could produce this kind of results ;)
With this hack i try to bring an easy installation as it should take no longer then a few minutes... and with an interface that will make user creation and edits easy...
for instance in order to create a quiz outcome the usergroup must exist or it won't be a selecteable option... and no fields can be left empty, the only way around this is database alteration...
hopefully to create a more enjoyable hack for all...
## What This Hack Does For You
Allows For A User Quiz During Registration to Determine A User's Usergroup
( Warning: Do Not Use This Hack If You Wish To Validate Email Addresses or for Coppa User Purposes because it does override both registration features. )
## Features
Optimizable Register Quiz Admin Panel
- Create Questions & Answers with Point Values
- Create Outcomes To Determine Usergroup Based Upon the Total of Points Values
## Files to Upload (2)
upload regquizadmin.php to the admin directory
upload regquizinstall.php to the admin directory
## File Modification (3)
- register.php (2)
- admin/index.php (1)
- View Instructions Below For Further Details
## Template Modification (2)
- registeradult template (1)
- registercoppa template
## To Install
upload regquizinstall.php to the admin directory and run it in the browser
( ie: yourforumurl/admin/regquizinstall.php )
- Automatically runs queries and inserts templates
Now if you don't use either coppa or email validation then this hack can be a good experience to further customize which users can view what and... well the ideas are endless...
for example you can create groups that can view certain forums using access masks and customize a quiz to determine which group they will ultimately belong to upon registration...
well zip includes all files and screenshots i will also attach screenshots below for users that want to see previews before hand...
[Edit]This Has Been Tested & Installed On vbulletin 2.2.9 but i don't see why this hack shouldn't work for any vb 2.x version
Enjoy :)
g-force2k2
g-force2k2
08-10-2003, 03:05 AM
[Admin Control Panel]
Screenshot of Modifying Quiz Questions
g-force2k2
08-10-2003, 03:06 AM
[Admin Control Panel]
Screenshot of Modifying A Quiz Outcome To Determine A Usergroup
g-force2k2
08-10-2003, 03:08 AM
[Admin Control Panel]
View of Vbulletin Settings > Registration Settings > Ability To Turn On & Off Register Quiz
g-force2k2
08-10-2003, 03:09 AM
Screenshot of the Quiz Interface On Registration Page
Hialls
08-10-2003, 04:44 AM
lovely hack ill test it out tonight, just need to think of some questions to ask...
Well done, I know this hack is going to make alot of people happy as its been requested alot. I wont use it personally but it is a great hack. :)
Its good to see you again g-force :)
assassingod
08-10-2003, 06:53 AM
Very good, this could be used on some Harry Potter boards.
Well Done:)
Salazar
08-10-2003, 08:21 AM
You are the BEST g-force2k2!
Thank you SO much! http://www.hogwarts-forum.de/images/smilies/fan.gif
Dean C
08-10-2003, 10:18 AM
It's great to see you back buddy :)
Might want to make it so it excludes the usergroupid 6 usergroup by default. No-one would want users to be automatically updated to admins :)
Logician
08-10-2003, 10:51 AM
pal great to see you are back and great to see a hack of yours again.. :)
VeoMorphine
08-10-2003, 02:50 PM
This is a great hack. And it would be VERY useful to me. The only problem that is keeping me from using it is:
( Warning: Do Not Use This Hack If You Wish To Validate Email Addresses or for Coppa User Purposes because it does override both registration features. )
If you could find a work around i would use this 100%
obiwan8472
08-10-2003, 05:11 PM
Wooohoo this is great. I was trying something similar myself, but failed. :(
Great hack man! Thanks
Link14716
08-10-2003, 10:06 PM
In 2.3.0 and up, I'm pretty sure that a workaround for e-mail validation would be simple, not much harder in versions before. (I think.)
Nice hack, although I won't use it as I am on vB3 and I don't feel like converting it. ;)
Dakkon
08-11-2003, 04:51 AM
as much as I guess.. g-force2k2, check my PM that I sent you yesterday or so.
As usual, excellent and useful hack. Glad that you come back!
Zachery
08-11-2003, 06:39 AM
ive been asking this abit, any chance youll convert it for vb3?
obiwan8472
08-11-2003, 02:05 PM
An idea, is it possible to put the quiz on a seperate page instead of at teh bottom of the registration page? Also is it possible to make optional? I got one member who refuses to take no part in quizs.
And for existing members to do the quiz too?
thanx!
the real questions now are, how can you quiz to determine good users from troll users (as we call them on our site) from the registration.. interesting
alkatraz
08-13-2003, 01:06 AM
what a great idea!!!
im not sure how i'd incorporate it... i'll have to do some thinking
maybe I could use it as a way tagging members as beginners and advanced
obiwan8472
08-16-2003, 02:12 PM
just wondering how this is goin? any way to get it workin with validatin emails?
obiwan8472
08-20-2003, 10:35 PM
Oh it comes up with an error if someone does not fill in the quiz. any fix?
AmericanWoman
08-20-2003, 11:07 PM
This is an awesome idea, and SO CLOSE to what I'd like to implement for our users (an actual portal where they could choose which forums they want to see).
Since I've been waiting for vb3 for, oh, months now, I might as well give up the ghost and go ahead and install it.
obiwan8472
08-23-2003, 02:36 PM
Hi, wondering if someone could help me.
I want to incorpate this hack into my board, but want existing members to goto the quiz page and do the quiz to be sorted. once they have done the quiz, they can not do it again.
Any ideas on how to do that?
An idea to overcome the email verification problem: make the user take the test upon verifying their email address... ;)
obiwan8472
08-24-2003, 11:42 AM
^^ thats a good idea actually!
now all i gotta do is figure out how to let already registered members to do the quiz.
obiwan8472
08-26-2003, 06:23 PM
can someone explain how i can get existing members to take the quiz and once they have done, they are not allowed again? i have tried, but cannot figure it out! :(
thanx
sh-demon
08-29-2003, 01:54 PM
I run a clan forum and would like something like this for my existing members. Is there any way to modify this hack so that it uses its own page and not the registration page. I don't want to go through all the members and change their user group one at a time. It would be great if this hack worked with the clan hack and checked the password field that the clan hack created and if a valid password is found then it will assign them to the user group specified. I could really use a hack like that. If anyone knows a way to do this please let me know i would appreciate it greatly.
bandersen
08-29-2003, 02:04 PM
I could be interested in that too......
Today at 04:54 PM sh-demon said this in Post #27 (https://vborg.vbsupport.ru/showthread.php?postid=429495#post429495)
I run a clan forum and would like something like this for my existing members. Is there any way to modify this hack so that it uses its own page and not the registration page. I don't want to go through all the members and change their user group one at a time. It would be great if this hack worked with the clan hack and checked the password field that the clan hack created and if a valid password is found then it will assign them to the user group specified. I could really use a hack like that. If anyone knows a way to do this please let me know i would appreciate it greatly.
obiwan8472
08-30-2003, 12:51 PM
same here ^^^^
obiwan8472
08-31-2003, 10:28 PM
I had a fiddle with it, to try and it to appear on a seperate page, but nothing. Can anyone please help?
Theres a pint in it for you :D
obiwan8472
09-02-2003, 11:14 PM
OK, I copied all the code, and put it into a seperate PHP page, but it didn't work. darn it.
Seems support for this hack is low :(
Salazar
09-03-2003, 01:21 PM
Today at 02:14 AM obiwan8472 said this in Post #31 (https://vborg.vbsupport.ru/showthread.php?postid=430842#post430842)
OK, I copied all the code, and put it into a seperate PHP page, but it didn't work. darn it.
Of course it didn't work. It requires more than copying the code into a seperate php file.
By the way, you cannot expect the hacker to adapt the code especially for your needs. You can ask for it, yes, but demanding it is not a good idea.
obiwan8472
09-03-2003, 04:45 PM
Today at 03:21 PM Salazar said this in Post #32 (https://vborg.vbsupport.ru/showthread.php?postid=430967#post430967)
Of course it didn't work. It requires more than copying the code into a seperate php file.
By the way, you cannot expect the hacker to adapt the code especially for your needs. You can ask for it, yes, but demanding it is not a good idea.
Sorry if I came across as if i was demanding. I was merely thinking it would be a good idea. As there isn't much support for this hack, I decided to see if it could be adapted. But I was wrong.
Apologies to anyone. I just thought I could help out.
\ \ - Speedy - / /
09-06-2003, 10:16 PM
How would we do this, with the Harry Potter idea? like .. instead of points it would be 4 differnt outcomes? (the houses) I mean with just number of points it would be very hard, would anyone know how to do this or no?
- Speedy
obiwan8472
09-21-2003, 03:19 PM
How would we do this, with the Harry Potter idea? like .. instead of points it would be 4 differnt outcomes? (the houses) I mean with just number of points it would be very hard, would anyone know how to do this or no?
- Speedy
Not too sure what you mean.. but the hack uses a point system, if you answer 1 question then you can get 3 points, or 2 points or 1 point and then its all added up to determine which group to be put in.
I would use this, but can't get it to work for other members. Only works for new members :(
obiwan8472
10-07-2003, 10:49 PM
A little bump just incase anyone else is interested in this like I am.
I can not figure out how to do it at all. :(
brownafroduck
10-10-2003, 01:47 AM
Nice hack, although I won't use it as I am on vB3 and I don't feel like converting it. ;)
How much work would that take?
VeoMorphine
10-10-2003, 02:01 AM
I might take it on.
My idea is to make it seporate. Make the defalt usergroup now able to do ANYTHING but take the quiz and the defalt usergroup will be the only ones allow to take it. After they are registered and the email is confirmed. They take the quiz and the usergroup change happens. Then everyone is happy.
brownafroduck
10-10-2003, 02:04 AM
I like the idea. ;) Let us know if you do take it on! I'd love to use it.
obiwan8472
10-31-2003, 04:31 PM
Any luck?
midnightz
11-10-2003, 12:04 PM
This is a great hack. And it would be VERY useful to me. The only problem that is keeping me from using it is:
If you could find a work around i would use this 100%
Cool, I found this finally, but I agree I would like to validate the emails and coppa as well. If needed i will pay somebody for an adjustment to this hack to work.
thanks
VirtualHogwarts
11-29-2003, 07:07 PM
I am guessing this hack is totaly out of suport, but I would like this to use for a Hogwarts website, does any one have any ideas to if it could be used to like Speedy was saying? ... 4 Houses and each house had a vairble.
So if question one was
You find a wallet on the ground what do you do
A - Reutn the wallet but keep the money (Ravenclaw)
B - Keep the money and the wallet (Slythern)
C - Return the wallet - Gryfendor
D - Leave the wallet for someone else (Huffupuf)
its just an example but I think I expliaed it better then Speedy.
Any ideas?
gracye
11-06-2005, 05:34 PM
I installed this hack and I can't create a quiz. It is just a blank page! help!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.