vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Inferno Quiz v2.1 (https://vborg.vbsupport.ru/showthread.php?t=80780)

mtha 05-07-2005 05:08 PM

Quote:

Originally Posted by Paul M
3. Add the ability in ACP to edit (moderate) peoples answers and re-submit.

4. Add the ability in ACP to delete a persons quiz submission.

well, the code doesnt look very clean in vB standards to me, it might not be optimized much, but the function should work.

you are also able to set which groups (groupid) or users (userid) allowed to edit answers (set in top part of the admin_quiz.php file).

mtha 05-08-2005 04:46 AM

more things to consider:

in ACP:
- display only questions for one quiz, if you have many quizes, and many questions in each, you dont want to display ALL questions for all quizes though.

- Add new question for THAT currently working quiz (preselect the current quiz)

I would also add a "start date" for a record, so people will know when some quiz start/end

mtha 05-09-2005 08:41 PM

Quote:

Originally Posted by Paul M
6. For timed quizes, check if a user has javascript enabled and prevent them taking part if not (otherwise they can bypass the timer simply by disabling JS).

or maybe adding two time stamp, one when you start the test, one when you finish the test. I'd like to keep this information for references

Paul M 05-10-2005 06:41 PM

Quote:

Originally Posted by mtha
well, the code doesnt look very clean in vB standards to me, it might not be optimized much, but the function should work.

It all seems to work fine here, Thanks.

mtha 05-10-2005 10:05 PM

Quote:

Originally Posted by mtha
or maybe adding two time stamp, one when you start the test, one when you finish the test. I'd like to keep this information for references

i am adding the timestamps for my own need :D


demo ...

mtha 05-10-2005 10:49 PM

Quote:

$s_name = trim(addslashes($s_name));

$DB->query("update ".TABLE_PREFIX."quiz set s_name='{$s_name}',s_state={$s_state} where sid='{$quiz['sid']}'");
Zero, there's some part in admin_quiz.php using s_name, but this field doesnt exist in the table. need some clean up?

mpadc 05-11-2005 09:30 AM

Great Stuff!

One sugestion how bout like displaying a league table of users

i.e

like displaying it like a league table

Username Average score No of Quiz taken Total Score

Zero Tolerance 05-11-2005 07:53 PM

Quote:

Originally Posted by mtha
Zero, there's some part in admin_quiz.php using s_name, but this field doesnt exist in the table. need some clean up?

Very true - that is obsolete code, as the engine redirect function is called first - which after execution calls exit, stopping any other php from being processed, i'll make sure it's removed from v2, since it's useless.

- Zero Tolerance

Zero Tolerance 05-12-2005 04:12 AM

- Bump -

Okay, i've finally got back on track and am ontop of things at the current moment - with that in mind i have started creating v2 of this system.

Planned Features
  • Ability To Import/Export Quiz's Via ACP
    • The system will export data into .xml format, allowing distribution of the XML file to others to 'share' quiz's.
    • Current Status: Pending
  • Quiz Results Moderation
    • Ability to edit/delete any submissions from members. Upon modification - user is notified of this and is shown the new results.
    • Current Status: Pending
  • JS Detection
    • The system will attempt to detect if JS is activated before allowing a user to proceed to a timed quiz. (This will not be fool proof)
    • Current Status: Completed
  • Part-Answer System
    • Text input answers will allow you to enable/disable the part answer system, this is recommended for 'one' (1) word answers. An example would be:
      Users Answer: it is london
      Actual Answer: London
      With 'Part-Answer' enabled on that question, the answer would be correct. This will allow more fluxuation, and correct a lot of answers which are not 'exact' but 'correct'.
    • Current Status: Completed
  • User Quiz Submissions
    • You may specify which usergroups can submit their own quiz's
    • Administrators have to allow submissions before they show
    • Current Status: Pending
  • Quiz Submission Spam Protection
    • Specify if a user can only submit 1 quiz every X hours, to prevent spam. (Only applies if usergroups are allowed to submit quiz's)
    • Current Status: Pending
  • Quiz Descriptions
    • Displayed on the page before starting the quiz
    • Current Status: Completed
  • Improved Visualization Of Questions Control
    • To cut down on long page displays - the system adds a expand/collapse system into all the quiz's, upon expanding the corresponding questions for that quiz appear, and vice versa.
    • Current Status: Completed
  • Overall Leader Board Statistics & Individual Leader Board Statistics
    • Overall Leader Board - Shows top X users with best average score (Username,# Of Quiz's Taken,Average Score)
    • Individual Leader Board - Shows top X users with the best score for a specific quiz (Username,Score)
    • Current Status: Pending
  • Use BBCode Within Quiz Questions
    • Enables admins to use bbcode formatting for quiz questions
    • Current Status: Completed
Hope to have this out very soon :)

- Zero Tolerance

mtha 05-12-2005 05:35 AM

Quote:

Originally Posted by Zero Tolerance
- Bump -
Okay, i've finally got back on track and am ontop of things at the current moment - with that in mind i have started creating v2 of this system.

wow, great, i am waiting for the new features.


Quote:

  • Improved Visualization Of Questions Control
    • To cut down on long page displays - the system adds a expand/collapse system into all the quiz's, upon expanding the corresponding questions for that quiz appear, and vice versa.
    • Current Status: Completed

It'd be great if administrator can format quiz questions too, so some important words in the question can be underlined, bolded, or colored somehow


It'd be great if you could consider adding quiz start_time and end_time in the result table too, so you can know when someone is taking the quiz (and when he finish it)
it's also a tool for admin to check if someone do the test unreasonably long or short.

[sql]
ALTER TABLE `quiz_results` ADD `r_start_time` INT( 10 ) NOT NULL;
ALTER TABLE `quiz_results` ADD `r_end_time` INT( 10 ) NOT NULL;
[/sql]

my cumtomized version is attached, (if you dont mind)


All times are GMT. The time now is 01:44 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.01301 seconds
  • Memory Usage 1,751KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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