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
  #32  
Old 09-02-2003, 11:14 PM
obiwan8472 obiwan8472 is offline
 
Join Date: Sep 2002
Location: UK
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #33  
Old 09-03-2003, 01:21 PM
Salazar's Avatar
Salazar Salazar is offline
 
Join Date: May 2003
Location: Austria
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 02:14 AM obiwan8472 said this in Post #31
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.
Reply With Quote
  #34  
Old 09-03-2003, 04:45 PM
obiwan8472 obiwan8472 is offline
 
Join Date: Sep 2002
Location: UK
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:21 PM Salazar said this in Post #32
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.
Reply With Quote
  #35  
Old 09-06-2003, 10:16 PM
\ \ - Speedy - / /'s Avatar
\ \ - Speedy - / / \ \ - Speedy - / / is offline
 
Join Date: Nov 2001
Location: Speedy's World
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #36  
Old 09-21-2003, 03:19 PM
obiwan8472 obiwan8472 is offline
 
Join Date: Sep 2002
Location: UK
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by \ \ - Speedy - / /
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
Reply With Quote
  #37  
Old 10-07-2003, 10:49 PM
obiwan8472 obiwan8472 is offline
 
Join Date: Sep 2002
Location: UK
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #38  
Old 10-10-2003, 01:47 AM
brownafroduck brownafroduck is offline
 
Join Date: Oct 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
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?
Reply With Quote
  #39  
Old 10-10-2003, 02:01 AM
VeoMorphine VeoMorphine is offline
 
Join Date: Nov 2002
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 10-10-2003, 02:04 AM
brownafroduck brownafroduck is offline
 
Join Date: Oct 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the idea. Let us know if you do take it on! I'd love to use it.
Reply With Quote
  #41  
Old 10-31-2003, 04:31 PM
obiwan8472 obiwan8472 is offline
 
Join Date: Sep 2002
Location: UK
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any luck?
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 11:37 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.04911 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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