Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Registration Quiz To Determine Usergroup v1.0 Details »»
Registration Quiz To Determine Usergroup v1.0
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-09-2003 Last Update: Never Installs: 7
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-10-2003, 03:05 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[Admin Control Panel]
Screenshot of Modifying Quiz Questions
Reply With Quote
  #3  
Old 08-10-2003, 03:06 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[Admin Control Panel]
Screenshot of Modifying A Quiz Outcome To Determine A Usergroup
Reply With Quote
  #4  
Old 08-10-2003, 03:08 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[Admin Control Panel]
View of Vbulletin Settings > Registration Settings > Ability To Turn On & Off Register Quiz
Reply With Quote
  #5  
Old 08-10-2003, 03:09 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot of the Quiz Interface On Registration Page
Reply With Quote
  #6  
Old 08-10-2003, 04:44 AM
Hialls's Avatar
Hialls Hialls is offline
 
Join Date: Jul 2002
Location: Reading, England
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lovely hack ill test it out tonight, just need to think of some questions to ask...
Reply With Quote
  #7  
Old 08-10-2003, 04:45 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 08-10-2003, 06:53 AM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good, this could be used on some Harry Potter boards.

Well Done
Reply With Quote
  #9  
Old 08-10-2003, 08:21 AM
Salazar's Avatar
Salazar Salazar is offline
 
Join Date: May 2003
Location: Austria
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are the BEST g-force2k2!

Thank you SO much!
Reply With Quote
  #10  
Old 08-10-2003, 10:18 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04482 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete