vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Registration Quiz To Determine Usergroup v1.0 (https://vborg.vbsupport.ru/showthread.php?t=56061)

g-force2k2 08-09-2003 10:00 PM

Registration Quiz To Determine Usergroup v1.0
 
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...

Brad 08-10-2003 04:45 AM

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


All times are GMT. The time now is 12:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02677 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete